Created
September 18, 2017 11:49
-
-
Save llondon6/7dc0773aada93a5804ed6ab380edd540 to your computer and use it in GitHub Desktop.
Estimate lowest frequency in gravitational waveform using leading order PN
This file contains 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
# | |
def pnw0(m1,m2,D=10.0): | |
# https://arxiv.org/pdf/1310.1528v4.pdf | |
# Equation 228 | |
# 2nd Reference: arxiv:0710.0614v1 | |
# NOTE: this outputs orbital frequency | |
from numpy import sqrt,zeros,pi,array,sum | |
# | |
G = 1.0 | |
c = 1.0 | |
r = float(D) | |
M = float( m1+m2 ) | |
v = m1*m2/( M**2 ) | |
gamma = G*M/(r*c*c) # Eqn. 225 | |
# | |
trm = zeros((4,)) | |
# | |
trm[0] = 1.0 | |
trm[1] = v - 3.0 | |
trm[2] = 6 + v*41.0/4.0 + v*v | |
trm[3] = -10.0 + v*( -75707.0/840.0 + pi*pi*41.0/64.0 ) + 19.0*0.5*v*v + v*v*v | |
# | |
w0 = sqrt( (G*M/(r*r*r)) * sum( array([ term*(gamma**k) for k,term in enumerate(trm) ]) ) ) | |
# | |
return w0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment