Datatypes¶
Image¶
- class pyrsktools.datatypes.Image¶
- x¶
X axis list.
- Type:
npt.NDArray
- y¶
Y axis list.
- Type:
npt.NDArray
- channelNames¶
Channel names for the generated data.
- Type:
List[str]
- channelUnits¶
Units associated with each channel.
- Type:
List[str]
- profiles¶
Profile number(s) for data that are generated.
- Type:
Union[int, Collection[int]]
- direction¶
Direction for data that are generated (‘up’ or ‘down’).
- Type:
str
- data¶
Data matrix with dimension in x, y and number of channels.
- Type:
npt.NDArray
- reference¶
Reference channel name.
- Type:
str
- reference_unit¶
Reference channel unit.
- Type:
str
Instrument¶
Deployment¶
- class pyrsktools.datatypes.Deployment¶
- deploymentID¶
Defaults to None.
- Type:
int
- instrumentID¶
Defaults to None.
- Type:
int
- comment¶
Defaults to None.
- Type:
str
- loggerStatus¶
Defaults to None.
- Type:
str
- loggerTimeDrift¶
Defaults to None.
- Type:
str
- timeOfDownload¶
Defaults to None.
- Type:
str
- name¶
Defaults to None.
- Type:
str
- sampleSize¶
Defaults to None.
- Type:
int
- dataStorage¶
Defaults to None.
- Type:
int
- loggerInitialStatus¶
Defaults to None.
- Type:
int
DiagnosticsChannels¶
DiagnosticsData¶
GeoData¶
Channel¶
- class pyrsktools.datatypes.Channel¶
- channelID¶
Defaults to None.
- Type:
int
- shortName¶
Defaults to None.
- Type:
str
- longName¶
Defaults to None.
- Type:
str
- unitsPlainText¶
Defaults to None.
- Type:
str
- longNamePlainText¶
(str): Defaults to None.
- Type:
str
- isMeasured¶
Defaults to None.
- Type:
int
- isDerived¶
Defaults to None.
- Type:
int
- units¶
Defaults to None.
- Type:
str
- label¶
Defaults to “”.
- Type:
str
- feModuleType¶
Defaults to “”.
- Type:
str
- feModuleVersion¶
Defaults to 0.
- Type:
int
- availableGains¶
Defaults to None.
- Type:
str
- channelOrder¶
Defaults to None.
- Type:
int
Epoch¶
Schedule¶
ScheduleInfo¶
WaveInfo¶
ContinuousInfo¶
- class pyrsktools.datatypes.ContinuousInfo¶
Inherits all the fields of
ScheduleInfo.- continuousID¶
Defaults to None.
- Type:
int
- samplingPeriod¶
Defaults to None.
- Type:
int
BurstInfo¶
TideInfo¶
AverageInfo¶
DirectionalInfo¶
- class pyrsktools.datatypes.DirectionalInfo¶
Inherits all the fields of
ScheduleInfo.- directionalID¶
Defaults to None.
- Type:
int
- direction¶
Defaults to None.
- Type:
str
- fastPeriod¶
Defaults to None.
- Type:
int
- slowPeriod¶
Defaults to None.
- Type:
int
- fastThreshold¶
Defaults to None.
- Type:
float
- slowThreshold¶
Defaults to None.
- Type:
float
Power¶
- class pyrsktools.datatypes.Power¶
- deploymentID¶
Defaults to None.
- Type:
int
- internalBatteryType¶
Defaults to 0.
- Type:
int
- externalBatteryType¶
Defaults to 100.
- Type:
int
- internalBatteryCapacity¶
Defaults to 0.0.
- Type:
float
- externalBatteryCapacity¶
Defaults to 0.0.
- Type:
float
- internalEnergyUsed¶
Defaults to 0.0.
- Type:
float
- externalEnergyUsed¶
Defaults to 0.0.
- Type:
float
- e1¶
Defaults to 0.0.
- Type:
float
- p1¶
Defaults to 0.0.
- Type:
float
- p2¶
Defaults to 0.0.
- Type:
float
- p3¶
Defaults to 0.0.
- Type:
float
- powerSupplyPartNumber¶
Defaults to “”.
- Type:
str
- cellCount¶
Defaults to 0.
- Type:
int
Calibration¶
- class pyrsktools.datatypes.Calibration¶
The c, x, and n attributes are dictionaries where each key maps the calibration coefficient number, e.g., 0, 2, 10, etc, to its respective coefficient value. The offset and slope are customer added offset and slope for Gen4 instruments.
Taking the c attributes as an example, suppose we had calibration data with the
c0,c1, andc3coefficients with values10.0,NULL,50.0; thenCalibration.cwould look like:{ 0: 10.0, 1: nan, 3: 50.0, }
- calibrationID¶
Defaults to None.
- Type:
int
- channelOrder¶
Defaults to None.
- Type:
int
- instrumentID¶
Defaults to None
- Type:
int
- type¶
Defaults to None.
- Type:
str
- tstamp¶
Defaults to None.
- Type:
datetime64
- equation¶
Defaults to None.
- Type:
str
- c¶
Dictionary containing c coefficients. Defaults to None.
- Type:
Dict[int, np.floating]
- x¶
Dictionary containing x coefficients. Defaults to None.
- Type:
Dict[int, np.floating]
- n¶
Dictionary containing n coefficients. Defaults to None.
- Type:
Dict[int, np.integer]
- offset¶
Defaults to None.
- Type:
np.floating
- slope¶
Defaults to None.
- Type:
np.floating
Parameter¶
ParameterKey¶
AppSetting¶
Range¶
InstrumentSensor¶
Region¶
- class pyrsktools.datatypes.Region¶
- datasetID¶
Defaults to None.
- Type:
int
- regionID¶
Defaults to None.
- Type:
int
- type¶
Defaults to None.
- Type:
str
- tstamp1¶
Defaults to None.
- Type:
datetime64
- tstamp2¶
Defaults to None.
- Type:
datetime64
- label¶
Defaults to None.
- Type:
str
- description¶
Defaults to None.
- Type:
str
- collapsed¶
Defaults to False.
- Type:
bool