Commit 6aeacdf8 authored by Jean-Gregoire Ducoin's avatar Jean-Gregoire Ducoin

fixing some lint errors3

parent 8044342a
Pipeline #50455 failed with stages
in 7 minutes and 26 seconds
......@@ -254,17 +254,17 @@ 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)) \
/Mpc
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:
client = rest.GraceDb(service)
......
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