Skip to content
Snippets Groups Projects

Stricter Gating for the TDCFs

Merged Aaron Viets requested to merge aaron-viets/gstlal-calibration:stricter-TDCF-gating into main
2 unresolved threads

This MR will apply stricter gating to the TDCFs. We encountered a problem using gstlal-calibration-1.5.7 where the TDCFs were not gated well enough during sweeps, or at any time when the lines are turned off. When the lines are off, the coherence calculation that we use to gate does not respond until the entire running median is filled with corrupted TDCF values. This propagated the the line subtraction TFs, which led to significant failure during and shortly after sweeps. See this plot (around 18:30 - 19:00 UTC) for an example. Also, see kappa_C at that time for an example of what caused it. This did not affect the production pipeline for a rather peculiar reason: the un-medianed TDCFs are computed as nan's instead of very large or very small values in gstlal-calibration-1.5.4. Although this behavior is not necessarily desired, it caused the running median to reject those values and prevented the line subtraction problem seen in the above linked plot.

Two new gating methods can be (optionally) applied to the TDCF calculation with this MR. First, we can gate with the line amplitude channels (with names like {IFO}:CAL-CS_LINE_[1-3]_OSC_CLKGAIN or CAL-PCAL[X/Y]_PCALOSC[1-9]_OSC_SINGAIN). Second, we can also gate with the excitation channels themselves. Here is the raitionale for adding both of these rather than just one:

  • If we encounter a situation where the pipeline cannot access an excitation channel for some time (due to, e.g., a raw data dropout), only the excitation channel itself can tell us that.
  • When another type of injection is occurring (e.g., a Pcal sweep), the injection channel will not carry zeros, so the corresponding amplitude channel is needed in that case. I have verified that both methods work. Below is a plot showing kappa_C and f_cc after the fix. Note that the excursion shown in the above plot of kappa_C is removed, as expected.sensing_TDCFs.png_1406743418-4899

The next plot shows that I can reproduce the error offline using gstlal-1.5.7: L1_GDS-CALIB_STRAIN_NOLINES_spectrogram_10-1000Hz_1406743418-4900

This last plot shows that the line subtraction works as expected after the fix. I used both gating methods to make this plot. L1_GDS-CALIB_STRAIN_NOLINES_spectrogram_10-1000Hz_1406743418-4900_both

The sweep, as well as a broadband injection, can be seen in this plot. We make no effort to subtract these.

Merge request reports

Merge request pipeline #654983 passed

Merge request pipeline passed for ce3c0f01

Merged by Aaron VietsAaron Viets 6 months ago (Aug 23, 2024 4:31pm UTC)

Loading

Pipeline #655015 passed

Pipeline passed for 27c9fc13 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Madeline Wade resolved all threads

    resolved all threads

  • Aaron Viets added 1 commit

    added 1 commit

    Compare with previous version

  • Madeline Wade approved this merge request

    approved this merge request

  • Aaron Viets added 1 commit

    added 1 commit

    • f289bac1 - try to get MR CI working again

    Compare with previous version

  • Aaron Viets reset approvals from @madeline-wade by pushing to the branch

    reset approvals from @madeline-wade by pushing to the branch

  • Aaron Viets added 1 commit

    added 1 commit

    • 2c62b506 - try to get MR CI working, take 3

    Compare with previous version

  • Aaron Viets added 1 commit

    added 1 commit

    • ce3c0f01 - try to get MR CI working, take 4

    Compare with previous version

  • Aaron Viets mentioned in commit 27c9fc13

    mentioned in commit 27c9fc13

  • merged

  • Please register or sign in to reply
    Loading