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

Lisa dev merge #4128

Merged
merged 33 commits into from
Sep 14, 2022
Merged

Lisa dev merge #4128

merged 33 commits into from
Sep 14, 2022

Conversation

ConWea
Copy link
Contributor

@ConWea ConWea commented Sep 12, 2022

Added options for plugin waveforms that compute their own arm response within the fd_seqeuence framework. Hard coded options for LISA detector within relbin.py for inference. Next step is to remove the LISA detector flags and generalise to all waveforms that compute their own arm response.

@@ -181,6 +190,10 @@ def __init__(
# store fiducial waveform params
self.fid_params = self.static_params.copy()
self.fid_params.update(fiducial_params)

if self.no_det_response:
Copy link
Member

Choose a reason for hiding this comment

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

Why is this part needed?

**self.fid_params)

if self.no_det_response:
if ifo not in self.no_det_waves:
Copy link
Member

Choose a reason for hiding this comment

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

'no_det_waves' is never used, so is this needed?

hh = 0.0
hd = 0j
norm = 0.0
filter = 0j
Copy link
Member

Choose a reason for hiding this comment

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

'filter' is a reserved name by python, so we try to avoid overloading it new code.

Copy link
Member

@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.

@ConWea See the three remaining small changes. Once those are addressed and the few remaining CC issues that can be resolved (you can ignore the too many argument and too long a file ones), then I think this is ready to merge.

@ahnitz ahnitz enabled auto-merge (squash) September 14, 2022 13:23
@ahnitz ahnitz merged commit 33e6226 into gwastro:master Sep 14, 2022
connor-mcisaac pushed a commit to connor-mcisaac/pycbc that referenced this pull request Oct 12, 2022
* fix waveform_transforms not defined issue

* add static_args back

* fix cc issues

* adopt Ian's changes for LISA

* update for LISA bank

* fix self.ta[ifo] issue

* fix

* fix ta issue

* remove all changes

* Plugin testing script

* remove all hard-coded "BBHx"

* Rel bug fix

* Begin no atenna response wf interface

* remove old bbhx plugin

* add general interface for BBHx

* is_lisa issue not fix yet

* Adding test scripts

* Plot code for inference

* Approximant name change

* Changed is_lisa flag to checking approximant name against type of waveform being used.

* Modified cython code with own version of likelihood_parts function for waveforms whcih compute own det response

* Error in changing to dictionary output from plugin

* Fixes to PR request. Mainly reconfiguring due to convention choice of returning data as dict with their data and channel name

* Code rename conventions

* Changes from codeclimate

* More codeclimate changes

* More codeclimate changes

Co-authored-by: WuShichao <wushichao@mail.bnu.edu.cn>
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
* fix waveform_transforms not defined issue

* add static_args back

* fix cc issues

* adopt Ian's changes for LISA

* update for LISA bank

* fix self.ta[ifo] issue

* fix

* fix ta issue

* remove all changes

* Plugin testing script

* remove all hard-coded "BBHx"

* Rel bug fix

* Begin no atenna response wf interface

* remove old bbhx plugin

* add general interface for BBHx

* is_lisa issue not fix yet

* Adding test scripts

* Plot code for inference

* Approximant name change

* Changed is_lisa flag to checking approximant name against type of waveform being used.

* Modified cython code with own version of likelihood_parts function for waveforms whcih compute own det response

* Error in changing to dictionary output from plugin

* Fixes to PR request. Mainly reconfiguring due to convention choice of returning data as dict with their data and channel name

* Code rename conventions

* Changes from codeclimate

* More codeclimate changes

* More codeclimate changes

Co-authored-by: WuShichao <wushichao@mail.bnu.edu.cn>
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.

4 participants