-
Notifications
You must be signed in to change notification settings - Fork 357
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
Lisa dev merge #4128
Conversation
Plugin testing script
…eform being used.
…r waveforms whcih compute own det response
… returning data as dict with their data and channel name
…nto lisa_dev_merge Shichao adding doc tests onto his remote.
pycbc/inference/models/relbin.py
Outdated
@@ -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: |
There was a problem hiding this comment.
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?
pycbc/inference/models/relbin.py
Outdated
**self.fid_params) | ||
|
||
if self.no_det_response: | ||
if ifo not in self.no_det_waves: |
There was a problem hiding this comment.
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?
pycbc/inference/models/relbin.py
Outdated
hh = 0.0 | ||
hd = 0j | ||
norm = 0.0 | ||
filter = 0j |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
* 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>
* 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>
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.