aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove redundant monotonic time array checkv2.1.1mainSam Scholten2025-10-28
| | | | | | | | | | Time arrays are generated deterministically using np.linspace, so checking for monotonicity is redundant and causes issues with very large arrays due to float32 precision limits. This removes the check entirely since any non-monotonic time array would indicate a fundamental issue with numpy itself, not our code.
* Bump version to 2.1.1Sam Scholten2025-10-28
|
* Fix time array monotonicity for very large arraysSam Scholten2025-10-28
| | | | | | | | - Generate time arrays with float64 precision before converting to float32 - This prevents precision loss that causes non-monotonic time arrays - Affects datasets with >10 million samples (e.g., 200M points at 20 MHz) - Changed empty time array warning to raise RuntimeError for better error handling - Applied fix to both rd() and rd_chunked() functions
* Remove time array tolerance checkSam Scholten2025-10-28
| | | | | | | | - Simplified monotonic check to just require positive differences - Removed machine epsilon tolerance that was too strict for ns-scale timing - Increased marker size in diffusion scatter plots - Added version bump to 2.1.0 - Fixed edge cases in ACF calculation and diffusion processing
* drop loguruSam Scholten2025-10-27
|
* Fix import of downsample_to_interval in analysis.pyv2.1.0Sam Scholten2025-10-24
|
* Add resample subpackage with downsampling supportSam Scholten2025-10-24
| | | | | | | | | - Add transivent.resample subpackage for signal preprocessing - Implement average_downsample() for block averaging downsampling - Add downsample_to_interval() for interval-based downsampling - Add target_sampling_interval parameter to detect_from_wfm() - Preserves signal amplitude and improves SNR through averaging - Creates uniform time arrays to avoid validation warnings
* Fix: Ensure data_path is correctly passed to get_waveform_params() in rd()Sam Scholten2025-10-24
| | | | | | | | | | | | When rd() is called with a data_path, it needs to pass this through to get_waveform_params() so the XML sidecar file can be found. Previously, if the filename was already an absolute path, data_path would be ignored, causing FileNotFoundError when XML sidecar was in a different directory. This fix ensures that: - If data_path is provided, it's always used with the basename - If data_path is None, the file's directory is used as data_path - This maintains backward compatibility while fixing the path resolution
* Fix: Add configure_logging back to public APIv2.0.1Sam Scholten2025-10-23
| | | | | | | | The configure_logging function was accidentally removed from the public API in __init__.py but was still being used in examples. This restores it to maintain backward compatibility. Fixes issue where examples would fail with ImportError.
* Release v2.0.0v2.0.0Sam Scholten2025-10-23
| | | | | | | | | Major API refactoring with simplified public interface. - Added EventProcessor for high-level event processing workflow - New utility functions for data preprocessing - Additional example scripts for different use cases - Comprehensive test suite - Updated documentation with migration guide
* Initial release v1.0.0v1.0.0Sam Scholten2025-10-23
Event detection and analysis pipeline for transient events in time-series data. - Event detection based on SNR thresholds - Configurable background estimation and noise analysis - Visualization with scopekit integration - Chunked processing for large files