simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
16 stars 19 forks source link

Add lowpass filter to PCA Relcal #1043

Closed mmccrackan closed 18 hours ago

mmccrackan commented 20 hours ago

This branch adds an optional lowpass filter to the PCARelCalstage of the pipeline. Previously, the lowpass was run as a separate filter stage before PCARelCal which results in a copy of timestreams being saved. Now, the filtering occurs in the PCA calc_and_save function and is only temporarily stored. The lpf configs, as well as the number of samples to trim, can be added to the PCARelCal config step.

mmccrackan commented 18 hours ago

Ran the same configuration through both the master branch and this branch, plotted all relcal fields against each other, and found all to be identical in dimensions and value.