Commit Graph

678 Commits

Author SHA1 Message Date
83c7aa6ade More subtle locking and unlocking of mutexes in stopstream
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m1s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-14 08:25:47 +01:00
3c16e33453 Removed deadlock in output stream deletion
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m1s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-13 13:29:29 +01:00
e973f14884 Weak refs to Recording methods. Made the mutexes more simple for stream manager. Added extra guards and statements here and there. Code passes a sever stress test.
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m3s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-13 12:19:24 +01:00
e24cac2805 Some more bugfixes: weak references stored in indatahandler, to avoid calling destructor from wrong thread. Removed some unneccessary include statements on the way 2024-03-12 21:13:13 +01:00
d0d494fcb2 Added some stuff to gitignore, removed explicit dependency on Numpy
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m1s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-12 15:53:37 +01:00
15cd62baf8 New smoothing algorithm - minor version bump
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m6s
2024-03-12 11:20:31 +01:00
ab080910fc Made power correction in smoothing algorithm optional. Window decreases in size symmetrically around the edged of the frequency spectrum
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Blocked by required conditions
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Has been cancelled
2024-03-12 11:19:52 +01:00
6799ee9287 Bugfix new smoother, including ac signal power correction
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m1s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-12 09:21:07 +01:00
f9cf059c90 Forgot to actually commit the Cpp files of the smoother
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 8s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-11 16:33:28 +01:00
3ec15ec645 New smoothing implementation, that runs a bit faster
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after -1m19s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-11 16:04:24 +01:00
48d262fbf0 Bugfix in sensitivity correction of realtime spectra
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m8s
2024-03-07 09:36:50 +01:00
204e431d79 Bugfix on GIL release
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m9s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-06 22:12:42 +01:00
bf06402b11 BUGfix of segfault. Very subtle. ThreadedInDataHandler could be deleted, while a task was just pushed to the thread pool. Then, when the task is finally run, the object could be deleted, as the _thread_running flag was not set. Besides this, we made some fixes that makes sure that the handles to a Recording class are stored as a weakref inside of the C++ code. This makes it easier to garbage-collect a recording, even when the IndataHandler is still running. 2024-03-06 21:41:04 +01:00
26eef040a4 More locks on signal generator.
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m33s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-03-04 15:49:29 +01:00
b61e836f35 Bumped 1.4.6
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m38s
2024-03-04 14:44:37 +01:00
0841dbd73b Create InDataHandler only from the moment startThread() is called. This is safer, and might fix a segfault 2024-03-04 14:44:00 +01:00
5e8e40db7a Updated tag. forgot in previous tag updates
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m47s
2024-02-29 20:05:10 +01:00
3b2f2f7c41 Bugfix record indefinitely
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m44s
2024-02-27 11:02:45 +01:00
878da3369b Bugfix (delete measurement when no data is in it) and cleanup of recording code
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 1m49s
2024-02-26 11:51:59 +01:00
e9f500d460 Small change in portaudio.cmake
Some checks failed
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Failing after 2m42s
2024-02-20 15:47:12 +01:00
6bda124196 Allow duplex mode for PortAudio ALSA devices
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m53s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-02-06 15:02:25 +01:00
7ce45e9c82 Some comment improvements, and portaudio API improvements. Also, disabled PortAudio PulseAudio backend as it is not working properly.
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m35s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Successful in -31s
2024-02-06 14:59:51 +01:00
7c8e6368ba Removed accidental use of wrong time weighting for impulse (35 ms). 2024-02-06 11:22:31 +01:00
7430e2c600 Updated armadillo
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 3m0s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-30 14:40:43 +01:00
6b337df2a9 Bugfix in channel counter for getHighestEnabledOutChannel, added Api -subapis for Portaudio backend. Switch to defaulting Portaudio as audio backend. Added PulseAudio as extra sub-api to default compile in portaudio
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 3m2s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-25 15:31:53 +01:00
c713806bbe RtAudio not updated to 6.0.1?
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m52s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-23 15:18:04 +01:00
08010e56dd From now on build default LASP with Portaudio backend. Also on Linux. Code cleanup of Portaudio glue code
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 3m3s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-20 11:52:16 +01:00
292a9d5938 Merge branch 'RtAudioV6' into develop 2024-01-19 12:37:16 +01:00
373dcfb60f Bugfixes (that could potentially segfault) in PortAudio backend.
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m54s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Successful in 2s
2024-01-19 12:35:56 +01:00
e8408ab53d Updated to RtAudio V6 2024-01-19 12:32:45 +01:00
0d152f6c14 Maded API changes to match RtAudio V6 2024-01-19 12:32:03 +01:00
46bef007ca Added muZ series impedance reference as measurementtype
Some checks failed
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Has been cancelled
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been cancelled
2024-01-15 16:41:29 +01:00
fd8366c362 Bugfix in measurementset
Some checks are pending
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Waiting to run
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Blocked by required conditions
2024-01-12 15:18:58 +01:00
6d5899c880 Merged in develop
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m39s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-10 17:31:59 +01:00
061beaf88b Small bugfix of some dead code 2024-01-10 17:30:56 +01:00
e8ba3b86bf Bugfix on bugfix. KeyError instead of AttributeError
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m29s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-10 13:14:54 +01:00
14ab3d9dfe Version bump: bugfix
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m27s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-10 13:01:38 +01:00
695a05b262 BUGFIX: Prevent corrupting all files when no UUID is yet stored in a file 2024-01-10 13:01:07 +01:00
514ed1aa32 Added physicalOutputQty for daq devices, added possibility to inspect from Python whether device has monitor. Added unit for equation in Qtys. Version bump 1.3.0
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m49s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2024-01-10 12:26:38 +01:00
0be8dd71d9 Bugfixes: store UUID attribute early when recording is done. Some small improvements
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m15s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Successful in -1m38s
2023-12-19 14:34:47 +01:00
2cd4c616b3 Bump 1.2.0
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m11s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Successful in -1m25s
2023-12-19 14:04:43 +01:00
311a1274bf Added fromFile() method to overcome problem of multiple times opening same file 2023-12-19 14:03:46 +01:00
936f2d5708 Merge remote-tracking branch 'origin/develop' into develop
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 3m18s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2023-12-19 12:28:18 +01:00
98d4e8dad2 More checks on refMeas. Renamed method refMeas to getRefMeas. Added removeRefMeas. Stabilized API? 2023-12-19 12:27:44 +01:00
87283e4aba Changed pure random UUID of measurement to time-based UUID 2023-12-19 12:26:22 +01:00
e5c40c6af3 Merged in lasp from remote
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 3m8s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2023-12-19 11:24:04 +01:00
8c7dbed606 Bugfix in qty input of Measurement.fromnpy() 2023-12-19 11:21:13 +01:00
c610c6350d Implemented reference measurements, and renaming as method in Measurement object. 2023-12-18 12:37:46 +01:00
44fe7f2689 Bump 1.0.4
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m13s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Successful in -46s
2023-10-27 15:02:44 +02:00
f72a635cc7 Cleanup volume before copying
All checks were successful
Building, testing and releasing LASP if it has a tag / Build-Test-Ubuntu (push) Successful in 2m14s
Building, testing and releasing LASP if it has a tag / Release-Ubuntu (push) Has been skipped
2023-10-26 15:17:50 +02:00