OceanDirectLighthouse 3.1.3
OceanDirect Lighthouse Python API
|
Python wrapper for C-structure, SpectrumWithMetadata. More...
Public Member Functions | |
__init__ (self, int spectraLength) | |
list[float] | getSpectra (self) |
Public Attributes | |
buffer = cast(spectraBuffer, POINTER(c_float)) | |
bufferLength = c_size_t(spectraLength) | |
tickCount = c_uint64(0) | |
Static Protected Attributes | |
list | _fields_ |
Python wrapper for C-structure, SpectrumWithMetadata.
This is use internally by the wrapper. NOTE: The field order and type must match those of the C-structure we defined otherwise python will throw a runtime error. User must not alter this definition.
Definition at line 16 of file LighthouseTypes.py.
Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.__init__ | ( | self, | |
int | spectraLength ) |
Definition at line 28 of file LighthouseTypes.py.
list[float] Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.getSpectra | ( | self | ) |
Definition at line 35 of file LighthouseTypes.py.
|
staticprotected |
Definition at line 24 of file LighthouseTypes.py.
Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.buffer = cast(spectraBuffer, POINTER(c_float)) |
Definition at line 31 of file LighthouseTypes.py.
Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.bufferLength = c_size_t(spectraLength) |
Definition at line 32 of file LighthouseTypes.py.
Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.tickCount = c_uint64(0) |
Definition at line 33 of file LighthouseTypes.py.