Closed likunjay1986 closed 3 years ago
a boolean in a PC is an integer of 8bits, same. mdfreader's write method does not embed bits in bytes, so will take a bit more space but will be quicker to read. It is also more complicated to code the writer, so did not do. Regarding the unit, write() method should write units. Could be a bug. It is around line 1339 of mdf3reader.py, you could debug there and understand what is happening but first thing to check is if you can read the units before trying to write them.
No feedback since almost 6 months, closing but do not hesitate to reopen if needed
Python version
python 3.7.0.64
Platform information
Windows7
Numpy version
1.18.5
mdfreader version
3.3
Description
When working with the 'dat' format data recorded by INCA, I find that part of information is lost if I use the mdfreader method 'write'. For example: