Displaying report 1-1 of 1.
Reports until 18:24, Tuesday 05 March 2024
H1 ISC
trent.gayer@LIGO.ORG - posted 18:24, Tuesday 05 March 2024 - last comment - 15:18, Thursday 07 March 2024(76140)
Improved peak fitting in omc_scan

Trent, Matt, Georgia, Jennie W

fit_peak.py takes a chosen field and mode peak and fits a lorentzian curve to it. The problem with it was that all important arguments like gps_time, duration, field, and mode were all hard coded. We wanted to edit this code so that you can input these values as command line arguments. This new file fit_peak_w_args.py lives in my forked branch of labutils tgayer.

This code also calculates the finesse of the cavity from the calculated full width half max and prints it out to the command line.

We would also like to further improve this code by changing the fit so that we factor in the baseline of the data so that the tails of the fit better match the baseline.

An example of what you run on the command line [python3 /ligo/gitcommon/labutils/omc_scan/fit_peak_w_args.py 1393542033 80 "two watt single bounce side bands nominal" "single bounce" "carrier" "00"]

[/ligo/gitcommon/labutils/omc_scan/fit_peak.py]

[/ligo/gitcommon/labutils/omc_scan/fit_peak_w_args.py]

Comments related to this report
trent.gayer@LIGO.ORG - 15:18, Thursday 07 March 2024 (76192)

I fixed a problem with the plot title labeling. It would always say carrier but now it displays the properly shown field. I also colored the section of the plot that we fit the lorenztian to. Attached is an example.

Non-image files attached to this comment
Displaying report 1-1 of 1.