OceanDirectLighthouse  3.1.1
OceanDirect Lighthouse Python API
Public Member Functions | Public Attributes | List of all members
Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C Class Reference

Python wrapper for C-structure, SpectrumWithMetadata. More...

Inheritance diagram for Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C:

Public Member Functions

def __init__ (self, int spectraLength)
 
list[float] getSpectra (self)
 

Public Attributes

 buffer
 
 bufferLength
 
 tickCount
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.__init__ (   self,
int  spectraLength 
)

Definition at line 28 of file LighthouseTypes.py.

Member Function Documentation

◆ getSpectra()

list[float] Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.getSpectra (   self)

Definition at line 35 of file LighthouseTypes.py.

Member Data Documentation

◆ buffer

Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.buffer

Definition at line 31 of file LighthouseTypes.py.

◆ bufferLength

Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.bufferLength

Definition at line 32 of file LighthouseTypes.py.

◆ tickCount

Python.oceandirect.LighthouseTypes.SpectrumWithMetadata_C.tickCount

Definition at line 33 of file LighthouseTypes.py.