pyuvdata 3.2.7__tar.gz → 3.2.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/workflows/macosx_windows_ci.yaml +15 -2
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/workflows/numba_test.yaml +4 -3
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/workflows/publish-to-test-pypi.yaml +32 -11
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/workflows/warning_test.yaml +2 -2
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.gitignore +6 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.pre-commit-config.yaml +2 -2
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/CHANGELOG.md +69 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/PKG-INFO +12 -8
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/README.md +10 -6
- pyuvdata-3.2.9/ci/prefetch_test_data.py +67 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/pyuvdata_min_deps_tests.yml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/pyuvdata_min_versions_tests.yml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/pyuvdata_tests.yml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/pyuvdata_tests_mac_arm.yml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/pyuvdata_tests_windows.yml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/conventions.rst +10 -7
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/environment.yaml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/pyproject.toml +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/beam_interface.py +26 -6
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/datasets.py +2 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/coordinates.c +25283 -21373
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/gain_interpolate.py +33 -16
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/hdf5.py +13 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/ms.py +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/phasing.c +22606 -19102
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/phasing.py +33 -20
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/tools.py +8 -8
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/uvcalibrate.py +107 -41
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/uvbeam.c +22549 -19039
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/uvbeam.py +199 -82
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/calfits.py +4 -2
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/ms_cal.py +22 -15
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/uvcal.py +70 -40
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/corr_fits.c +25582 -21716
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/ms.py +70 -33
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/miriad_wrap.cpp +9742 -7637
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/uvdata.py +68 -35
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/uvfits.py +70 -70
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/uvh5.py +1 -9
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvflag/uvflag.py +12 -19
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/PKG-INFO +12 -8
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/SOURCES.txt +1 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/requires.txt +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/scm_file_list.json +1 -0
- pyuvdata-3.2.9/src/pyuvdata.egg-info/scm_version.json +8 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/conftest.py +1 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/io/test_hdf5.py +14 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_gain_interpolate.py +33 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_phasing.py +20 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_uvcalibrate.py +85 -24
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_uvbeam.py +265 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_calfits.py +32 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_ms_cal.py +7 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_uvcal.py +40 -5
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_miriad.py +20 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_ms.py +113 -1
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_uvdata.py +125 -7
- pyuvdata-3.2.7/src/pyuvdata.egg-info/scm_version.json +0 -8
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.circleci/config.yml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.codecov.yml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.coveragerc +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/CITATION.cff +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/CONTRIBUTING.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.github/dependabot.yml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/.readthedocs.yml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/CODE_OF_CONDUCT.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/LICENSE +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/azure-piplines.yml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/ci/test_requirements.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/abs_gains.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/airy_beam_100MHz.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/airy_beam_200MHz.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/amplitude_waterfall.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/amplitude_waterfall_spw0.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/beam_coordinate_figure.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/dipole_mwa_power.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/efield_power_beam_cut.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_efield.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_efield_phase.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_efield_zoom.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_power_healpix_zoom.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_power_zoom.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/hera_pstokes.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_fa_proj.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_fa_resp.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_off_zenith_power.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_zenith_cross_power.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_zenith_efield.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_zenith_efield_abs.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/mwa_zenith_power.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/select_beam_cut.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/short_dipole_beam.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/short_dipole_fa_projection.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Images/short_dipole_fa_response.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/Makefile +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/_templates/breadcrumbs.html +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/analytic_beam_tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/analytic_beams.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/beam_interface.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/beam_interface_tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/conf.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/conftest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/cst_settings_yaml.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/developer_docs.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/fast_calh5_meta.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/fast_uvh5_meta.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_index.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_telescope.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_uvbeam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_uvcal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_uvdata.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/make_uvflag.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/AIPSMEM117.PDF +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/Far_field_spherical_FEKO_draft2.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/GPS.G1-X-00006_Datum_Transformations.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/aasjournal.bst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/app_icrs_frame_comp.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/beamfits_memo.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/beamfits_memo.tex +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/calfits_memo.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/calfits_memo.tex +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/calh5.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/calh5.tex +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/making_release.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/miriad-uvvars.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/ncp_icrs_app.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/phasing.bib +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/phasing.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/phasing.tex +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/simple_interferometer.png +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/uvh5_diagram.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/uvh5_memo.pdf +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/references/uvh5_memo.tex +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/requirements.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/tutorial_data_note.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/utility_functions.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/uvbeam_tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/uvcal_tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/docs/uvdata_tutorial.rst +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/paper.bib +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/paper.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/check_uvfits_equal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/convert_to_uvfits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/fhd_batch_convert.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/make_bad_fhd_files.pro +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/pyuvdata_inspect.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/readwrite_uvfits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/renumber_ants.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/test_cover_noinstall.sh +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/test_coverage.sh +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/truncate_fhd_files.pro +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/scripts/uvfits_memtest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/setup.cfg +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/setup.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/analytic_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/README.md +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/hera_ant_pos.csv +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/jpl_major_bodies.json +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa128_ant_layouts.npz +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_ant_pos.csv +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/Chebychev_coeff.h5 +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/MWA_rev_cb_10khz_doubles.h5 +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/MWA_rev_cb_10khz_doubles.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/mwa_lna_impedance.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/mwax_pfb_bandpass_40kHz.h5 +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/mwax_pfb_bandpass_80kHz.h5 +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/mwa_config_data/sigma1.h5 +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/test_analytic_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/test_data.yaml +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/data/test_data_registry.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/docstrings.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/parameter.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/telescopes.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/testing/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/testing/warning_check.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/antenna.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/apply_uvflag.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/array_collapse.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/averaging.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/averaging_numba.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/bls.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/bls_numba.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/bltaxis.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/coordinates.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/coordinates.pyx +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/frequency.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/history.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/antpos.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/fhd.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/io/fits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/phase_center_catalog.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/phasing.pyx +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/plotting.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/pol.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/redundancy.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/times.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/utils/types.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbase.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/beamfits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/cst_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/feko_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/mwa_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvbeam/uvbeam.pyx +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/calh5.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/fhd_cal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvcal/miriad_cal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/aipy_extracts.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/corr_fits.pyx +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/fhd.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/mir.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/mir_meta_data.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/mir_parser.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/miriad.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/mwa_corr_fits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/aipy_compat.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/bug.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/dio.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/headio.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/hio.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/hio.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/io.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/maskio.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/maxdimc.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/miriad.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/miriad_wrap.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/miriad_wrap.pyx +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/pack.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/sysdep.h +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvdata/src/uvio.c +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata/uvflag/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/dependency_links.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/src/pyuvdata.egg-info/top_level.txt +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_analytic_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_beam_interface.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_docstrings.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_parameter.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_telescopes.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_uvbase.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/test_warning_check.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/conftest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/io/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/io/test_ms.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_apply_uvflag.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_array_collapse.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_averaging.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_bls.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_bls_numba.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_bltaxis.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_coordinates.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_phase_center_catalog.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_plotting.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_pol.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_redundancy.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_times.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/utils/test_tools.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/conftest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_beamfits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_cst_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_feko_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvbeam/test_mwa_beam.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/conftest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_calh5.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_fhd_cal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvcal/test_miriad_cal.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/conftest.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_aipy_extracts.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_fhd.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_import_errors.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_initializers.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_mir.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_mir_meta_data.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_mir_parser.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_mwa_corr_fits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_uvfits.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvdata/test_uvh5.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvflag/__init__.py +0 -0
- {pyuvdata-3.2.7 → pyuvdata-3.2.9}/tests/uvflag/test_uvflag.py +0 -0
|
@@ -19,6 +19,9 @@ jobs:
|
|
|
19
19
|
name: Run Tests
|
|
20
20
|
env:
|
|
21
21
|
PYTHON: ${{ matrix.python-version }}
|
|
22
|
+
# Keep the test data in the workspace rather than the per-OS default cache
|
|
23
|
+
# location, so it can be cached with a single path on every runner.
|
|
24
|
+
PYUVDATA_DATA_DIR: ${{ github.workspace }}/pooch_cache
|
|
22
25
|
runs-on: ${{ matrix.os }}
|
|
23
26
|
defaults:
|
|
24
27
|
run:
|
|
@@ -41,7 +44,7 @@ jobs:
|
|
|
41
44
|
persist-credentials: false
|
|
42
45
|
|
|
43
46
|
- name: Setup Miniforge
|
|
44
|
-
uses: conda-incubator/setup-miniconda@
|
|
47
|
+
uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
|
|
45
48
|
with:
|
|
46
49
|
miniforge-version: latest
|
|
47
50
|
python-version: ${{ matrix.python-version }}
|
|
@@ -59,6 +62,16 @@ jobs:
|
|
|
59
62
|
exit 1;
|
|
60
63
|
fi
|
|
61
64
|
|
|
65
|
+
- name: Restore cached test data
|
|
66
|
+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
67
|
+
with:
|
|
68
|
+
path: pooch_cache
|
|
69
|
+
key: pooch-${{ runner.os }}-${{ hashFiles('src/pyuvdata/datasets.py') }}
|
|
70
|
+
|
|
71
|
+
- name: Download any test data not already cached
|
|
72
|
+
run: |
|
|
73
|
+
python ci/prefetch_test_data.py "$PYUVDATA_DATA_DIR"
|
|
74
|
+
|
|
62
75
|
- name: Install
|
|
63
76
|
run: |
|
|
64
77
|
CFLAGS="-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1" pip install .
|
|
@@ -67,7 +80,7 @@ jobs:
|
|
|
67
80
|
run: |
|
|
68
81
|
python -m pytest -n auto --dist=loadfile --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:./coverage.xml
|
|
69
82
|
|
|
70
|
-
- uses: codecov/codecov-action@
|
|
83
|
+
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
71
84
|
if: success()
|
|
72
85
|
with:
|
|
73
86
|
token: ${{secrets.CODECOV_TOKEN}} #required
|
|
@@ -25,9 +25,10 @@ jobs:
|
|
|
25
25
|
persist-credentials: false
|
|
26
26
|
|
|
27
27
|
- name: Setup Python
|
|
28
|
-
uses: actions/setup-python@
|
|
28
|
+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
29
29
|
with:
|
|
30
|
-
python-version-file
|
|
30
|
+
# TODO:Back to python-version-file once h5py has cp315 wheels
|
|
31
|
+
python-version: "3.14"
|
|
31
32
|
|
|
32
33
|
- name: Install
|
|
33
34
|
run: |
|
|
@@ -42,7 +43,7 @@ jobs:
|
|
|
42
43
|
run: |
|
|
43
44
|
NUMBA_DISABLE_JIT=1 pytest tests/utils/test_bls_numba.py tests/utils/test_gain_interpolate.py tests/utils/test_averaging.py -n auto --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:coverage.xml
|
|
44
45
|
|
|
45
|
-
- uses: codecov/codecov-action@
|
|
46
|
+
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
46
47
|
if: success()
|
|
47
48
|
with:
|
|
48
49
|
token: ${{secrets.CODECOV_TOKEN}} #required
|
|
@@ -16,6 +16,8 @@ jobs:
|
|
|
16
16
|
build_wheels:
|
|
17
17
|
name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }} ${{ matrix.buildplat[2] }}
|
|
18
18
|
runs-on: ${{ matrix.buildplat[0] }}
|
|
19
|
+
env:
|
|
20
|
+
PYUVDATA_DATA_DIR: ${{ github.workspace }}/pooch_cache
|
|
19
21
|
strategy:
|
|
20
22
|
fail-fast: false
|
|
21
23
|
matrix:
|
|
@@ -35,15 +37,40 @@ jobs:
|
|
|
35
37
|
fetch-depth: 0
|
|
36
38
|
persist-credentials: false
|
|
37
39
|
|
|
40
|
+
# Only for the prefetch step below
|
|
41
|
+
- name: Setup Python
|
|
42
|
+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
43
|
+
with:
|
|
44
|
+
python-version-file: pyproject.toml
|
|
45
|
+
|
|
46
|
+
# Suppress the cache-poisoning audit for this step, since the only way to fix it
|
|
47
|
+
# is to allow for lookup-only , which would stop the cache from being restored.
|
|
48
|
+
# Known issue: https://github.com/zizmorcore/zizmor/issues/2071 -- the ignore can
|
|
49
|
+
# get removed once the issue is implemented in zizmor.
|
|
50
|
+
- name: Restore cached test data
|
|
51
|
+
if: github.event_name != 'release'
|
|
52
|
+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 # zizmor: ignore[cache-poisoning]
|
|
53
|
+
with:
|
|
54
|
+
path: pooch_cache
|
|
55
|
+
key: pooch-${{ runner.os }}-${{ hashFiles('src/pyuvdata/datasets.py') }}
|
|
56
|
+
|
|
57
|
+
- name: Download any test data not already cached
|
|
58
|
+
shell: bash
|
|
59
|
+
run: |
|
|
60
|
+
python -m pip install pooch pyyaml
|
|
61
|
+
python ci/prefetch_test_data.py "$PYUVDATA_DATA_DIR"
|
|
62
|
+
|
|
38
63
|
- name: Build wheels
|
|
39
|
-
uses: pypa/cibuildwheel@
|
|
64
|
+
uses: pypa/cibuildwheel@f11181315571b24e4a3c67f1a828532793f2df55 # v4.3.2
|
|
40
65
|
env:
|
|
41
66
|
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}*
|
|
42
67
|
CIBW_ARCHS: ${{ matrix.buildplat[2] }}
|
|
43
68
|
CIBW_TEST_REQUIRES: "-r ci/test_requirements.txt"
|
|
44
69
|
CIBW_TEST_COMMAND: "pytest {project}/tests -n auto"
|
|
70
|
+
CIBW_ENVIRONMENT: PYUVDATA_DATA_DIR='${{ env.PYUVDATA_DATA_DIR }}'
|
|
71
|
+
CIBW_ENVIRONMENT_LINUX: PYUVDATA_DATA_DIR=/project/pooch_cache
|
|
45
72
|
|
|
46
|
-
- uses: actions/upload-artifact@
|
|
73
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
47
74
|
with:
|
|
48
75
|
name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}
|
|
49
76
|
path: ./wheelhouse/*.whl
|
|
@@ -60,7 +87,7 @@ jobs:
|
|
|
60
87
|
- name: Build SDist
|
|
61
88
|
run: pipx run build --sdist
|
|
62
89
|
|
|
63
|
-
- uses: actions/upload-artifact@
|
|
90
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
64
91
|
with:
|
|
65
92
|
name: cibw-sdist
|
|
66
93
|
path: dist/*.tar.gz
|
|
@@ -72,19 +99,13 @@ jobs:
|
|
|
72
99
|
# IMPORTANT: this permission is mandatory for Trusted Publishing
|
|
73
100
|
id-token: write
|
|
74
101
|
steps:
|
|
75
|
-
- uses: actions/download-artifact@
|
|
102
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
76
103
|
with:
|
|
77
104
|
# unpacks all CIBW artifacts into dist/
|
|
78
105
|
pattern: cibw-*
|
|
79
106
|
path: dist
|
|
80
107
|
merge-multiple: true
|
|
81
108
|
|
|
82
|
-
- name: Upload to test PyPI
|
|
83
|
-
if: startsWith(github.ref, 'refs/tags')
|
|
84
|
-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
|
|
85
|
-
with:
|
|
86
|
-
repository_url: https://test.pypi.org/legacy/
|
|
87
|
-
|
|
88
109
|
- name: Upload to PyPI
|
|
89
110
|
if: startsWith(github.ref, 'refs/tags')
|
|
90
|
-
uses: pypa/gh-action-pypi-publish@
|
|
111
|
+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
persist-credentials: false
|
|
40
40
|
|
|
41
41
|
- name: Setup Python
|
|
42
|
-
uses: actions/setup-python@
|
|
42
|
+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
43
43
|
with:
|
|
44
44
|
python-version: ${{ matrix.python-version }}
|
|
45
45
|
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
run: |
|
|
57
57
|
pytest -W error -n auto ${PYTEST_OPTIONS}
|
|
58
58
|
|
|
59
|
-
- uses: codecov/codecov-action@
|
|
59
|
+
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
60
60
|
if: matrix.coverage == true && success()
|
|
61
61
|
with:
|
|
62
62
|
token: ${{secrets.CODECOV_TOKEN}} #required
|
|
@@ -17,7 +17,7 @@ repos:
|
|
|
17
17
|
args: ['--fix=no']
|
|
18
18
|
|
|
19
19
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
20
|
-
rev: v0.
|
|
20
|
+
rev: v0.17.5
|
|
21
21
|
hooks:
|
|
22
22
|
- id: ruff
|
|
23
23
|
- id: ruff-format
|
|
@@ -30,6 +30,6 @@ repos:
|
|
|
30
30
|
additional_dependencies: ["bandit[toml]"]
|
|
31
31
|
|
|
32
32
|
- repo: https://github.com/zizmorcore/zizmor-pre-commit
|
|
33
|
-
rev: v1.
|
|
33
|
+
rev: v1.32.0
|
|
34
34
|
hooks:
|
|
35
35
|
- id: zizmor
|
|
@@ -3,6 +3,75 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
## [Unreleased]
|
|
5
5
|
|
|
6
|
+
## [3.2.9] - 2025-11-18
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- Support in `uvcalibrate` for flex-pol `UVData` objects, which carry one
|
|
10
|
+
polarization per spectral window, and for flex-Jones `UVCal` objects, which carry one
|
|
11
|
+
Jones term per spectral window. Solutions are matched to the data window by window.
|
|
12
|
+
- Support in `UVCal.get_gains`, `UVCal.get_flags` and `UVCal.get_quality` for selecting
|
|
13
|
+
a Jones term on flex-Jones objects.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- `UVCal.convert_to_flex_jones` numbers spectral windows the same way that
|
|
17
|
+
`UVData.convert_to_flex_pol` does, so that a matching `UVData` and `UVCal` objects
|
|
18
|
+
convert to the same window numbers.
|
|
19
|
+
- `UVCal.read_calfits` reads calfits files without memory-mapping them, which can be
|
|
20
|
+
several times faster on network file systems.
|
|
21
|
+
- Improved `UVBeam` azimuth/zenith spline interpolation performance by sharing the
|
|
22
|
+
tensor-product basis across beam data slices and using vectorized domain checks.
|
|
23
|
+
`scipy.interpolate.NdBSpline` is now used whenever `spline_opts` requests only the
|
|
24
|
+
spline orders `kx`/`ky` (the default), independent of `reuse_spline`;
|
|
25
|
+
`scipy.interpolate.RectBivariateSpline` remains in use for smoothing (`s != 0`) and
|
|
26
|
+
for any other RectBivariateSpline-only option. Both engines solve the same
|
|
27
|
+
interpolating spline for a given `kx`/`ky` with `s = 0`.
|
|
28
|
+
- Updated minimum dependency versions: scipy>=1.15
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
- A bug which caused `KeyError`s in `UVData.write_uvfits` with astropy>=8.0.3.
|
|
32
|
+
- A bug where `uvflag` errored when trying to write out extra keywords with value `None`.
|
|
33
|
+
- A bug in `UVCal.__add__` where `flex_jones_array` was not reordered along with the
|
|
34
|
+
spectral windows.
|
|
35
|
+
- A bug where `UVCal.convert_to_flex_jones` and `UVCal.remove_flex_jones` errored if
|
|
36
|
+
`total_quality_array` was set.
|
|
37
|
+
- Fixed reading MS files where `ASSOC_SPW_ID` exists but has zero-length cells
|
|
38
|
+
(e.g. CASA `split` output).
|
|
39
|
+
- A bug in `utils.gain_interpolate.time_interp_cal`/`UVCal.interpolate_in_time`
|
|
40
|
+
where solutions that were not in time order were interpolated incorrectly.
|
|
41
|
+
- A bug in `uvcalibrate` where calibration solutions were matched to the data by
|
|
42
|
+
position along the baseline-time axis, which caused an error when a baseline did not
|
|
43
|
+
have a record at every time in the data.
|
|
44
|
+
- A bug where the longitudinal coordinate (e.g., RA) of "ephem" phase centers was not
|
|
45
|
+
unwrapped, leading to potential discontinuities when performing interpolation.
|
|
46
|
+
|
|
47
|
+
## [3.2.8] - 2025-09-18
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
- A bug in `UVData.read_ms` where visibility units could not be parsed when stored in
|
|
51
|
+
a MeasurementSet as a singleton entry/list.
|
|
52
|
+
- A bug in `UVData.write_ms` which caused `corrected_data` and `model_data` not to be
|
|
53
|
+
reordered in the same way that, e.g., `UVData.data_array` was on write.
|
|
54
|
+
- A bug in `UVData.write_ms` which caused `corrected_data` and `model_data` not to be
|
|
55
|
+
conjugated (and be inconsistent with `UVData.data_array`) when a mixture of baseline
|
|
56
|
+
conjugation schemes was present.
|
|
57
|
+
- A bug in `UVData.read_ms_cal` and `UVData.write_ms_cal` where gains tables were not
|
|
58
|
+
being conjugated correctly.
|
|
59
|
+
- A bug where the Jones array stored in calibration tables generated by `UVCal.write_ms_cal`
|
|
60
|
+
could be incorrectly ordered.
|
|
61
|
+
- A bug where `utils.gain_interpolate.time_interp_cal` was not unwrapping phase gains
|
|
62
|
+
along the time axis correctly (mistakenly was using the Jones axis instead).
|
|
63
|
+
- A bug where calling `UVData.conjugate_bls` was not reordering `nsample_array` and
|
|
64
|
+
`flag_array` cross-polarization entries.
|
|
65
|
+
- A bug in `UVData.phase` where near-field phasing ignored `select_mask` and applied the
|
|
66
|
+
near-field correction to every record, overwriting the w-coordinate and rotating the
|
|
67
|
+
visibilities of records belonging to other phase centers.
|
|
68
|
+
|
|
69
|
+
### Changed
|
|
70
|
+
- `UVData.read_ms` and `UVData.write_ms` now always flip conjugation scheme on read and
|
|
71
|
+
write for non-pyuvdata generated MeasurementSets (it was previously believed that when
|
|
72
|
+
ant1 > ant2, the conjugation scheme may be flipped, but that was a misreading of CASA's
|
|
73
|
+
codebase).
|
|
74
|
+
|
|
6
75
|
## [3.2.7] - 2025-08-20
|
|
7
76
|
|
|
8
77
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyuvdata
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.9
|
|
4
4
|
Summary: A pythonic interface for radio astronomy interferometry data
|
|
5
5
|
Author-email: Bryna Hazelton <brynah@phys.washington.edu>, Adam Beardsley <adam.beardsley@winona.edu>, Daniel Jacobs <daniel.c.jacobs@gmail.com>, Garrett Keating <garrett.keating@cfa.harvard.edu>, Nicholas Kern <nkern@mit.edu>, Matthew Kolopanis <matthew.kolopanis@gmail.com>, Adam Lanman <alanman@mit.edu>, Paul La Plante <paul.laplante@unlv.edu>, Steven Murray <murray.steveng@gmail.com>, Jonathan Pober <jonathan_pober@brown.edu>, Pyxie Star <pyxiestar@gmail.com>
|
|
6
6
|
Maintainer-email: Bryna Hazelton <brynah@phys.washington.edu>, Matthew Kolopanis <matthew.kolopanis@gmail.com>, Garrett Keating <garrett.keating@cfa.harvard.edu>, Steven Murray <murray.steveng@gmail.com>
|
|
@@ -26,7 +26,7 @@ Requires-Dist: numba>=0.63; python_version >= "3.14"
|
|
|
26
26
|
Requires-Dist: numpy>=1.23
|
|
27
27
|
Requires-Dist: pyerfa>=2.0.1.1
|
|
28
28
|
Requires-Dist: pyyaml>=5.4.1
|
|
29
|
-
Requires-Dist: scipy>=1.
|
|
29
|
+
Requires-Dist: scipy>=1.15
|
|
30
30
|
Requires-Dist: setuptools_scm>=8.1
|
|
31
31
|
Provides-Extra: astroquery
|
|
32
32
|
Requires-Dist: astroquery>=0.4.4; extra == "astroquery"
|
|
@@ -230,7 +230,7 @@ Required:
|
|
|
230
230
|
* pyerfa >= 2.0.1.1
|
|
231
231
|
* python >= 3.11
|
|
232
232
|
* pyyaml >= 5.4.1
|
|
233
|
-
* scipy >= 1.
|
|
233
|
+
* scipy >= 1.15
|
|
234
234
|
* setuptools_scm >= 8.1
|
|
235
235
|
|
|
236
236
|
Optional:
|
|
@@ -265,17 +265,21 @@ in pyuvdata. The options that can be passed in this way are:
|
|
|
265
265
|
- ``novas``
|
|
266
266
|
- ``plotting``
|
|
267
267
|
- ``all``
|
|
268
|
+
- ``datasets``
|
|
268
269
|
- ``tutorial``
|
|
269
270
|
- ``test``
|
|
270
271
|
- ``doc``
|
|
271
272
|
- ``dev``
|
|
272
273
|
|
|
273
274
|
The first set (``astroquery``, ``casa``, ``hdf5_compression``, ``healpix``,
|
|
274
|
-
``lunar``, ``novas``, and ``plotting``) enable various specific functionality
|
|
275
|
-
while ``all`` will install all of the above to enable all functionality.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
``lunar``, ``novas``, and ``plotting``) enable various specific functionality,
|
|
276
|
+
while ``all`` will install all of the above to enable all optional functionality.
|
|
277
|
+
The ``datasets`` option will install pooch for downloading test data.
|
|
278
|
+
The ``tutorial`` option will install everything included with ``datasets`` and
|
|
279
|
+
``plotting`` to enable running the tutorial. The next two (``test`` and ``doc``)
|
|
280
|
+
include packages for testing and building the docs respectively. Finally, ``dev``
|
|
281
|
+
includes everything installed with ``all``, ``test`` and ``doc`` so installs
|
|
282
|
+
everything needed for developers of pyuvdata.
|
|
279
283
|
|
|
280
284
|
### Installing python-casacore
|
|
281
285
|
python-casacore requires the casacore c++ libraries. It can be installed easily
|
|
@@ -160,7 +160,7 @@ Required:
|
|
|
160
160
|
* pyerfa >= 2.0.1.1
|
|
161
161
|
* python >= 3.11
|
|
162
162
|
* pyyaml >= 5.4.1
|
|
163
|
-
* scipy >= 1.
|
|
163
|
+
* scipy >= 1.15
|
|
164
164
|
* setuptools_scm >= 8.1
|
|
165
165
|
|
|
166
166
|
Optional:
|
|
@@ -195,17 +195,21 @@ in pyuvdata. The options that can be passed in this way are:
|
|
|
195
195
|
- ``novas``
|
|
196
196
|
- ``plotting``
|
|
197
197
|
- ``all``
|
|
198
|
+
- ``datasets``
|
|
198
199
|
- ``tutorial``
|
|
199
200
|
- ``test``
|
|
200
201
|
- ``doc``
|
|
201
202
|
- ``dev``
|
|
202
203
|
|
|
203
204
|
The first set (``astroquery``, ``casa``, ``hdf5_compression``, ``healpix``,
|
|
204
|
-
``lunar``, ``novas``, and ``plotting``) enable various specific functionality
|
|
205
|
-
while ``all`` will install all of the above to enable all functionality.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
``lunar``, ``novas``, and ``plotting``) enable various specific functionality,
|
|
206
|
+
while ``all`` will install all of the above to enable all optional functionality.
|
|
207
|
+
The ``datasets`` option will install pooch for downloading test data.
|
|
208
|
+
The ``tutorial`` option will install everything included with ``datasets`` and
|
|
209
|
+
``plotting`` to enable running the tutorial. The next two (``test`` and ``doc``)
|
|
210
|
+
include packages for testing and building the docs respectively. Finally, ``dev``
|
|
211
|
+
includes everything installed with ``all``, ``test`` and ``doc`` so installs
|
|
212
|
+
everything needed for developers of pyuvdata.
|
|
209
213
|
|
|
210
214
|
### Installing python-casacore
|
|
211
215
|
python-casacore requires the casacore c++ libraries. It can be installed easily
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
"""
|
|
3
|
+
Download the pyuvdata test data into a shared pooch cache.
|
|
4
|
+
|
|
5
|
+
The wheel-building jobs run the test suite once per wheel, in an environment with a
|
|
6
|
+
cold cache, so each one re-downloads the whole test dataset from github. Running this
|
|
7
|
+
once on the runner and pointing the test environments at the result via the
|
|
8
|
+
PYUVDATA_DATA_DIR environment variable turns those N downloads into one.
|
|
9
|
+
|
|
10
|
+
Usage: python ci/prefetch_test_data.py <cache_dir>
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import importlib.util
|
|
14
|
+
import os
|
|
15
|
+
import sys
|
|
16
|
+
import types
|
|
17
|
+
from pathlib import Path
|
|
18
|
+
|
|
19
|
+
REPO_ROOT = Path(__file__).resolve().parents[1]
|
|
20
|
+
SRC = REPO_ROOT / "src" / "pyuvdata"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def load_datasets_module():
|
|
24
|
+
"""
|
|
25
|
+
Load pyuvdata.datasets without importing pyuvdata itself.
|
|
26
|
+
|
|
27
|
+
Importing the real package pulls in the compiled extensions, which have not been
|
|
28
|
+
built yet when this runs. datasets.py only needs DATA_PATH from the parent, so
|
|
29
|
+
stub out just enough of the package for it to import.
|
|
30
|
+
"""
|
|
31
|
+
pkg = types.ModuleType("pyuvdata")
|
|
32
|
+
pkg.__path__ = [str(SRC)]
|
|
33
|
+
data_pkg = types.ModuleType("pyuvdata.data")
|
|
34
|
+
data_pkg.DATA_PATH = str(SRC / "data")
|
|
35
|
+
sys.modules["pyuvdata"] = pkg
|
|
36
|
+
sys.modules["pyuvdata.data"] = data_pkg
|
|
37
|
+
|
|
38
|
+
spec = importlib.util.spec_from_file_location(
|
|
39
|
+
"pyuvdata.datasets", SRC / "datasets.py"
|
|
40
|
+
)
|
|
41
|
+
module = importlib.util.module_from_spec(spec)
|
|
42
|
+
sys.modules["pyuvdata.datasets"] = module
|
|
43
|
+
spec.loader.exec_module(module)
|
|
44
|
+
return module
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def main():
|
|
48
|
+
"""Fetch every dataset in the registry into the requested cache directory."""
|
|
49
|
+
if len(sys.argv) != 2:
|
|
50
|
+
sys.exit(f"usage: {sys.argv[0]} <cache_dir>")
|
|
51
|
+
|
|
52
|
+
# pooch reads this when the Pooch object is created, so it has to be set before
|
|
53
|
+
# datasets.py is executed.
|
|
54
|
+
cache_dir = Path(sys.argv[1]).resolve()
|
|
55
|
+
os.environ["PYUVDATA_DATA_DIR"] = str(cache_dir)
|
|
56
|
+
|
|
57
|
+
datasets = load_datasets_module()
|
|
58
|
+
print(f"Caching {len(datasets.fetch_dict)} datasets into {datasets.pup.abspath}")
|
|
59
|
+
|
|
60
|
+
for name in datasets.fetch_dict:
|
|
61
|
+
datasets.fetch_data(name)
|
|
62
|
+
|
|
63
|
+
print(f"Done. Cache is at {datasets.pup.abspath}")
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
if __name__ == "__main__":
|
|
67
|
+
main()
|
|
@@ -23,13 +23,16 @@ the position of the first (after which various rotations are applied). The secon
|
|
|
23
23
|
*ant1-ant2*, where :math:`\mathcal{V}_{12}=\langle V_{1} V_{2}^{*} \rangle`, and the
|
|
24
24
|
*uvw*-coordinate is calculated by taking the position of the first antenna minus
|
|
25
25
|
the second. The pyuvdata software package uses the *ant2-ant1* convention, as does
|
|
26
|
-
MIRIAD; with UVFITS, FHD, and
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
MIRIAD; with UVFITS, FHD, Mir, and MeasurementSet (used within CASA) formats using the
|
|
27
|
+
opposite convention. Note that this also applies to calibration solutions derived from
|
|
28
|
+
the dataset, with the implication being that gains solved in the *ant2-ant1* convention
|
|
29
|
+
are the complex conjugates of those solved in the *ant1-ant2* convention.
|
|
30
|
+
|
|
31
|
+
Note that separately from the conjugation convention, some platforms have requirements
|
|
32
|
+
for which antenna is listed first in the baseline (e.g., AIPS needs UVFITS files
|
|
33
|
+
recorded with :math:`\text{ant1}<\text{ant2}`), separate from the conjugation
|
|
34
|
+
convention. pyuvdata is able to support so-called "mixed" conventions in this respect,
|
|
35
|
+
with the antenna ordering convention being independent of the conjugation convention.
|
|
33
36
|
|
|
34
37
|
Phase Center Types
|
|
35
38
|
------------------
|
|
@@ -279,13 +279,33 @@ class BeamInterface:
|
|
|
279
279
|
the specified tolerance then return the beam at each nearest neighbor,
|
|
280
280
|
otherwise interpolate the beam. Only applies if beam is a UVBeam.
|
|
281
281
|
reuse_spline : bool
|
|
282
|
-
Save the
|
|
283
|
-
a UVBeam and interpolation_function is "az_za_simple"
|
|
282
|
+
Save the fitted splines on the beam for reuse. Only applies if beam is
|
|
283
|
+
a UVBeam and interpolation_function is "az_za_simple", where it applies
|
|
284
|
+
to both of the engines described under `spline_opts`. The cache holds
|
|
285
|
+
spline coefficients, so it costs roughly as much memory as the beam
|
|
286
|
+
data it was fit to.
|
|
284
287
|
spline_opts : dict
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
288
|
+
Options for the spline fit: the spline orders `kx` (zenith angle axis)
|
|
289
|
+
and `ky` (azimuth axis), and the smoothing parameter `s`. Only applies
|
|
290
|
+
if beam is a UVBeam. For "az_za_simple" this dict is also what selects
|
|
291
|
+
the interpolation engine:
|
|
292
|
+
|
|
293
|
+
- **Default** (`spline_opts` is None, or contains only `kx`, `ky`
|
|
294
|
+
and/or `s=0`): :class:`scipy.interpolate.NdBSpline`. The
|
|
295
|
+
tensor-product basis is built once and every vector/feed/frequency
|
|
296
|
+
slice is evaluated against it together, which is substantially
|
|
297
|
+
faster.
|
|
298
|
+
- **Fallback** (`s` is nonzero, or any other
|
|
299
|
+
:class:`scipy.interpolate.RectBivariateSpline` keyword such as
|
|
300
|
+
`bbox` is given): RectBivariateSpline, fit and evaluated one slice
|
|
301
|
+
at a time. Smoothing is only available on this path.
|
|
302
|
+
|
|
303
|
+
For the same `kx` and `ky` with `s=0` the two engines solve the same
|
|
304
|
+
interpolating spline and agree to floating point rounding (of order
|
|
305
|
+
1e-15 relative), so this choice affects speed rather than results.
|
|
306
|
+
|
|
307
|
+
For "az_za_map_coordinates" this dict is instead passed to
|
|
308
|
+
:func:`scipy.ndimage.map_coordinates` (e.g. `order`, `mode`, `cval`).
|
|
289
309
|
check_azza_domain : bool
|
|
290
310
|
Whether to check the domain of az/za to ensure that they are covered by the
|
|
291
311
|
intrinsic data array. Checking them can be quite computationally expensive.
|