PyHelios 0.1.11
Loading...
Searching...
No Matches
ULeafOpticsWrapper.py File Reference

Go to the source code of this file.

Classes

class  pyhelios.wrappers.ULeafOpticsWrapper.ULeafOptics
 Opaque structure for LeafOptics C++ class. More...
 

Namespaces

namespace  pyhelios
 
namespace  pyhelios.wrappers
 
namespace  pyhelios.wrappers.ULeafOpticsWrapper
 

Functions

 pyhelios.wrappers.ULeafOpticsWrapper._check_error (result, func, args)
 Automatic error checking for all leaf optics functions.
 
ctypes.POINTER(ULeafOpticspyhelios.wrappers.ULeafOpticsWrapper.createLeafOptics (ctypes.POINTER(UContext) context)
 Create LeafOptics instance.
 
None pyhelios.wrappers.ULeafOpticsWrapper.destroyLeafOptics (ctypes.POINTER(ULeafOptics) leafoptics)
 Destroy LeafOptics instance.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsRun (ctypes.POINTER(ULeafOptics) leafoptics, List[int] uuids, List[float] properties, str label)
 Run LeafOptics model and assign spectra to primitives.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsRunNoUUIDs (ctypes.POINTER(ULeafOptics) leafoptics, List[float] properties, str label)
 Run LeafOptics model without assigning to primitives.
 
Tuple[List[float], List[float], List[float]] pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetLeafSpectra (ctypes.POINTER(ULeafOptics) leafoptics, List[float] properties)
 Get leaf reflectance and transmittance spectra.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsSetProperties (ctypes.POINTER(ULeafOptics) leafoptics, List[int] uuids, List[float] properties)
 Set leaf optical properties for primitives.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromSpectrum (ctypes.POINTER(ULeafOptics) leafoptics, List[int] uuids)
 Get PROSPECT parameters from reflectivity spectrum for primitives.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromSpectrumSingle (ctypes.POINTER(ULeafOptics) leafoptics, int uuid)
 Get PROSPECT parameters from reflectivity spectrum for a single primitive.
 
List[float] pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromLibrary (ctypes.POINTER(ULeafOptics) leafoptics, str species)
 Get leaf optical properties from the built-in species library.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsDisableMessages (ctypes.POINTER(ULeafOptics) leafoptics)
 Disable command-line output messages from LeafOptics.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsEnableMessages (ctypes.POINTER(ULeafOptics) leafoptics)
 Enable command-line output messages from LeafOptics.
 
None pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsOptionalOutputPrimitiveData (ctypes.POINTER(ULeafOptics) leafoptics, str label)
 Selectively output primitive data for specific biochemical properties.
 
bool pyhelios.wrappers.ULeafOpticsWrapper.is_leafoptics_available ()
 Check if LeafOptics functions are available in the current library.
 
 pyhelios.wrappers.ULeafOpticsWrapper.mock_create (*args, **kwargs)
 
 pyhelios.wrappers.ULeafOpticsWrapper.mock_method (*args, **kwargs)
 

Variables

int pyhelios.wrappers.ULeafOpticsWrapper.LEAF_OPTICS_PROPERTIES_COUNT = 9
 
int pyhelios.wrappers.ULeafOpticsWrapper.LEAF_OPTICS_SPECTRAL_POINTS = 2101
 
 pyhelios.wrappers.ULeafOpticsWrapper.argtypes
 
 pyhelios.wrappers.ULeafOpticsWrapper.restype
 
 pyhelios.wrappers.ULeafOpticsWrapper.errcheck
 
bool pyhelios.wrappers.ULeafOpticsWrapper._LEAFOPTICS_FUNCTIONS_AVAILABLE
 
 pyhelios.wrappers.ULeafOpticsWrapper.createLeafOptics = mock_create
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsRun = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsRunNoUUIDs = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetLeafSpectra = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsSetProperties = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromSpectrum = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromSpectrumSingle = mock_method
 
 pyhelios.wrappers.ULeafOpticsWrapper.leafOpticsGetPropertiesFromLibrary = mock_method