@@ -103,9 +103,9 @@ def clean_name(name):
103103
104104class MdfInfo (dict ):
105105 __slots__ = ['fileName' , 'fid' , 'zipfile' , 'mdfversion' , 'filterChannelNames' ]
106- """ MDFINFO is a class gathering information from block headers in a MDF (Measure Data Format) file
107- Structure is nested dicts. Primary key is Block type, then data group, channel group and channel number.
108- Examples of dicts
106+ """ MDFINFO is a class gathering information from block headers in a MDF (Measure Data Format) file.
107+ Structure is nested dicts. Primary key is Block type, then data group, channel group and channel number.
108+ Examples of dicts
109109 - mdfinfo['HDBlock'] header block
110110 - mdfinfo['DGBlock'][dataGroup] Data Group block
111111 - mdfinfo['CGBlock'][dataGroup][channelGroup] Channel Group block
@@ -244,7 +244,6 @@ def _generate_dummy_mdf(self, channel_list=None):
244244
245245
246246class Mdf (Mdf3 , Mdf4 ):
247-
248247 """ Mdf class
249248
250249 Attributes
@@ -346,35 +345,35 @@ def read(self, file_name=None, multi_processed=False, channel_list=None, convert
346345 file name
347346
348347 multi_processed : bool
349- flag to activate multiprocessing of channel data conversion
348+ flag to activate multiprocessing of channel data conversion.
350349
351350 channel_list : list of str, optional
352- list of channel names to be read
351+ list of channel names to be read.
353352 If you use channelList, reading might be much slower but it will save you memory.
354- Can be used to read big files
353+ Can be used to read big files.
355354
356355 convert_after_read : bool, optional
357- flag to convert channel after read, True by default
356+ flag to convert channel after read, True by default.
358357 If you use convertAfterRead by setting it to false, all data from channels will be kept raw,
359- no conversion applied. If many float are stored in file, you can gain from 3 to 4 times memory footprint
360- To calculate value from channel, you can then use method . getChannelData()
358+ no conversion applied. If many float are stored in file, you can gain from 3 to 4 times memory footprint.
359+ To calculate value from channel, you can then use method getChannelData()
361360
362361 filter_channel_names : bool, optional
363362 flag to filter long channel names from its module names separated by '.'
364363
365364 no_data_loading : bool, optional
366- Flag to read only file info but no data to have minimum memory use
365+ Flag to read only file info but no data to have minimum memory use.
367366
368367 compression : bool or str, optional
369- To compress data in memory using blosc or bcolz, takes cpu time
370- if compression = int(1 to 9), uses bcolz for compression
371- if compression = 'blosc', uses blosc for compression
372- Choice given, efficiency depends of data
368+ To compress data in memory using blosc or bcolz, takes cpu time.
369+ if compression = int(1 to 9), uses bcolz for compression.
370+ if compression = 'blosc', uses blosc for compression.
371+ Choice given, efficiency depends of data.
373372
374373 metadata: int, optional, default = 2
375374 Reading metadata has impact on performance, especially for mdf 4.x using xml.
376- 2: minimal metadata reading (mostly channel blocks)
377- 1: used for noDataLoading
375+ 2: minimal metadata reading (mostly channel blocks).
376+ 1: used for noDataLoading.
378377 0: all metadata reading, including Source Information, Attachment, etc..
379378
380379 Notes
0 commit comments