Commit 8044342a authored by Jean-Gregoire Ducoin's avatar Jean-Gregoire Ducoin

fixing some lint errors2

parent 9399dccc
Pipeline #50452 failed with stages
in 7 minutes and 21 seconds
......@@ -254,16 +254,16 @@ def compose_emcoinc(gracedb_id, authors=(),
UL50 = infos_X[3]
# need to build a function to convert UL50 to exclusion distance ?
# definition of physical constantes
Msolar = 1.9891e30 # solar mass in kg
G = 6.673*1e-11 # gravitational constant in m^3/(kg*s^2)
c = 299792458 # speed of light in m/s
pc = 3.0856775807*1e16 # parsec in m
Mpc = pc*1e6 # mega-parsec in m
refEnergy = 1e-2*Msolar*c^2 # energy reference
w = 150 # pulsation
X_exclusion_distance = np.sqrt(10*G*refEnergy/
(c**3*UL50**2*(2*np.pi*w)**2))
Msolar = 1.9891e30# solar mass in kg
G = 6.673*1e-11# gravitational constant in m^3/(kg*s^2)
c = 299792458# speed of light in m/s
pc = 3.0856775807*1e16# parsec in m
Mpc = pc*1e6# mega-parsec in m
refEnergy = 1e-2*Msolar*c^2# energy reference
w = 150# pulsation
X_exclusion_distance = np.sqrt(10*G*refEnergy/ \
(c**3*UL50**2*(2*np.pi*w)**2)) \
/Mpc
if client is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment