Baseline review
MR to address issues pygwb_review#19 :
-
Added frequencies as optional parameter for
calc_baseline_orf
, and added aorf_polarization
property that may be toggled in theBaseline
. The idea is that the user can now specifypolarization
as input to thecalc_Y_sigma
functions, such that the Omega spectra may be calculated with different orfs. -
Change the default value of
h0
to one fromastropy
: I picked the WMAP9 result, seepygwb.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 thedsc
. This has been integrated in thecalc_Y_sigma
functions, adding in aapply_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