-
Notifications
You must be signed in to change notification settings - Fork 21
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
Adding time-domain LAL waveforms, replacing functions by classes #55
Conversation
…on time-domain waveforms for Fisher matrices, LALSimulation-based FFT, mass_12 to mass_ratio and mass_chirp
Implementing time-domain waveforms and introducing Python objects for waveforms, derivatives, Fisher matrices
Cleaning up
Cleaning up auxiliary.py
Additional clean up, waveforms.py
Let me say that the things I'm mentioning are minor and overall I think this is a great addition! |
I agree that these are good changes, but I don't think that all of Jacopo's comments are minor. For example, the way the roll-off is done here might not be safe, and in fact, this is one of the issues we found with time-domain waveforms in the past, which can have important impact on PE. This needs to be tested carefully on signals with varying masses. |
Thanks for reviewing the code, @janosch314 and @jacopok ! As for the |
Changes for PR janosch314#55 to janosch314/GWFish, part 1
Citation information
Ok, I think I addressed all the comments, @jacopok and @janosch314 . Unless there are any objections from you and also @u-dupletsa , I could merge this PR within a few days. As a bonus, I now added citation information to |
Hi Boris,
Thank you for all the work!
I’m going through the changes in the code and I don’t know if this is important or not, but I have a question about the reference frequency in the Waveform class. Before we were setting it to 50Hz (with this choice, if I remember well, the LAL TaylorF2 and the GWFish TaylorF2 were almost identical) and now it is set by default to the minimum frequency. I recall that setting f_ref to a low frequency was creating some problems. Is there a reason behind the choice to choose the minimum frequency?
Ulyana
… On 8 Feb 2023, at 12:00, Boris Goncharov ***@***.***> wrote:
Ok, I think I addressed all the comments, @jacopok <https://github.com/jacopok> and @janosch314 <https://github.com/janosch314> . Unless there are any objections from you and also @u-dupletsa <https://github.com/u-dupletsa> , I could merge this PR within a few days.
As a bonus, I now added citation information to README.md, you can see how it looks here: https://github.com/bvgoncharov/GWFish <https://github.com/bvgoncharov/GWFish> . I think it looks good, but let me know if you would like to change/remove it.
—
Reply to this email directly, view it on GitHub <#55 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATUPTCDWM7C2DWC2AGNKA7LWWN4EVANCNFSM6AAAAAAUS72SWY>.
You are receiving this because you were mentioned.
|
Hi Ulyana, thanks for looking into the changes! Good point identifying the change in reference frequency, I forgot about it. I introduced it when debugging time-domain waveforms. I considered the following when setting
|
Hi, sorry for the extra N corrections, I hadn't properly looked through the The warning spam is a bit annoying but not a big deal, I hope. |
Changes for PR janosch314:main janosch314#55, part 2
Hi All, I went through the code again, put back the default reference frequency of 50 Hz in I also removed function As usual, if there are no more comments, I could do a merge in a few days. Tagging @janosch314 , FYI. |
Removing comments, docstring updates
Looks good! As written at the moment it breaks the |
…r code in accordance with the recent changes
Removing obsolete function hphc_amplitudes() from horizon.py and other code
@jacopok , thank you, that was not too hard and I fixed it. Also, for |
I added the following modifications:
modules/waveforms.py
. To facilitate this, functionlal_caller()
is replaced with classes. There is a new basic waveform class,Waveform(object)
. Time-domain LAL waveforms are either Fourier-transformed into frequency domain in LALSimulation (class LALFD_Waveform(Waveform)
) or returned in time-domain and Fourier transformed in GWFish (class LALTD_Waveform(LALFD_Waveform)
) before calculating the Fisher matrix.modules/fishermatrix.py
, derivative and Fisher matrix functions are also replaced by classes.There are also a few minor cosmetic changes.
Notes: