Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
622ece7486 Bump 0.4.2 2024-07-11 21:11:58 +02:00
9a9192d4b4 Updated docs and readme 2024-07-11 21:10:38 +02:00
245f4ebfb2 And removed the actual ApsResult struct 2024-07-11 21:03:46 +02:00
66ab149159 Removed unnecessary complex API with APSResult and switched to two methods: compute_last and compute_all. Improved docstrings and fixes in docstrings. 2024-07-11 21:02:21 +02:00
9db49ff8c7 No math yet. Bump 0.4.1 2024-07-10 10:57:33 +02:00
14dae88d48 Add reset method to AvPowerSpectra 2024-07-10 10:49:06 +02:00
d695b31426 Coarsened checks in test_ap() again. Import complexfloat traits in config 2024-07-10 00:23:34 +02:00
ed576df32d Updated epsilon on unit test. Updated recording use statements on doctest 2024-07-10 00:18:51 +02:00
19484fd1cb Aps working, or almost working? 2024-07-10 00:10:34 +02:00
565829f1fa AvPowerSpectra not yet working, but going in right direction 2024-07-06 19:38:49 +02:00
0a847318f3 Updated comments and test code 2024-07-06 19:38:22 +02:00