49 Commits

Author SHA1 Message Date
Mario Fink
69f5e5496b * fix typo in preprocessor flag
* executable --help: provide full repository URL
2021-07-02 13:33:05 +02:00
Mario Fink
234876c5a9 * cython/*_imc_termite.*: introduce both print_channel/print_channels
methods featuring csv delimiter option
* imc_raw.hpp: add print_channel()
* python/{example.py,usage.py}: adjust to existing sample file names,
  add print_channel() example
* src/main.cpp: add --delimiter option, additional CLI option checks
2021-06-28 16:26:07 +02:00
Mario Fink
bafc018566 CLI version: add option for delimiter token of csv output 2021-06-28 12:51:09 +02:00
e7094d0125 * py_imc_termite.pyx: remove json loads parse_float option
* imc_raw.hpp: catch empty/invalid file to avoid seg fault
2021-05-02 19:34:08 +02:00
133279258f README: installation + usage 2021-02-12 12:14:51 +01:00
dd78b37290 cython setup imc_termite pytho module 2021-02-12 11:30:16 +01:00
40a922893d CLI: fix options vs. argc handling 2021-02-12 09:29:55 +01:00
3948bfeac6 fix/improve printing and CLI 2021-02-11 19:54:09 +01:00
0107e367c4 finished conversion + CLI 2021-02-11 19:21:26 +01:00
3afa7fe345 channel: add origin NO 2021-02-11 17:21:39 +01:00
acd55194a5 imc_raw + imc_channels: channel extraction from blocks and environment 2021-02-11 15:49:11 +01:00
f4ecf48218 start group - channel - component - buffer association 2021-02-10 20:01:11 +01:00
9bac0f1063 * list specific blocks
* key comparison operator
* imc::object: fix timestamp, fix analog vs. digital index
* imc_raw: convert datatype
2021-02-10 18:17:54 +01:00
cfca5310ef remove old (makefile + main.cpp) 2021-02-10 15:38:43 +01:00
eb2c49549a integrate imc::object into parsing workflow 2021-02-10 11:08:08 +01:00
4f3e816dbf wrapper for imc::object, include imc::object in imc::block 2021-02-09 20:57:44 +01:00
e952764e4f reduce computational complexity 2021-02-09 18:11:06 +01:00
c918746d29 add examples from IMC documentation 2021-02-09 15:06:55 +01:00
cb8365a897 implement imcdatatype 2021-02-08 17:21:37 +01:00
cf6f91a324 extract all block/parameters data 2021-02-08 16:22:28 +01:00
3c91583ede adjust to new revision, main.cpp fix help message typo 2021-02-08 10:27:20 +01:00
584243f466 full imc raw format revision 2021-02-05 19:45:33 +01:00
Mario Fink
f99c37e6dd raweat.hpp: introduce error queue, find_markers: check for/consider corrupted markers 2020-10-14 15:30:46 +02:00
Mario Fink
043784d278 * rawmerge.hpp: generalize/fix condition for consistent timeseries
* introduce propagation of C++ exceptions to Cython/Python
* convert all cout/cerr output to exceptions
* Cython: introduce separate 'do_conversion' => avoid constructor to
trigger conversion
2020-09-18 18:43:25 +02:00
Mario Fink
0bd96a1426 fix bugs in lib/rawmerge.hpp: merge_channels(...) and improve example.py
- raweat.hpp: find_markers(): properly (re)adjust valid_ flag when doing multiple conversion
- rawmerge.hpp: improve logging, merge_channels(): add condition to avoid range error in vector
- example.py: obtain return flag from add_channel(), write csv output from parquet table
- main.cpp: return to pure raw_eater test version
2020-08-12 11:55:38 +02:00
Mario Fink
9bbbada6c9 - adjust example main.cpp for test of rawmerge.hpp
- add getter methods including get_num_channels in rawmerge.hpp
2020-08-11 16:07:48 +02:00
Mario Fink
1ee05c03a2 rawmerge.hpp: start implementation of merge 2020-08-10 17:29:49 +02:00
Mario Fink
7316d59c2c - add cython .cpp files to .gitignore
- raweat.hpp: add empty constructor and introduce "set_file"
- rawmerge.hpp: add initial channel and write_table method
- add rawmeat example to pyt/example.py
- add raw_merger.hpp to main.cpp
2020-08-10 14:54:15 +02:00
Mario Fink
f8dcc6493f initialize new cython module raw_meat 2020-08-10 12:03:35 +02:00
3618ed9ee8 -> correction write_table vs. write_data in main.cpp
-> container build of pyarrow (i.a. for armv7l build)
2020-08-05 11:32:02 +02:00
Mario Fink
6b3aac87fe show found markers, hex::show: include last incomplete line 2020-07-29 15:33:53 +02:00
31e2d7a82e offer multiple csv-like output formats 2020-07-24 12:33:56 +02:00
9c1e9d1468 fix conversion of with CP marker : Zahlenformat = 11 (2-Byte Word digital) 2020-07-03 17:55:59 +02:00
2dcd67c194 makefile: fix some paths/dependencies and setup + gitignore 2020-06-22 10:00:44 +02:00
8b0e4a995e eatall: convert set of raw file with unified time scale, bug fixed 2020-02-18 10:43:41 +01:00
Mario Fink
494c0bc6b1 add extension to convert and temporal unify multiple raw files with different measruemtn frequencies. to BE DEBUGGED 2020-02-17 17:24:06 +00:00
Mario Fink
fe5aae4e83 fixed bug of converting twice, added asserts to avoid double conversion 2020-02-17 14:08:35 +00:00
Mario Fink
a08fab03ba added cython exension 2020-02-17 13:10:52 +00:00
Mario Fink
9a588570cc added help message and usage to executable 2020-02-14 08:30:12 +00:00
Mario Fink
438f96d17b added check for correct file type, remove all logs 2020-02-13 10:15:38 +00:00
Mario Fink
4a64f3a0e5 check markers/segments before conversion, clean up 2020-02-13 08:42:24 +00:00
Mario Fink
60ff91ee65 preliminary final with template datatype converter 2020-02-12 16:52:17 +00:00
Mario Fink
68378ef8fa read and parse all segment marker elements and start distinction between datatype based on header info 2020-02-12 11:54:25 +00:00
Mario Fink
56438bb967 trying to adapt to weird 16bbit encoding of raws 2020-02-11 16:04:04 +00:00
Mario Fink
ccf04c42f7 clean main.cpp 2020-02-11 11:14:11 +01:00
Mario Fink
24c7aa4846 integrated support for binary16 = 16bit floating point numbers via half.hpp, IEEE 754-based half-precision floating-point library 2020-02-11 10:57:50 +01:00
Mario Fink
899582b0c1 implemented conversion for 16bit floats 2020-02-10 16:37:20 +00:00
Mario Fink
5b1868daf0 basically done for doubles/float, still to fix starting byte 2020-02-07 14:49:17 +00:00
Mario Fink
20566df9ca initial commit 2020-02-06 16:24:20 +00:00