Commit a898974f authored by Christopher Wipf's avatar Christopher Wipf

newtonian.py: rescale to avoid numerical overflow (fixes #22)

parent ed9f479b
Pipeline #28250 passed with stage
in 52 seconds
......@@ -44,7 +44,7 @@ def gravg(f, ifo):
omicron = 1
# a sort of theta function (Fermi distr.)
coeff = 1/(1 + 3**(gamma*(f-fk)))
coeff = 3**(-gamma*f)/(3**(-gamma*f) + 3**(-gamma*fk))
# modelization of seismic noise (vertical)
ground = a*coeff + a*(1-coeff)*(fk/f)**2
......
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