![]() ![]() Compress data in memory with blosc with argument compression.Data will then be converted on the fly by the other functions (plot, export_to., get_channel_data, etc.) but raw data type will remain as in mdf file along with conversion information. Keep raw data as stored in mdf without data type conversion (argument convert_after_read=False).Read only a channel list (argument channel_list =, you can get the file channel list without loading data with mdfinfo). ![]() In the case of big files or lack of memory, you can optionally: You can optionally merge several files into one and even resample all of them. You can also drag-drop channels between columns to tune import list. By right clicking a channel in the interface list, you can plot it. You can launch it with command 'mdfconverter' from shell. User interface in PyQt4 or PyQt5 to convert batch of files is part of package. Graphical interface: mdfconverter (PyQt4 and PyQt5) Or from source cloned from github from instance python setup.py develop Pip package existing: pip install mdfreader Mdfconverter graphical user interface requires PyQt (versions 4 or 5) Installation: However, if cython compilation fails, bitarray becomes required (slower, pure python and maybe not so robust as not so much tested).Įxport requirements (optional): scipy, csv, h5py, hdf5storage, xlwt(3), openpyxl, pandas Reading channels defined by a formula will require sympy.Ĭython is strongly advised and allows to compile dataRead module for reading quickly exotic data (not byte aligned or containing hidden bytes) or only a list of channels. Mdfreader is mostly relying on numpy/scipy/matplotlib and lxml for parsing the metadata in mdf version 4.x files One dataframe per raster.Įvaluated for Windows and Linux platforms (x86 and AMD64) Requirements: Pandas dataframe(s) (only in command line, not in mdfconverter).It allows you to create, convert or modify data, units, description and save it again. Excel 2007/2010 (needs openpyxl, can be also slow with big files).Excel 95 to 2003 (needs xlwt, extremely slooow, be careful about data size).NetCDF file for a compatibility with Uniplot for instance (needs netcdf4, Scientific.IO).It is also possible to export mdf data into: plot one channel, several channels on one graph (list) or several channels on subplots (list of lists).resample channels to one sampling frequency.Mdf object main attribute: masterChannelList, a dict containing a list of channel names per datagroup Mdfreader module methods: conversion: (exist when reading with convertAfterRead=False) dictionary describing how to convert raw data into meaningful/physical data. ![]()
0 Comments
Leave a Reply. |