Commit Graph

94 Commits

Author SHA1 Message Date
79fca548b1 removed one loop vector allocation. Implemented a bit smarter 2024-11-02 00:35:07 +01:00
36de394a2e Re-implemented simpleclip, debugged 2024-11-02 00:22:07 +01:00
f58c6f8839 Updated clip code to include data range from channel. Changed DaqChannel and DaqConfig struct to match expected API 2024-11-01 23:54:21 +01:00
b275591ad5 Bump 0.6.6 2024-10-31 22:13:54 +01:00
90d598aa5d Improved recording code (again). Added simple clip detector that detects whether a clip happened between its instanteation and its drop moment 2024-10-31 21:46:08 +01:00
adc3db1be6 Removed some unnecessary wrappers. Added interrupted noise. 2024-10-28 19:24:23 +01:00
9e4ce617ae Added loose gain value to SeriesBiquad. Implemented pink noise. Bup to 0.6.5 2024-10-27 21:33:45 +01:00
636213c2b7 Bump 0.6.4 2024-10-26 21:54:54 +02:00
8a573266df Removed dependency on ndarray_rand. Crate is not updated. Updated pyo3 to new version and updated enum pyclass derive macros. Switch to SmallRng for white noise random number generation. 2024-10-26 21:53:56 +02:00
0567e7fb92 Added siggencommand. Exported sweep types. Added debug derives on some more classes. StreamMgr now returns result on stream commands, by polling back on a channel for result values. 2024-10-26 11:53:34 +02:00
45da6370ec Wrappers for sweep signal. Some cleanup and documentation 2024-10-13 13:12:37 +02:00
cde2c74467 Implemented sweep signal generator. Some sweep implementations can error when something goes wrong. Changing params on running signal generator give results back that need to be handled 2024-10-13 13:02:49 +02:00
8ee5fcbf02 Split up siggen code in source and siggen submods 2024-10-08 12:07:18 +02:00
4da8a1c74a Added RtAps::reset() method, in progress of placing signal generator code in module. Therefore, not working intermediate code 2024-10-08 12:01:21 +02:00
b7c2f9c3b8 Removed pub on method that does not need to be pub 2024-10-08 11:54:00 +02:00
58093dd5cd Added and tested real time signal viewer 2024-10-07 20:45:11 +02:00
172356055c Removed dependency on ndarray_stats. Not working lib. 2024-10-06 14:28:11 +02:00
3cc3ff54a3 Bump v0.6.3 2024-10-06 14:27:30 +02:00
2f95c1a95d Better tuning of realtime ppm. Set timeouts in rtaps. Rtaps wrapped to Python. Bugfix in time constants for time weighting to compute the poles (not inverse of time weighting constant token). Bugfix in asymmetric time weighting for slm 2024-10-06 14:26:41 +02:00
94e478d372 Added some derive debugs. Added some comments. Changed default high level threshold to -10 dBFS 2024-10-03 20:18:55 +02:00
89677a8320 PPM: Increased clip indication time to 4 secs. Moved the thread creation to method startThread. 2024-10-03 11:45:10 +02:00
51e4ea8272 Some bugfixes when disabling python-bindings. Added some math functions. Exported streamstatus, and added PPM with cliphandler --> to-be tested! 2024-10-02 21:56:27 +02:00
016db92eba Wrapper for midband frequency of standard filter 2024-09-30 21:35:57 +02:00
96187bfcf9 Let SLM::run output a vec of pyarrays, instead of vec of vecs 2024-09-30 14:26:10 +02:00
2efb610caa Added export of timeweighting to Python code 2024-09-29 21:17:16 +02:00
65df1c82f6 Changed some unwraps to expect. Debugged multiplication with weighting broadcast 2024-09-29 17:38:59 +02:00
826266b8ee Moved apsmode and apssettings to their own files 2024-09-29 11:45:46 +02:00
08ecdf6dc4 Added sensible name for overlap 2024-09-26 21:57:03 +02:00
42045da5cc Added overlap to Python wrappers. Moved overlap to different file. Added default and helper methods for Python instantiation of structs for AvPowerSpectra. Added frequency weighting to AvPowerSpectra --> to be tested! 2024-09-26 21:13:11 +02:00
c843c089dd More exposure of classes and enums to Python 2024-09-26 20:09:11 +02:00
d9fbe25dc1 TimeWeighting __eq__ method added. Improved comments. Tested Python code. Now ready for implementing WindowType Python wrapper 2024-08-28 21:51:16 +02:00
eb94785a89 Bump v0.6.1 2024-08-28 14:59:55 +02:00
476479b693 Rolled back to older Pyo3 version to make it compatible with Rust-Numpy that is not yet ready to go to new Pyo3 API. Improved power spectra estimator by removing DC value before going into window. Later overwriting it. Improved functionality of Python bindings 2024-08-28 14:59:10 +02:00
7662ff176c Bump 0.6.0 2024-08-26 21:57:47 +02:00
7092ef4717 Added test files. Debugged quite some things. SLM needs still tests on statistics. Bugfix in frequency weighting filters. Added a lot of wrappers for Python calls. 2024-08-26 21:57:11 +02:00
90c7f0eb37 Added Jupyter lab example 2024-08-19 23:14:31 +02:00
d8814e6c11 Bugfixing on SLM. First tests. Code seems to work, but might still have subtle bugs (as timeweighting was wrong previous to this commit). 2024-08-19 23:02:13 +02:00
6208e97f8a Added octave band filter design code. First steps into SLM. Still needs proper testing 2024-08-19 20:23:29 +02:00
302c2cbfd3 Updated test code to also pass on f32 compilation. Improved doc tests. 2024-08-15 13:10:40 +02:00
02bb55a721 Another warning removed 2024-08-11 13:58:07 +02:00
0338807507 Removed some warnings. Updated to new pyo3 api 0.22 2024-08-11 13:57:03 +02:00
c7d2cfc43f A bit of refactoring in checks, added documentation and examples of ZPKModel 2024-08-11 13:47:24 +02:00
99a8db23b8 First work on ZPKmodel for the benefit of the sound level meter implementation. Added code for bilinear transforms. Added butterworth analog filters. Documentation improvements. This is an intermediate commit of working code, but nothing finished. 2024-08-11 11:58:50 +02:00
649c9f549c Cleanup code. Added ApsSettingsBuilder, bugfixes in RtAps. 2024-08-03 12:23:39 +02:00
ada5bfb427 Comment syntax markdown fix 2024-07-18 17:40:57 +02:00
c9e7418b3a Bugfixes for building Python extension module 2024-07-18 13:41:27 +02:00
d3c162ab79 Clippy fixes 2024-07-18 13:34:37 +02:00
f3dbf9d948 Fixed an error found due to clippy 2024-07-18 13:30:23 +02:00
ff6a0687c4 Bugfix in type detection for instreammsg. Refactored some overcomplicated code, added first steps for rtaps 2024-07-18 13:06:49 +02:00
a905e58023 Updated comments and added getStreamMetaData() to StreamMgr() 2024-07-13 09:43:01 +02:00