Commit 284eac98 authored by Christopher Wipf's avatar Christopher Wipf

Merge branch '22-newtonian.py-overflow' into 'master'

Resolve "Newtonian.py: Overflow protection needed"

Closes #22

See merge request !30
parents ed9f479b a898974f
Pipeline #28251 passed with stages
in 57 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