Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calib class #603

Merged
merged 6 commits into from
Jan 24, 2025
Merged

Add calib class #603

merged 6 commits into from
Jan 24, 2025

Conversation

pavlis
Copy link
Collaborator

@pavlis pavlis commented Jan 23, 2025

Adds new calib module to algorithms. Implemented as a class with a dictionary cache for efficient matching. Not done as a subclass of Matcher as the main use is quite different. That is, the apply_calib of the class converts TimeSeries data to physical units of nm/s by multiplication by a "calib" factor. Conceptually similar to Antelope's "apply_calib" function.

This pull request also contains a very complete set of tests. The same module has also been applied to 3.5 million TimeSeries in recent testing. If it passes the tests here it should be merged.

@wangyinz wangyinz merged commit eba0bd6 into master Jan 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants