HERA-Team / hera-validation

Archive of formal software pipeline validation tests
http://hera.pbworks.com/w/page/130621356/Validation
0 stars 3 forks source link

Test 2.1.0 v2 #32

Closed r-pascua closed 4 years ago

r-pascua commented 5 years ago

2.1.0 -- Testing abscal, smooth_cal, and pspec with Foregrounds + EoR

Power spectra from absolutely calibrated visibilities agree with the true power spectra to better than 1% accuracy. Smoothing calibration solutions tends to introduce a slight bias in the final power spectrum estimate (typically at the percent level, but up to about 10% at the band edges); it also introduces yet-unexplained structure in the residuals at low-k.

Contributors:

Some questions

Steps Forward

A suggested list of condensed automatic tests arising from this PR, and relevant repos to include them in:

A suggested list of follow-up validation tests which may not already appear on the validation path:

@jaguirre @steven-murray @jsdillon

review-notebook-app[bot] commented 5 years ago

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.

r-pascua commented 4 years ago

Details regarding smooth_cal follow-up test:

To recap, smoothing calibration solutions introduces unusual (somewhat wavy) structure in the power spectrum residuals at low-k, and this structure looks to appear at delays around roughly twice the smoothing scale used. To diagnose this issue, some proposed tests are as follows:

Important to note is that the structure remains after performing an incoherent average over all times and another average over all baseline pairs. This may suggest that the same structure is appearing for every baseline at each time, but it is hard to say given how bright the foregrounds are at the k-modes of interest. So, it may be worthwhile to see if the structure in the residuals is baseline- or time-dependent. Alternatively, the suggested tests may be performed on a single file (~10 integrations), with all other parts of the analysis left unchanged.

review-notebook-app[bot] commented 4 years ago

View / edit / reply to this conversation on ReviewNB (backstory for this conversation format).

steven-murray commented on 2020-02-06T16:53:30Z ----------------------------------------------------------------

Can you insert a link to something explaining the Gibbs phenomenon? Also, can we make it clear if we expect smoothing to do better than not smoothing? i.e. is there anything in the applied gains that the smoothing should fix, or are we merely hoping it to be a roughly identity operation?


review-notebook-app[bot] commented 4 years ago

View / edit / reply to this conversation on ReviewNB (backstory for this conversation format).

steven-murray commented on 2020-02-06T16:53:31Z ----------------------------------------------------------------

I'm going to get you to move the "Last executed" line into a code cell and have it just print, because it doesn't seem to render well.


review-notebook-app[bot] commented 4 years ago

View / edit / reply to this conversation on ReviewNB (backstory for this conversation format).

steven-murray commented on 2020-02-06T16:53:32Z ----------------------------------------------------------------

It shouldn't change anything, but I would prefer to use the -1 index if you want to transform over the last axis, in case data is more than 2D (which it shouldn't be in this case...)


r-pascua commented on 2020-02-06T20:39:24Z ----------------------------------------------------------------

I've updated it to assume the frequency axis is the last axis, but now there's the option to specify a different axis. Had to add a few lines to correctly handle reshaping the taper so that the element-wise product is calculated correctly, but I think it should work correctly.