New effective eccentric mchirp parameter#5276
Open
rahuldhurkunde wants to merge 3 commits intogwastro:masterfrom
Open
New effective eccentric mchirp parameter#5276rahuldhurkunde wants to merge 3 commits intogwastro:masterfrom
rahuldhurkunde wants to merge 3 commits intogwastro:masterfrom
Conversation
ahnitz
reviewed
Feb 3, 2026
pycbc/conversions.py
Outdated
| return mass2_from_mtotal_eta(mtotal, eta) | ||
|
|
||
|
|
||
| def ecc_mchirp_from_mchirp_ecc(mchirp, ecc): |
Member
There was a problem hiding this comment.
@rahuldhurkunde Nice. I might suggest two things.
(1) (minor) is there a better name than 'ecc mchirp'?
(2) Is it possible to write an inverse function? e.g. give back the mchirp from the 'ecc mchirp' + ecc.
Member
Author
There was a problem hiding this comment.
@ahnitz The inverse function requires a root solver. So to avoid adding a scipy dependency, I had to include a new bisection root solver function: solve_root.
Simple testing seems to be working:
>>> conversions.ecc_mchirp_from_mchirp_ecc(20.0, 0.2)
20.668174895333745
>>> conversions._mchirp_from_ecc_mchirp_ecc(20.668174895333745, 0.2)
19.999999648528163
Sorry I can't think of any better name for the new parameter. Happy to change if you have any suggestions.
Member
Author
There was a problem hiding this comment.
@ahnitz I've dropped the e^6 term, simplified the inversion to a quadratic one and renamed the new parameter to Emchirp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new eccentric mchirp parameter as defined in arXiv:2107.14736.
Standard information about the request
This is a: new feature
This change affects: the offline search.
This change changes:result presentation / plotting
Motivation
A new effective mchirp-e parameter might be better for eccentric searches, i.e. may lead to better bank placement.
Contents
Added a new method in
conversions.pyTesting performed
Reproduced the Figure 3. in the paper.
Additional notes