endaq.ide.measurement
¶
The module endaq.ide.measurement
provides an abstract representation of measurement types for
easily retrieving specific data from .ide
files. Several functions in endaq.ide
accept
combinations of MeasurementType
constants for filtering datasets by sensor type.
Measurement types are represented by a set of singleton instances of MeasurementType
.
import endaq.ide
from endaq.ide.measurement import *
doc = endaq.ide.get_doc("https://info.endaq.com/hubfs/data/surgical-instrument.ide")
endaq.ide.get_channels(doc, ACCELERATION)
endaq.ide.get_channels(doc, TEMPERATURE+PRESSURE)
Strings may also be used, either in combination with or instead of, the MeasurementType
instances.
The strings can be abbreviated, but no shorter than three characters.
endaq.ide.get_channels(doc, "acceleration")
endaq.ide.get_channels(doc, "accel")
endaq.ide.get_channels(doc, ACCELERATION+"temp")
- endaq.ide.measurement.ACCELERATION = <MeasurementType: Acceleration>¶
Marker object for filtering channels with acceleration data
- endaq.ide.measurement.ANY = <MeasurementType: Any/all>¶
Marker object for matching any/all measurement types
- endaq.ide.measurement.AUDIO = <MeasurementType: Audio>¶
Marker object for filtering channels with sound level data
- endaq.ide.measurement.HUMIDITY = <MeasurementType: Relative Humidity>¶
Marker object for filtering channels with (relative) humidity data
- endaq.ide.measurement.LIGHT = <MeasurementType: Light>¶
Marker object for filtering channels with light intensity data
- endaq.ide.measurement.LOCATION = <MeasurementType: Location>¶
Marker object for filtering channels with location data
- endaq.ide.measurement.ORIENTATION = <MeasurementType: Orientation>¶
Marker object for filtering channels with rotation/orientation data
- endaq.ide.measurement.PRESSURE = <MeasurementType: Pressure>¶
Marker object for filtering channels with air pressure data
- endaq.ide.measurement.ROTATION = <MeasurementType: Rotation>¶
Marker object for filtering channels with angular change rate data
- endaq.ide.measurement.SPEED = <MeasurementType: Speed>¶
Marker object for filtering channels with rate-of-speed data
- endaq.ide.measurement.TEMPERATURE = <MeasurementType: Temperature>¶
Marker object for filtering channels with temperature data
- endaq.ide.measurement.TIME = <MeasurementType: Time>¶
Marker object for filtering channels with time data