Last active
May 18, 2017 11:29
-
-
Save oliverlee/7cb6317507380b3994b40d25c8c8ea4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [1]: import h5py | |
| In [2]: f = h5py.File('../data/20160107-113037_sensor_data.h5', 'r') | |
| In [3]: def p(x, obj): | |
| ...: try: | |
| ...: attrs = list(obj.attrs.items()) | |
| ...: if attrs: | |
| ...: print(x, attrs) | |
| ...: else: | |
| ...: print(x) | |
| ...: except AttributeError: | |
| ...: print(x) | |
| ...: | |
| In [4]: f.visititems(p) | |
| Annotations [('CLASS', b'TABLE'), ('VERSION', b'3.0'), ('TITLE', b'Annotations'), ('FIELD_0_NAME', b'Time'), ('FIELD_1_NAME', b'Device ID'), ('FIELD_2_NAME', b'Annotation'), ('FIELD_0_FILL', 0), ('FIELD_1_FILL', 0), ('FIELD_2_FILL', b' ')] | |
| SI-002478 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 2968), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002478/ButtonStatus | |
| SI-002478/Calibrated | |
| SI-002478/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002478/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002478/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002478/Calibrated/Orientation | |
| SI-002478/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002478/Filtered | |
| SI-002478/Filtered/Accelerometers | |
| SI-002478/Filtered/Gyroscopes | |
| SI-002478/Filtered/Magnetometers | |
| SI-002478/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002478/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002478/Raw/DataFlags | |
| SI-002478/Raw/Gyroscopes | |
| SI-002478/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002478/Raw/OptData | |
| SI-002478/Raw/Temperature | |
| SI-002478/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002478/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002585 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16051), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002585/ButtonStatus | |
| SI-002585/Calibrated | |
| SI-002585/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002585/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002585/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002585/Calibrated/Orientation | |
| SI-002585/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002585/Filtered | |
| SI-002585/Filtered/Accelerometers | |
| SI-002585/Filtered/Gyroscopes | |
| SI-002585/Filtered/Magnetometers | |
| SI-002585/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002585/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002585/Raw/DataFlags | |
| SI-002585/Raw/Gyroscopes | |
| SI-002585/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002585/Raw/OptData | |
| SI-002585/Raw/Temperature | |
| SI-002585/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002585/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002595 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16056), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002595/ButtonStatus | |
| SI-002595/Calibrated | |
| SI-002595/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002595/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002595/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002595/Calibrated/Orientation | |
| SI-002595/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002595/Filtered | |
| SI-002595/Filtered/Accelerometers | |
| SI-002595/Filtered/Gyroscopes | |
| SI-002595/Filtered/Magnetometers | |
| SI-002595/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002595/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002595/Raw/DataFlags | |
| SI-002595/Raw/Gyroscopes | |
| SI-002595/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002595/Raw/OptData | |
| SI-002595/Raw/Temperature | |
| SI-002595/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002595/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002605 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16118), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002605/ButtonStatus | |
| SI-002605/Calibrated | |
| SI-002605/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002605/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002605/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002605/Calibrated/Orientation | |
| SI-002605/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002605/Filtered | |
| SI-002605/Filtered/Accelerometers | |
| SI-002605/Filtered/Gyroscopes | |
| SI-002605/Filtered/Magnetometers | |
| SI-002605/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002605/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002605/Raw/DataFlags | |
| SI-002605/Raw/Gyroscopes | |
| SI-002605/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002605/Raw/OptData | |
| SI-002605/Raw/Temperature | |
| SI-002605/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002605/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002667 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16162), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002667/ButtonStatus | |
| SI-002667/Calibrated | |
| SI-002667/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002667/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002667/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002667/Calibrated/Orientation | |
| SI-002667/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002667/Filtered | |
| SI-002667/Filtered/Accelerometers | |
| SI-002667/Filtered/Gyroscopes | |
| SI-002667/Filtered/Magnetometers | |
| SI-002667/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002667/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002667/Raw/DataFlags | |
| SI-002667/Raw/Gyroscopes | |
| SI-002667/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002667/Raw/OptData | |
| SI-002667/Raw/Temperature | |
| SI-002667/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002667/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002671 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16130), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002671/ButtonStatus | |
| SI-002671/Calibrated | |
| SI-002671/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002671/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002671/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002671/Calibrated/Orientation | |
| SI-002671/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002671/Filtered | |
| SI-002671/Filtered/Accelerometers | |
| SI-002671/Filtered/Gyroscopes | |
| SI-002671/Filtered/Magnetometers | |
| SI-002671/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002671/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002671/Raw/DataFlags | |
| SI-002671/Raw/Gyroscopes | |
| SI-002671/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002671/Raw/OptData | |
| SI-002671/Raw/Temperature | |
| SI-002671/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002671/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002674 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16126), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002674/ButtonStatus | |
| SI-002674/Calibrated | |
| SI-002674/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002674/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002674/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002674/Calibrated/Orientation | |
| SI-002674/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002674/Filtered | |
| SI-002674/Filtered/Accelerometers | |
| SI-002674/Filtered/Gyroscopes | |
| SI-002674/Filtered/Magnetometers | |
| SI-002674/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002674/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002674/Raw/DataFlags | |
| SI-002674/Raw/Gyroscopes | |
| SI-002674/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002674/Raw/OptData | |
| SI-002674/Raw/Temperature | |
| SI-002674/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002674/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002675 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16147), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002675/ButtonStatus | |
| SI-002675/Calibrated | |
| SI-002675/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002675/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002675/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002675/Calibrated/Orientation | |
| SI-002675/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002675/Filtered | |
| SI-002675/Filtered/Accelerometers | |
| SI-002675/Filtered/Gyroscopes | |
| SI-002675/Filtered/Magnetometers | |
| SI-002675/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002675/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002675/Raw/DataFlags | |
| SI-002675/Raw/Gyroscopes | |
| SI-002675/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002675/Raw/OptData | |
| SI-002675/Raw/Temperature | |
| SI-002675/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002675/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002681 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16129), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002681/ButtonStatus | |
| SI-002681/Calibrated | |
| SI-002681/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002681/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002681/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002681/Calibrated/Orientation | |
| SI-002681/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002681/Filtered | |
| SI-002681/Filtered/Accelerometers | |
| SI-002681/Filtered/Gyroscopes | |
| SI-002681/Filtered/Magnetometers | |
| SI-002681/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002681/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002681/Raw/DataFlags | |
| SI-002681/Raw/Gyroscopes | |
| SI-002681/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002681/Raw/OptData | |
| SI-002681/Raw/Temperature | |
| SI-002681/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002681/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002767 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16141), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002767/ButtonStatus | |
| SI-002767/Calibrated | |
| SI-002767/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002767/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002767/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002767/Calibrated/Orientation | |
| SI-002767/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002767/Filtered | |
| SI-002767/Filtered/Accelerometers | |
| SI-002767/Filtered/Gyroscopes | |
| SI-002767/Filtered/Magnetometers | |
| SI-002767/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002767/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002767/Raw/DataFlags | |
| SI-002767/Raw/Gyroscopes | |
| SI-002767/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002767/Raw/OptData | |
| SI-002767/Raw/Temperature | |
| SI-002767/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002767/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002768 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16180), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([6, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002768/ButtonStatus | |
| SI-002768/Calibrated | |
| SI-002768/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002768/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002768/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002768/Calibrated/Orientation | |
| SI-002768/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002768/Filtered | |
| SI-002768/Filtered/Accelerometers | |
| SI-002768/Filtered/Gyroscopes | |
| SI-002768/Filtered/Magnetometers | |
| SI-002768/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002768/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002768/Raw/DataFlags | |
| SI-002768/Raw/Gyroscopes | |
| SI-002768/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002768/Raw/OptData | |
| SI-002768/Raw/Temperature | |
| SI-002768/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002768/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| SI-002770 [('FilteredDataPopulated', 1), ('SampleRate', 128), ('DecimationFactor', 10), ('ModuleID', 16181), ('TimeGood', 1), ('HardwareID', 1026), ('RecordingMode', b'Synchronized logging'), ('DataMode', b'Logged to monitor'), ('AccelerometersEnabled', 1), ('GyroscopesEnabled', 1), ('MagnetometersEnabled', 1), ('DecimationBypass', 0), ('CalibrationVersion', 6), ('VersionString1', b'APDM Inc.'), ('VersionString2', b'2014-03-05-7af284be1fe0625cbb52e27317e481c6926ecb7a'), ('VersionString3', b''), ('CalibratedDataPopulated', 1), ('LocalTimeOffset', 8797537815552), ('LocalTimeOffsetUnits', b'GMT offset in microseconds'), ('Timezone', b'America/New_York'), ('RawDataPopulated', 1), ('CalibrationData', array([5, 0, 0, ..., 0, 0, 0], dtype=uint8))] | |
| SI-002770/ButtonStatus | |
| SI-002770/Calibrated | |
| SI-002770/Calibrated/Accelerometers [('Units', b'm/s^2'), ('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002770/Calibrated/Gyroscopes [('Units', b'rad/s')] | |
| SI-002770/Calibrated/Magnetometers [('Units', b'microtesla'), ('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002770/Calibrated/Orientation | |
| SI-002770/Calibrated/Temperature [('Units', b'deg C')] | |
| SI-002770/Filtered | |
| SI-002770/Filtered/Accelerometers | |
| SI-002770/Filtered/Gyroscopes | |
| SI-002770/Filtered/Magnetometers | |
| SI-002770/Raw [('RawFileVersion', b'APDM0007')] | |
| SI-002770/Raw/Accelerometers [('Range', b'6g'), ('Gravity', 9.8059999999999992)] | |
| SI-002770/Raw/DataFlags | |
| SI-002770/Raw/Gyroscopes | |
| SI-002770/Raw/Magnetometers [('EarthFieldMagnitude', 53.200000000000003)] | |
| SI-002770/Raw/OptData | |
| SI-002770/Raw/Temperature | |
| SI-002770/SyncValue [('Units', b'1/2560th of a second since 0:00 Jan 1, 1970 UTC')] | |
| SI-002770/Time [('Units', b'Microseconds since 0:00 Jan 1, 1970 UTC')] | |
| In [28]: g = h5py.File('../data/20160107-113037_sensor_data.h5.mat', 'r') | |
| In [34]: g.visititems(p) | |
| #refs# | |
| #refs#/a [('MATLAB_empty', 1), ('MATLAB_class', b'canonical empty')] | |
| data [('MATLAB_class', b'struct'), ('MATLAB_fields', array([array([b't', b'i', b'm', b'e'], | |
| dtype='|S1'), | |
| array([b's', b'p', b'e', b'e', b'd'], | |
| dtype='|S1'), | |
| array([b's', b't', b'e', b'e', b'r', b'_', b'a', b'n', b'g', b'l', b'e'], | |
| dtype='|S1'), | |
| array([b'r', b'o', b'l', b'l', b'_', b'a', b'n', b'g', b'l', b'e'], | |
| dtype='|S1'), | |
| array([b's', b't', b'e', b'e', b'r', b'_', b'r', b'a', b't', b'e'], | |
| dtype='|S1'), | |
| array([b'r', b'o', b'l', b'l', b'_', b'r', b'a', b't', b'e'], | |
| dtype='|S1'), | |
| array([b'y', b'a', b'w', b'_', b'r', b'a', b't', b'e'], | |
| dtype='|S1'), | |
| array([b'b', b'u', b't', b't', b'o', b'n', b'_', b'i', b'n', b'd', b'e', | |
| b'x'], | |
| dtype='|S1')], dtype=object))] | |
| data/button_index [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/roll_angle [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/roll_rate [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/speed [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/steer_angle [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/steer_rate [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/time [('MATLAB_class', b'double'), ('H5PATH', b'/data')] | |
| data/yaw_rate [('MATLAB_class', b'double'), ('H5PATH', b'/data')] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment