85 Commits

Author SHA1 Message Date
89b7f045a4 * fix channel dependent buffer offset, issue #15
* add python example multichannel.py
2023-02-17 11:13:45 +01:00
ef0bb7550d add multichannel support for multiple channels referring to same CS block, issue #15 2023-02-11 18:34:25 +01:00
bd9135820a add non-critical key NT version 2, issue #16 2022-12-01 00:29:15 +01:00
028deaa2ce * deal with any extra quotes in xunit,xname,yunit,yname => issue #13
* rename CLI binary to lowercase version
* IMCtermite.pyx: rename boolean data flag
* insert some double quotes in sampleA.raw for testing
* version 2.0.1
2021-10-19 13:48:02 +02:00
b71d86f735 * fix issue of 'inconsistent subsequent blocks' when using set_file() by clearing all buffers
* remove schedule from workflows/wheels.yml
2021-09-21 13:22:23 +02:00
617ed541e3 reset rescaling factor to 1.0 even if its zero as given in the CR block (issue #12) 2021-09-16 16:10:13 +02:00
Mario Fink
b110886935 add *.pyd to gitignore, imc_channel.hpp: fix int size_t conversions 2021-09-02 11:22:37 +02:00
Mario Fink
6bc6880d47 fix/disable type conversion warnings 2021-09-02 11:16:01 +02:00
Mario Fink
1345f6e4c9 add separate NT trigger time and Cb addtime parameters to output 2021-07-12 13:19:45 +02:00
Mario Fink
1d30a5f237 include (absolute) trigger-time in channel output => issue #10 2021-07-08 14:06:20 +02:00
Mario Fink
69f5e5496b * fix typo in preprocessor flag
* executable --help: provide full repository URL
2021-07-02 13:33:05 +02:00
Mario Fink
cda6673f85 fix MSVC compilation/build issues 2021-07-02 09:39:16 +02:00
658a73a284 get_info(): show less x,ydata in info-string 2021-07-01 15:46:03 +02:00
71c9bb7a5c fix/optimize floating point precision for file output/info output/json output 2021-07-01 12:13:38 +00:00
45efb06aa2 add support for NL key, issue #6 2021-06-29 12:38:55 +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
83922c343f * imc_channel, imc_raw: optimize with pass by reference
* imc_object: asc_time, localtime: make threadsafe
* imc_datatype: satisfy 'rule of two'
* python: remove all unused imports
2021-05-05 13:28:11 +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
798fc22d7a imc_conversion.hpp: more comprehensive error message, imc_datatype: imc_Ulongint,imc_Slongint typedef for x86_64 vs. arm 2021-04-27 12:42:24 +02:00
2b2e69f0e5 * add support for datatype 11 = 2-byte-word digital
* usage.py: raise proper exception
* usage_adv.py: use different example file
2021-04-27 11:38:43 +02:00
Mario Fink
8708d2d008 * cython/py_imc_termite.pyx: json loads take care of floats, fix column assignment
* imc_channel.hpp: fix floating precision for get_channel()
* extend/include advanced usage in examples
2021-04-26 19:41:56 +02:00
97c2195f98 ignore hexshow.hpp, version 1.2.3 2021-03-05 09:19:06 +01:00
4c082451fa finalize README.md + example + cython interface 2021-02-12 13:22:15 +01:00
dd78b37290 cython setup imc_termite pytho module 2021-02-12 11:30:16 +01:00
3d9305a1be prepare imc_channel + imc_raw for cython interface 2021-02-12 09:52:52 +01:00
3948bfeac6 fix/improve printing and CLI 2021-02-11 19:54:09 +01:00
6b41dbe00a add printing methods 2021-02-11 19:39:11 +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
a03930515e finished metadata extraction 2021-02-11 17:17:09 +01:00
6f9133c638 start extraction 2021-02-11 16:03:49 +01:00
acd55194a5 imc_raw + imc_channels: channel extraction from blocks and environment 2021-02-11 15:49:11 +01:00
1596ca15b5 generate channel_envs 2021-02-11 13:38:07 +01:00
4b510ea91b remove redundant stuff related to imc_object 2021-02-11 12:52:53 +01:00
bed43d6785 * remove usage of imc::object
* introduce imc_channel with collection of affiliate blocks
* imc::keys as list instead of map with custom check/get methods
* imc_raw: start generation of affiliate blocks
2021-02-11 12:48:49 +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
0eb034196d imc::object: all objects parsed 2021-02-10 15:37:24 +01:00
fe3befc5f2 start parsing imc::objects 2021-02-10 13:08:32 +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
a808a001a9 imc::objects: preliminary complete 2021-02-09 19:31:27 +01:00
e952764e4f reduce computational complexity 2021-02-09 18:11:06 +01:00
79c1b19e33 check block consistency, reset block.end for length that exceeds buffer size (e.g. final CS) 2021-02-09 16:40:11 +01:00
ee7f70d36f add imc_meta.hpp 2021-02-08 18:09:02 +01:00
09737a93fb imcdatatype: simplify class name 2021-02-08 17:27:17 +01:00
cb8365a897 implement imcdatatype 2021-02-08 17:21:37 +01:00
cf7d51e2fb imc::block: fix parameters parsing 2021-02-08 16:48:22 +01:00
cf6f91a324 extract all block/parameters data 2021-02-08 16:22:28 +01:00