The relevent code snippit, extracted from the previous elog, to produce the correct RoC in Finesse, in a hot interferometer, is this one:
# create a new Virgo model
virgo = finesse.virgo.Virgo("02_tf_sideband.kat")
# %%
model = virgo.model
def P_RH(I1, V1, I2, V2):
return (I1*V1 + I2*V2)
# RH values taken at 1453136567 (17h 22nd Jan 2026 UTC)
P_RH_NE = P_RH(I1=0.268,V1=16.0627, I2=0.27125, V2=16.03)
P_RH_WE = P_RH(I1=0.2903,V1=17.4024, I2=0.2954, V2=17.4)
print(f"NE: {P_RH_NE} W, WE: {P_RH_WE} W")
LMA_measurements = dict(
NI=1424.6,
NE=1692.6,
WI=1425.5,
WE=1695
) # taken from slide 8, "Cold IFO", VIR-0907A-25
Pifo = model.i1.P
for k,v in LMA_measurements.items():
v = v-4.9 # systematic error at LMA
v = v-2.9 # effect of cryo trap
v = v + 0.27*Pifo # VIR-0977A-25, Effect of YAG beams
if k[1] == "I":
v=-v #input mirrors are negative RoC in Finesse
else:
if k[0] == "N": # effect of the RH on the end mirrors
v = v-2.92*P_RH_NE
else:
v = v -2.41*P_RH_WE
getattr(model, k).Rc = v
# Also from VIR-0977A-25
model.NIsublens.f = 1/(Pifo*2.02e-6)
model.WIsublens.f = 1/(Pifo*2.02e-6)
model.beam_trace()
print(f"""
The expected second order mode freq is:
North: {2*model.cavN.mode_separation_x:.0f} Hz
West: {2*model.cavW.mode_separation_x:.0f} Hz
""")