This morning we successfully updated the CALI metatron code to also be able to inject scattered light noise with the SNEB and SWEB benches.
Following actions were done:
- stop CALI process, update the code, and restart process
- test regular injection script: CALIBRATED_DELAY: it worked as expected
- test the CALIBRATED_DF_SCATTEREDLIGHT script: as intended it started and then waited for the ITF to lock and to have DF_READY state.
- update code to let the CALIBRATED_DF_SCATTEREDLIGHT script also work with the ITF unlocked: changing the sequence to go from DOWN to CALIBRATING_DF_SCATTEREDLIGHT and commenting out the ITF unlock check in its corresponding function.
- reloaded everything and tested CALIBRATED_DF_SCATTEREDLIGHT again. It worked and executed inject_scatteredlight.py NoInj --duration 300 --config darkFringe --SLfreqs 0.2 --SLGain 100. This will do nothing (NoInj) but tests if the right functions are called.
- then I updated CALI_USER.ini to turn on the injections: inject_scatteredlight.py Inj --duration 120 --config darkFringe --SLfreqs 0.2 --SLGain 100. This will inject for 120 seconds a signal of 0.2 Hz with amplitude(gain) 100 first to SNEB and then to SWEB. It worked as expected: as can be be seen in the attached figure first SNEB was excited and then SWEB.
- the CALI metatron is still in CALIBRATED_DF_SCATTEREDLIGHT state now
The complete log of the injections is available here:
/virgoLog/Automation/CALI/META_CALI_2025-05-28-09h45m13-UTC.log
The injections are saved here: /virgoData/NoiseInjections/CALI/injections_darkFringe_ScatteredLight.txt:
SCATL z 1432462724 120 NE MIR # SNEB freq=0.2 amp=100
SCATL z 1432462874 120 WE MIR # SWEB freq=0.2 amp=100
So at this moment the injections can only be done in down state, for next tests during locked ITF we'll need to adjust the code again to go through READY_DF state.
Given that the code is working we can now finetune the injections and metatron sequences.
What would be nice to also have is:
- ability to adjust /virgoDev/Automation/scripts/CALI/inject_scatteredlight.py through VPM like the other scripts (note that a directory fix is needed for all of them to work)
- determine how to have these injections automated/scheduled
- add a datadisplay config to /virgoData/Dy/cali/
- finetune the functions to allow for multiple frequencies and amplitudes per injection
AdV-DAQ›Calibration
#66861