Skip to content
Snippets Groups Projects
Commit 284eac98 authored by Christopher Wipf's avatar Christopher Wipf
Browse files

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

Resolve "Newtonian.py: Overflow protection needed"

Closes #22

See merge request !30
parents ed9f479b a898974f
No related branches found
No related tags found
1 merge request!30Resolve "Newtonian.py: Overflow protection needed"
Pipeline #28251 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment