pyrocko.io.tdms_idas
Reader for Silixia iDAS
TDMS files.
Functions
parse_time_stamp (fractions, seconds)
|
Convert time TDMS time representation to datetime fractions -- fractional seconds (2^-64) seconds -- The number of seconds since 1/1/1904 @rtype : datetime.datetime |
type_not_supported (vargin)
|
Function raises a NotImplementedException. |
Classes
TdmsReader (filename)
|
A TDMS file reader object for reading properties and data |
-
type_not_supported(vargin)[source]
Function raises a NotImplementedException.
-
parse_time_stamp(fractions, seconds)[source]
Convert time TDMS time representation to datetime
fractions – fractional seconds (2^-64)
seconds – The number of seconds since 1/1/1904
@rtype : datetime.datetime
-
class TdmsReader(filename)[source]
Bases: object
A TDMS file reader object for reading properties and data
-
get_properties(mapped=False)[source]
Return a dictionary of properties. Read from file only if necessary.
-
get_data(first_ch=0, last_ch=None, first_s=0, last_s=None)[source]
Get a block of data from the TDMS file.
first_ch – The first channel to load
last_ch – The last channel to load
first_s – The first sample to load
last_s – The last sample to load