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

feat: ability use builtin observatories #75

Merged
merged 15 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ jobs:
if: success()
with:
file: ./coverage.xml #optional
token: ${{ secrets.CODECOV_TOKEN }} #required
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ pip-wheel-metadata/
.vscode/
*MHz.h5
docs/reference/_autosummary
*.egg-info/
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Features
a closer resemblance to the original 21cmSense v1.
* New ``calculate_sensitivity_2d_grid`` method that makes it easier to obtain a gridded
cylindrical power spectrum sensitivity for arbitrary bins.
* Ability to use builtin observatories that set certain parameters.
* ``antpos.hera()`` can now return a split-core configuration, and also outriggers.

v2.0.0
Expand Down
5 changes: 3 additions & 2 deletions docs/tutorials/getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,8 @@
}
],
"source": [
"coherent_grid = observatory.grid_baselines_coherent(\n",
"coherent_grid = observatory.grid_baselines(\n",
" coherent=True,\n",
" baselines=baseline_group_coords,\n",
" weights=baseline_group_counts\n",
")"
Expand Down Expand Up @@ -1109,7 +1110,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.10.6"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
Expand Down
268 changes: 268 additions & 0 deletions docs/tutorials/using_builtin_observatories.ipynb

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions py21cmsense/data/antpos/hera-h1c-idr3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
-1.353014802932739258e+01 -1.181450861941557378e+02 -9.566264385916292667e+01
-1.884822099935263395e+01 -1.045396618698723614e+02 -9.560969073977321386e+01
-2.416632062196731567e+01 -9.093424828629940748e+01 -9.555672054504975677e+01
-4.963128907606005669e+00 -1.226810004494618624e+02 -8.473808013228699565e+01
-1.032920262496918440e+01 -1.090944140243809670e+02 -8.465448297793045640e+01
-1.568730055075138807e+01 -9.550469809141941369e+01 -8.457597754057496786e+01
-2.088537837285548449e+01 -8.185218258900567889e+01 -8.459963086619973183e+01
3.616637547500431538e+00 -1.272119525789748877e+02 -7.381000724295154214e+01
-1.677401631139218807e+00 -1.135970968017354608e+02 -7.377239787951111794e+01
-6.995474578812718391e+00 -9.999167313100770116e+01 -7.371944511728361249e+01
-1.231357416976243258e+01 -8.638626019703224301e+01 -7.366647527972236276e+01
-1.754367469064891338e+01 -7.274631206132471561e+01 -7.366968489065766335e+01
1.216759750898927450e+01 -1.317541681148577482e+02 -6.287519241962581873e+01
6.929588386788964272e+00 -1.181173241157084703e+02 -6.287335302354767919e+01
1.611528756096959114e+00 -1.045118953352794051e+02 -6.282040897523984313e+01
-3.722562248818576336e+00 -9.091275831824168563e+01 -6.275723033817484975e+01
-9.016668104566633701e+00 -7.729792946088127792e+01 -6.271957841515541077e+01
-1.437481941841542721e+01 -6.370823565078899264e+01 -6.264103935798630118e+01
2.073930714093148708e+01 -1.362882810833398253e+02 -5.194197718473151326e+01
1.543729238305240870e+01 -1.226765558507759124e+02 -5.189927640836685896e+01
1.018326523993164301e+01 -1.090459983693435788e+02 -5.188721100054681301e+01
4.849187562242150307e+00 -9.544685633759945631e+01 -5.182404111279174685e+01
-4.529072642326354980e-01 -8.183516302471980453e+01 -5.178128911461681128e+01
-5.787038208916783333e+00 -6.823604255751706660e+01 -5.171808507852256298e+01
2.935423192940652370e+01 -1.408053934818599373e+02 -4.104799868678674102e+01
2.403622569236904383e+01 -1.271999440449289978e+02 -4.099508914165198803e+01
1.871019040886312723e+01 -1.135976458243094385e+02 -4.093705380149185658e+01
1.337612610403448343e+01 -9.999849888263270259e+01 -4.087389266397804022e+01
8.082047081552445889e+00 -8.638366017048247159e+01 -4.083625806961208582e+01
2.795943728648126125e+00 -7.276569152832962573e+01 -4.080371512426063418e+01
-2.426167435944080353e+00 -5.912260896083898842e+01 -4.081202489137649536e+01
3.800914182141423225e+01 -1.453068140144459903e+02 -3.017954673757776618e+01
3.263513191975653172e+01 -1.317233424813020974e+02 -3.009088496211916208e+01
2.730110753513872623e+01 -1.181241796358954161e+02 -3.002774964505806565e+01
2.199106373731046915e+01 -1.045156061430461705e+02 -2.997992337681353092e+01
1.667299088090658188e+01 -9.091018385859206319e+01 -2.992697132704779506e+01
1.136289375368505716e+01 -7.730163178127259016e+01 -2.987911090813577175e+01
6.068774718791246414e+00 -6.368680928973481059e+01 -2.984145083045586944e+01
8.146408256143331528e-01 -5.005629452969878912e+01 -2.982931720791384578e+01
4.663678712863475084e+01 -1.498189747424330562e+02 -1.928204166609793901e+01
4.119076853897422552e+01 -1.362637619809247553e+02 -1.914741051895543933e+01
3.587276234664022923e+01 -1.226583132378291339e+02 -1.909450133051723242e+01
3.055472950357943773e+01 -1.090528752345126122e+02 -1.904157506953924894e+01
2.525267482269555330e+01 -9.544116695993579924e+01 -1.899884911347180605e+01
1.994259106274694204e+01 -8.183260986534878612e+01 -1.895099739450961351e+01
1.464848541282117367e+01 -6.821778237237595022e+01 -1.891334597999230027e+01
5.522762353345751762e+01 -1.543455392380710691e+02 -8.372686089947819710e+00
4.983763517625629902e+01 -1.407683382581453770e+02 -8.273824636824429035e+00
4.447162763122469187e+01 -1.271817270356696099e+02 -8.190272127743810415e+00
3.915360810887068510e+01 -1.135762839457020164e+02 -8.137354581616818905e+00
3.385156677942723036e+01 -9.996457059821113944e+01 -8.094637305941432714e+00
2.854149635229259729e+01 -8.635600842442363501e+01 -8.046794284600764513e+00
2.324740406591445208e+01 -7.274117586575448513e+01 -8.009151534643024206e+00
1.795328508038073778e+01 -5.912635391880758107e+01 -7.971491708420217037e+00
1.264313461817800999e+01 -4.551782375038601458e+01 -7.923597465734928846e+00
5.846523955091834068e+01 -1.452805143310688436e+02 2.623705561738461256e+00
5.305123051907867193e+01 -1.317127406052313745e+02 2.737901186104863882e+00
4.774122678861021996e+01 -1.181041520228609443e+02 2.785701361019164324e+00
4.242319395206868649e+01 -1.044987146286293864e+02 2.838627268560230732e+00
3.712914174795150757e+01 -9.088386643514968455e+01 2.876244280021637678e+00
3.181905800569802523e+01 -7.727530992147512734e+01 2.924095677677541971e+00
2.651695000752806664e+01 -6.366362354950979352e+01 2.966855493839830160e+00
2.120681292377412319e+01 -5.005508840736001730e+01 3.014741037972271442e+00
7.158875706698745489e+01 -1.558917650254443288e+02 1.722577638877555728e+01
6.632682151719927788e+01 -1.422643128440249711e+02 1.724289040965959430e+01
5.364556475449353456e+01 -9.236911282641813159e+01 2.836392122181132436e+01
4.835149925202131271e+01 -7.875427055638283491e+01 2.840154647780582309e+01
4.304940461181104183e+01 -6.514257945213466883e+01 2.844429742032662034e+01
3.773127843067049980e+01 -5.153718014876358211e+01 2.849728266801685095e+01
1.048607184821739793e+02 -2.995865078354254365e+02 -1.968903261562809348e+01
1.376887764884158969e+02 -2.087586419745348394e+02 8.991649550758302212e+01
Loading
Loading