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

REFACTOR: make ROQ likelihood call Interferometer.get_detector_response #851

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ColmTalbot
Copy link
Collaborator

@ColmTalbot ColmTalbot commented Nov 5, 2024

Similar to #847, this PR makes the ROQ likelihood call the standard detector response code. This required some refactoring of the roq source model. After this change, it would be possible to entirely remove that source model and pass everything through the frequency_sequency functions directly.

This might need some more refactoring to simplify the logic in the source module.

Needs #847

@ColmTalbot ColmTalbot changed the title REFACTOR: make ROQ likelihood call Interferometer.get_detector_response DRAFT: REFACTOR: make ROQ likelihood call Interferometer.get_detector_response Nov 5, 2024
@ColmTalbot ColmTalbot changed the title DRAFT: REFACTOR: make ROQ likelihood call Interferometer.get_detector_response REFACTOR: make ROQ likelihood call Interferometer.get_detector_response Nov 5, 2024
@ColmTalbot ColmTalbot marked this pull request as draft November 6, 2024 21:37
signal = {}
for mode in waveform_polarizations.keys():
det_response = self.antenna_response(
parameters['ra'],
parameters['dec'],
parameters['geocent_time'],
antenna_time,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similarly, the input time to self.time_delay_from_geocenter should be replaced by antenna_time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants