Measured Data Format blocks parser for version 3.x
Created on Thu Dec 9 12:57:28 2014
Bases: dict
mdf file info class version 3.x MDFINFO is a class information about an MDF (Measure Data Format) file Based on following specification http://powertrainnvh.com/nvh/MDFspecificationv03.pdf
Notes
mdfinfo(FILENAME) contains a dict of structures, for each data group, containing key information about all channels in each group. FILENAME is a string that specifies the name of the MDF file. General dictionary structure is the following
Attributes
filterChannelNames | (bool, optional) flag to filter long channel names including module names separated by a ‘.’ |
fileName | (str) name of file |
Methods
This function returns all the predefined formats for the different blocks in the MDF file
Parameters: | block : str
version : int
|
---|---|
Returns: | nested list of str and int describing structure of block to be used by mdfblockread3 method |
reads data, channel group and channel blocks to list channel names
Returns: | list of channel names |
---|
Attributes
fileName | (str) file name |
Extract block of data from MDF file in original data types. Returns a dictionary with keys specified in data structure blockFormat
Parameters: | blockFormat : nested list
fid : float
pointer : int
removeTrailing0 : bool, optional
|
---|---|
Returns: | Block content in a dict |
read all file blocks except data
Parameters: | fid : float
|
---|