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 double-pole-zero routines #596

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add double-pole-zero routines #596

wants to merge 3 commits into from

Conversation

erin717
Copy link
Contributor

@erin717 erin717 commented Dec 16, 2024

Adds the double-pole-zero routines written by Sam Borden (see #558 for more details). Updated the routines to work with the pargen refactor. Removed the old dpz grid search routines. Added unit tests.

Note: The dpz routine ends with an iMinuit minimization for the flatness of a dpz-corrected waveform. Currently, the double pole zero processor in dspeed throws an exception if the output is nans, During the minimization, some function calls have nan outputs. This issue will need to be addressed (either by removing the exception or forgoing the minimization step)

erin717 and others added 3 commits December 16, 2024 12:04
Added the dpz routines based on superpulse fitting. Updated the routines to mesh with the pargen refactor changes.
@ggmarshall
Copy link
Collaborator

ggmarshall commented Dec 17, 2024

Can we just catch the error in the optimiser in dspeed?

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