Skip to content

add support for injection-window handling in pycbc_inspiral_fir#16

Closed
Kanchan-05 wants to merge 1 commit intoahnitz:firinspiral2from
Kanchan-05:feature_fir_injection_window_support
Closed

add support for injection-window handling in pycbc_inspiral_fir#16
Kanchan-05 wants to merge 1 commit intoahnitz:firinspiral2from
Kanchan-05:feature_fir_injection_window_support

Conversation

@Kanchan-05
Copy link
Copy Markdown

@Kanchan-05 Kanchan-05 commented Apr 13, 2026

Support for handling injection-window in pycbc_inspiral_fir

This PR adds support for proper handling of injection windows in pycbc_inspiral_fir. Currently, SNRs are computed and stored for all trigger times. With this modification, trigger information is restricted to a window around the injection time, consistent with pycbc_inspiral's behavior.

  • The author of this pull request confirms they will adhere to the code of conduct

Copy link
Copy Markdown
Owner

@ahnitz ahnitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kanchan-05 I don't think this really does much. Note that the valid region is already passed the injection times and restricts based on those. What does this change?

@Kanchan-05
Copy link
Copy Markdown
Author

@ahnitz This just cuts down the number of triggers we save at the end when injections are present. Instead of storing everything, it only keeps triggers around the injection time, so it saves some memory for injection runs.

@ahnitz
Copy link
Copy Markdown
Owner

ahnitz commented Apr 13, 2026

@Kanchan-05 How is that not already being done?

@Kanchan-05 Kanchan-05 closed this Apr 16, 2026
@Kanchan-05 Kanchan-05 reopened this Apr 16, 2026
@Kanchan-05 Kanchan-05 closed this Apr 16, 2026
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