Commit c1d60e95 authored by Jameson Rollins's avatar Jameson Rollins

Merge branch 'force-calibration' into 'master'

Displacement to force calibration

See merge request !111
parents 45a4be96 4a0163a2
Pipeline #169912 passed with stages
in 52 seconds
......@@ -203,11 +203,21 @@ def dhdl(f, armlen):
class Strain(nb.Calibration):
"""Calibrate displacement to strain
"""
def calc(self):
dhdl_sqr, sinc_sqr = dhdl(self.freq, self.ifo.Infrastructure.Length)
return dhdl_sqr
class Force(nb.Calibration):
"""Calibrate displacement to force
"""
def calc(self):
mass = mirror_struct(self.ifo, 'ETM').MirrorMass
return (mass * (2*pi*self.freq)**2)**2
############################################################
# noise sources
############################################################
......
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