Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 4.0.0 #54

Merged
merged 201 commits into from
Apr 1, 2021
Merged

Test 4.0.0 #54

merged 201 commits into from
Apr 1, 2021

Conversation

steven-murray
Copy link
Contributor

Resolves #42.

steven-murray and others added 9 commits March 20, 2020 11:06
…experimentation was done in the notebook; it currently houses an example of part of a function to eventually be incorporated into the sim_prep module (the code will be removed once it is migrated to the sim_prep module). Updated the tools module's constructor to import the sim_prep module. Updated the sim_prep module to contain documented placeholder functions for various steps needed to prepare the simulation data for the test.
…nd key for autocorrelation (so noise can be added pre-inflation) and allow the user to specify a receiver temperature. Added some comments with concerns/questions. Fleshed out most of the placeholder functions in sim_prep; only remaining step for generating H1C-like files from RIMEz files and reference H1C files is to develop the code for finding the intersection between the arrays and appropriately downselecting the RIMEz data. Also a bunch of small formatting changes to docstrings and comments.
…menting with things. More updates anticipated before ready for handoff.
…nt can't be inferred from the passed filename. Change docstring to a one-liner.
… adding systematics (gains, reflections, xtalk) written.
r-pascua added 9 commits April 2, 2020 23:37
…data as best as possible. Update notebook to show that the resulting files are properly constructed and may be redundantly and absolutely calibrated. There are also some changes to the add_noise function that have not yet been completed; this will be fixed in the next commit.
…pdates to the function. Note: the beam polynomial still needs to be updated to agree with the beam model used in the RIMEz sim.
r-pascua added 21 commits June 25, 2020 11:47
Added a function for simulating a shoulder/spectrum of reflections.
Mostly just a thin wrapper around add_reflections.
Extend the behavior of prepare_sim_files pre-processing to modify time
variation parameters for linear gain variation such that reflections may
also have a linear amplitude drift over the course of a night.
Extend add_reflections to handle applying multiple reflections
(implicitly understood as the thing to do when amp/dly are passed as
iterables). Simplify add_reflection_spectrum to be a very thin wrapper
around add_reflections. Update vary_gains_in_time to vary the gains
in-place. Still need to run some preliminary tests.
Ensure that each reflection in the reflection shoulder has its own
delay/amplitude jitter, rather than broadcasting that jitter to every
reflection in the shoulder.
Update the add_reflections function to allow for multiple values of
amp_scale and dly_spread to be specified.
Fixed a typo; also added extra parameter checking for multiple
reflections.
Add a clause to the main loop of the prepare_data batch script so that
the EoR-only, chunked files are produced when the first day of the
set of observing days is simulated.
This is for the new run with a slightly stronger EoR signal than was
used in previous runs. Since the foregrounds haven't changed, and
nothing about the systematics simulation has changed, foreground-only
files will not be recreated.
This commit introduces a few new and important plots to the end-to-end
validation notebook. In particular, the notebook now contains a
comparison of real data to simulated data, as well as a single figure
that shows the progression of systematics added to the simulation. The
code for plotting waterfalls has also been removed and now the notebook
uses the fancy plotting tools available in uvtools.
There was a bug that caused the script to fall over if the configuration
file had an entry for noise, but did not have a corresponding entry for
setting the random seed. This has been fixed. Note that the bug did not
affect the quality of any of the previous validation simulation
products.
@steven-murray
Copy link
Contributor Author

@r-pascua The notebook looks good. I just have a few comments:

  1. There are a few figures without captions
  2. At least one of the captions has a "TODO: " in it that should be updated.
  3. There's a bunch of stuff at the end of the notebook that can get deleted (i.e. we used this notebook just for simulating, don't need the pspec headings in there).

Other than that, I think we're good to go.

@r-pascua
Copy link
Collaborator

@steven-murray I think you may be looking at an outdated version of the notebook. (If you're clicking the ReviewNB link, then it might be showing you a very old version.) Here's a rendered version of the updated notebook: https://nbviewer.jupyter.org/github/HERA-Team/hera-validation/blob/test-4.0.0/test-series/4/test-4.0.0a.ipynb

All of the concerns raised in the previous comment should already be addressed. The only thing that I think needs to be addressed is that I only have a question mark put down next to the "Criteria" item in the description cell.

@steven-murray
Copy link
Contributor Author

Ugh. OK, sorry for the noise. Yes, the current notebook looks excellent. For the criteria, I'd just say "N/A: test criteria appear in notebook 4.0.0c, in which power spectra are calculated".

@r-pascua
Copy link
Collaborator

Ok, great! Should I just make an "approve" review after pushing that change?

@steven-murray
Copy link
Contributor Author

Yeah, sounds good!

@r-pascua r-pascua merged commit 9dac6b8 into master Apr 1, 2021
@r-pascua r-pascua deleted the test-4.0.0 branch April 1, 2021 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Step 4.0: Basic End-to-End
6 participants