Skip to content

Baseline review

Arianna Renzini requested to merge arianna.renzini/pygwb:baseline_review into master

MR to address issues pygwb_review#19 :

  • Added frequencies as optional parameter for calc_baseline_orf, and added a orf_polarization property that may be toggled in the Baseline. The idea is that the user can now specify polarization as input to the calc_Y_sigma functions, such that the Omega spectra may be calculated with different orfs.

  • Change the default value of h0 to one from astropy: I picked the WMAP9 result, see pygwb.constants. The value is now

h0 = 0.6931999

Note that with this new h0 the results of the standard pygwb_pipe --params_file pygwb_pipe/parameters.ini command have changed to

2022-05-26 17:03:53.100 | SUCCESS  | __main__:main:127 -        POINT ESIMATE: -6.172640e-06
2022-05-26 17:03:53.100 | SUCCESS  | __main__:main:128 -        SIGMA: 2.558363e-06

which is what we expect.

  • Allow for user-defined badGPStimes as well as those calculated from the dsc. This has been integrated in the calc_Y_sigma functions, adding in a apply_dsc flag so that one may switch all the cuts off if needed. By default, the cuts are off in the pipeline

I also cleaned up a few extra things:

  • implementation of notching in baseline.set_point_estimate_sigma
  • changed the name of postprocessing.calc_Y_sigma_from_Yf_varf -> postprocessing.calc_Y_sigma_from_Yf_sigmaf to reflect its actual parameters.
Edited by Arianna Renzini

Merge request reports