Skip to content

Releases: ratal/mdfreader

time handling and merge/concatenation changes

06 Jul 21:26
Compare
Choose a tag to compare
  • Fixed bug swapping bytes order for signed int 8bytes with dataRead module.
  • Time handling improvement: fileMetadata['time'] epoch floating in seconds is commonised for all mdf versions, no more dates as found in mdf version 3. More versatile this way and python datetime module can still be used to extract date if needed.
  • Reworked merge_mdf to cope with heterogeneous data and renamed into concat_mdf
  • Created merge_mdf

Python3.x only

12 Feb 20:10
Compare
Choose a tag to compare
  • Mainly dropping python2.7 support
  • Switched from scipy to hdf5storage requirement for Matlab export with more recent format version 7.3
  • Manipulation methods made compatible to mdf4
    • Adjusted cut method to only cut data groups having same master type
    • Rewrote resample in order to only resample data groups with same master type, added resample_group to resample only one specific data group.
  • Fixed bug for attachment attribute that was empty for attachments and events in case of normal reading (noDataLoading=False)
  • Improved parsing performance for VLSD and unsorted data by off loading heavy computations to cython module

bug fixes

15 Dec 10:49
a10913c
Compare
Choose a tag to compare

Added possibility to write and read channels in column potentially for faster read.
Added half floating and complex types
Last release both compatible python 2.7 and 3.4+
Improved reading speed for SD Blocks (for variable length channels) and unsorted data

Fixed following bugs:
Several issues with VLSD_CG reading
bug when combining reading with no_data_loading and extracting data with raw_data, issue #168 , thanks bbto

bug fixes

27 May 18:54
Compare
Choose a tag to compare

fixed bug with dataRead having not aligned number of bytes.

Pandas related improvement and bug fixes

29 Apr 19:39
Compare
Choose a tag to compare

Added parquet export
Added pandas dataframe export per data group
fixed a bug in dataRead with big endian channels

Refactoring

26 Nov 21:44
Compare
Choose a tag to compare
  • /!\ Major refactoring for more pep8 compliance --> names of classes, methods and arguments have changed
  • Added new method getChannelName4() for mdf4.x to only find mdf channel name (unique key within mdf class inherited from dict) based on name and source path or name (same name can be used in mdf file file but source paths or names shall be different, making it unique). Can be reused then with getChannelData4()
  • Improved xml metadata parsing speed.

Fixed bugs related to
-nBytes calculation
-HL Block in VLSD data
-setup.py and cythonize
-channel by channel array reading implementation in python (fallback of dataRead)
-SD Block read of byte array type

bug fixes

30 Jun 14:01
Compare
Choose a tag to compare
  • fixed bugs in dataRead, missing return in some cases
  • write3 bug with unicode handling of metadata
  • bug in plot with only one raster, wrong parsing of masterChannelList
  • bug in function converting bits into bytes, wrong calculation for small string channel below length 8bytes

Bug fix

14 Jun 19:14
Compare
Choose a tag to compare
  • fixed bit sign issue when reading byte aligned data
  • Made possible install without cython (not advised) while keeping dependency resolution

Bug fixes

03 Jun 11:46
Compare
Choose a tag to compare
  • introduced subplots
  • Improved setup.py robustness when cython not available
  • made available compression writing argument from write
  • resample() robustness improvement : added function to clean data group having master non evenly increasing
  • corrected channel name appending when doublon and SIBlock available
  • added possibility to write arrays in mdf 4
  • fixed bug with CEBlock and mdf3
  • fixed bug reading mdf3 data unaligned
  • fixed bug with channel structures or bus logging and duplicated names

v2.7.5

25 Mar 19:47
Compare
Choose a tag to compare
  • improved write 4 performance and introduced option to compress data
  • rewrote xlsx export
  • handle invalid bits using numpy masked arrays
  • made convert_tables argument available for mdf 3.x
  • added source in channel name when duplicated in file
  • setup will not raise error in case cython is not installed
  • replaced all print by warnings to be able to filter them
  • fixed issues with numpy 1.14