-
Notifications
You must be signed in to change notification settings - Fork 1
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
PN inspiral quantities #41
Comments
Edit: I got the number of orbits and time to merger from |
The output from As for |
Ok thank you! Have a good vacation! We can talk more when you're back. For then:
|
Version 2024.0.2 of the So, once you update from sxs.julia import PostNewtonian
def Omega(r, q, chi1, chi2):
pn = PostNewtonian.BBH(np.array([1/(1+q), q/(1+q), *chi1, *chi2, 1, 0, 0, 0, 1, 0]))
v = PostNewtonian.separation_inverse(r, pn)
pn.state[12] = v
return PostNewtonian.Omega(pn)
def adot(r, q, chi1, chi2):
pn = PostNewtonian.BBH(np.array([1/(1+q), q/(1+q), *chi1, *chi2, 1, 0, 0, 0, 1, 0]))
v = PostNewtonian.separation_inverse(r, pn)
pn.state[12] = v
return PostNewtonian.separation_dot(pn) / r |
Thanks @moble! I'll give this a try and see if we can get better zero-ecc estimates from it :) |
Works very well as far as I can tell! Thanks for providing this :) |
Hi Mike! I'm considering to use your new PN implementation to get good initial orbital parameters for eccentricity reduction in SpECTRE. Currently I use the SpEC scripts for this. Specifically, see here for the function in SpECTRE that calls the SpEC scripts and returns initial orbital parameters. My question is: does the Julia code already expose equivalents to the
omegaAndAdot
andnOrbitsAndTotalTime
functions in SpEC'sZeroEccParamsFromPN.py
script, or would those be easy to add?The text was updated successfully, but these errors were encountered: