Commit Graph

638 Commits

Author SHA1 Message Date
e900a5ddad Updated PPM to give clip indices length same as number of channels. Grouped the real time components to group dsp/rt. 2022-10-04 09:48:32 +02:00
5f1a207104 Added Peak Programme Meter, added functionality to clone SeriesBiquads without copying state. Improved recording callback mechanism. Added reset() function for IndataHandlers, which send a pointer to DAQ instance. 2022-10-04 09:27:27 +02:00
bb26fc6bcc Added suggested SLM down sampling factor, improved quite a lot of documentation. Measurement object can now work with old, as well as new measurement files. 2022-10-01 19:59:35 +02:00
59085b091f Some bugfixes and useful function additions 2022-09-28 09:41:02 +02:00
288e7c8dc5 Input stream and output stream both running. Added lockfree boost dependency to git modules, removed carma build as it is not required and every time again downloads Armadillo. Added functions to enable / disable all channels at once. Fixed a bug with RtAudio input streams. Fixed a bug in StreamMgr leading to segfaults (how to: use std::move ;)). 2022-09-27 17:20:45 +02:00
5ce5fba50b Sweep bug fixed. There is still something weird with RtAudio: only one channel is outputting signal. 2022-09-22 21:02:41 +02:00
b200b465f6 Code cleanup. RescanDaqdevices changed API. DaqApi string returns only apiname. Added comments, added Doxygen groups, exported FFT wisdom load / store to Python. SLM stores reference level squared. Added comments on SLM Lpeak, Leq and Lmax, a lot of using rte = std::runtime_error, added Window string conversion, Pybind11 enum no longer exports values, added cpp_enum to convert Qty to an enumerated value in C++ code. Removed class and methods to fill comboboxes. Does not belong in LASP, but in ACME instead. DeviceInfo has operator string(). 2022-09-22 10:18:38 +02:00
b629edde4c Updated pyproject and doxyfile, and readme 2022-09-22 10:11:47 +02:00
70891ceaf4 Switched to OpenMP for parallellizing for loops. Bugfixes in PowerSpectra() class. Added tests to check Parsevall hold. Improved lots of comments. Added module groups. Use CMake to specify code version number. Device info should be obtained from StreamMgr in Python code. 2022-09-03 20:59:14 +02:00
10749137ec Removed old C-code. This is not the way forward anymore 2022-09-03 16:10:12 +02:00
34239bfabf Removed old testing code. Improved Doxyfile, added logo to Doxygen. Added pytest testing config. 2022-09-03 16:07:44 +02:00
f8e8ab422b SLM seems to be working. Needs proper testing. Not yet fully coupled to Python code 2022-08-16 21:22:35 +02:00
c75f0dddc5 Split up indatahandler with python callback in part and part that calls the Python function. Threading is now handled using a thread pool. Some bugfixes 2022-08-14 21:00:22 +02:00
1e8b18aabe Added threadpool, biquadbank could be working for equalizer. First steps of SLM and AvPowerSpectra 2022-08-11 14:47:44 +02:00
7ca52695da First work on avpowerspectra implementation. Added stubs for all other code that needs to be implemented in C++ as well. 2022-08-07 21:13:45 +02:00
12cf9586eb DaqConfiguration(s) back in place. Time to couple some stuff to ACME 2022-08-01 17:26:22 +02:00
0421236ed0 Renamded lasp_daqconfiguration.cpp to lasp_daqconfig.cpp in pybind11 2022-07-29 09:36:49 +02:00
3160aacc07 Replaced github STL-Threadsafe with boost::lockfree. Added PyIndataHandle to glue Python callbacks to new data. First work on getting recording back to work. 2022-07-29 09:32:26 +02:00
b35686f79d Default build type is Release 2022-07-25 22:30:11 +02:00
da99618fc3 Some comment improvement and cleanup 2022-07-25 22:29:42 +02:00
6a006e27f9 Output of a sine wave now works. Pfff 2022-07-20 14:58:48 +02:00
7095f9d5e7 Intermediate commit. Ready for some serious testing. 2022-06-29 12:25:32 +02:00
b561c83448 Deleted last Cython stray 2022-06-14 21:54:13 +02:00
3b3bd6d83d Backend ready for some testing 2022-06-13 21:30:02 +02:00
7eaaf43653 Inbetween pybind11 commit. Nothing working. 2022-06-13 19:35:41 +02:00
c9580b2c28 Updated code to only ask for input stream when starting recording 2022-06-07 15:01:53 +02:00
89a29c6d41 Merge branch 'develop' of ssh://code.ascee.nl:12001/ASCEE/lasp into develop 2022-06-07 11:08:17 +02:00
5d1b88a883 Merge branch 'stable' into develop 2022-05-25 10:38:59 +02:00
f635cac209 First work on going to Pybind11. Rewritten the code for the UlDaq significantly. Much cleaner, but still contains bugs. 2022-05-23 17:26:29 +02:00
9e03f5e944 Merge branch 'stable' into develop 2022-05-17 15:07:34 +02:00
95c1a194fa Removed bug of double free corruption that was an attempt to fix memory leak 2022-05-17 14:58:12 +02:00
16390352dc Removed stupid handleMessages from streammanager. 2022-05-17 13:53:07 +02:00
200ee69e2a Renamed shelve to shelf, added some comments. 2022-03-22 11:11:44 +01:00
d51d3f7d37 Some sanity checks. Removed activateSiggen and deactivateSiggen fucntionality, as it has no use. 2022-02-02 14:07:21 +01:00
5e26f4a026 Lowered trace output of siggen 2022-02-02 14:05:39 +01:00
c3b1c1ec4a Merge branch 'develop' of ssh://code.ascee.nl:12001/ASCEE/lasp into develop 2022-02-02 12:38:34 +01:00
13b0243721 Import array is moved to the Cython thread, and memory is put in a capsule, also on Linux. I don't know why, but it seemed to fix the memory leak 2022-02-02 12:38:29 +01:00
4f1249512f Enabled 100th octave smoothing 2022-01-28 16:20:33 +01:00
e0f74121fe Added force option to overwrite measurements when created from Numpy array 2022-01-28 14:14:01 +01:00
cf0b4cf283 Added export of compile commands. Stop make on first error 2022-01-28 14:11:58 +01:00
4339ecdbc0 Probable fix of memory leak 2022-01-13 13:59:35 +01:00
8fee46a41f Bugfix in using lasp_lib code in the C++ code of device in debug mode 2022-01-02 21:24:08 +01:00
b570b4ba18 One definition in CMakeLists.txt not required 2021-12-27 12:08:53 +01:00
9e6a6b8c93 Bugfixes for LASP_DEBUG definition to variable value. Not made correctly, resulting in release mode of code not working 2021-12-20 14:21:03 +01:00
6f5a3c2ea1 Bugfix in overall value of results 2021-11-13 14:27:57 +01:00
7b00e3b2bd Better output of SLM for plotting as a line 2021-11-11 21:29:08 +01:00
accde58b5b Set CMake minumum version to 3.12, for PythonLibs finding 2021-11-01 11:47:12 +01:00
e30fd84dac Bugfix in input high pass filter 2021-10-23 14:43:24 +02:00
3a6ffd130c Implemented a high-pass filter for input data 2021-10-23 14:35:15 +02:00
c016636add Merge branch 'master' into develop 2021-10-23 14:27:41 +02:00