Releases: RadioAstronomySoftwareGroup/pyuvsim
Version 1.4.0
This version has some major changes including:
- Use the new pyuvdata analytic beams and remove all analytic beam specifications in pyuvsim.
- BeamLists now contain BeamInterface objects (but are still initialized with lists of UVBeam and/or Analytic Beam objects)
- Significant refactoring of BeamLists, removing the string/object mode and replacing it with a shared memory approach similar to what is done for SkyModel objects.
- Setting the
select.bls
property in the obsparams file now selects baselines before creating the UVData object, rather than down-selecting afterwards, saving memory and time.
The following dependency requirements were updated:
- Updated minimum dependency versions: pyuvdata>=3.1.0
- Updated minimum optional dependency versions: lunarsky>=0.2.5
Full details below and in our changelog.
What's Changed
- Use the Ruff formatter instead of Flake8, isort and Black by @bhazelton in #478
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #480
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #482
- Update the pre-commit specification with better comments by @bhazelton in #484
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #485
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #486
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #489
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #491
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #492
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #498
- Construct with bls not select by @steven-murray in #494
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #500
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #501
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #502
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #504
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #505
- Use pyuvdata Analytic Beams and the new BeamInterface class by @bhazelton in #487
Full Changelog: v1.3.1...v1.4.0
Version 1.3.1
This release:
- adds compatibility with pyuvdata v3.0 and numpy v2.0.
- Fixes a bug in
run_uvdata_uvsim
where it did not update the uvw_array to what it actually used for the simulation, resulting in output objects with incorrect uvw arrays. - Added a new "ordering" section to the parameter yaml file to specify the UVData conjugation convention and ordering along the baseline-time axis.
This version updates the following required dependencies:
- scipy>=1.8
- setuptools_scm>=8.1
Full details below and in our changelog.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #458
- Fix docs to specify correct set of catalog file types by @bhazelton in #463
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #464
- Fix compatibility with pyuvdata v3.0, use UVData.new by @bhazelton in #465
- Prevent an annoying warning when initializing beam lists by @bhazelton in #461
- Fix compatibility with pyuvdata v3.0 by @bhazelton in #467
- Use pyproject toml by @bhazelton in #468
- Small test fix for an update to pyuvdata's handling for rdate in uvfits by @bhazelton in #471
- updates for future pyuvdata by @bhazelton in #472
- Make imports work with current and future pyuvdata, fix compatibility with numpy 2.0 by @bhazelton in #475
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #474
- Fixed a bug in run_uvdata_uvsim to ensure correct uvws by @bhazelton in #476
- Update the changelog for the new version by @bhazelton in #477
Full Changelog: v1.3.0...v1.3.1
Version 1.3
This release adds full support for simulating telescopes on the moon with detailed tests that validate the correct behavior.
This release also includes:
- Added support for all UVBeam readable files
- Changed the default file type for writing out UVData files to be the uvh5 format rather than the uvfits format because it does not require phasing.
- Removed deprecation of gaussian beams defined from sigma parameter.
This version updates the following required dependencies:
- astropy>=6.0
- numpy>=1.23
- python>=3.10
- pyuvdata >= 2.4.3
- pyyaml>=5.4.1
- scipy>=1.7.3
and the following optional dependencies:
- astropy-healpix>=1.0.2
- lunarsky>=0.2.2
- mpi>=3.1.1
- python-casacore>=3.5.2.
Full details below and in our changelog.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #430
- Use the standard test environment on python 3.11 by @bhazelton in #431
- Fixes to prevent errors with pyuvdata 3.0 by @bhazelton in #432
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #436
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #438
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #439
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #440
- Make handling of
freq_interp_kind
flexible for future pyuvdata changes by @bhazelton in #442 - Remove the pending deprecation warning for achromatic gaussian beams by @bhazelton in #441
- Add support for all UVBeam files by @bhazelton in #444
- Default to writing out UVH5 files rather than UVFITS by @bhazelton in #445
- Cleanup documentation and fix a few minor things by @bhazelton in #448
- test cleanup and improvements by @bhazelton in #449
- More test coverage and other cleanup by @bhazelton in #450
- Move mpi fns by @mkolopanis in #451
- remove troublesome nsky_parts test by @mkolopanis in #453
- Adding Lunar simulation capability by @wps2n in #435
- Use black formatting by @bhazelton in #454
- Restructure package by @bhazelton in #455
- Prepare for v1.3 by @bhazelton in #457
New Contributors
Full Changelog: v1.2.6...v1.3.0
Version 1.2.6
This release mostly adds compatibility with pyradiosky>0.2 and pyuvdata>=2.2.10.
It also fixes a bug where shared memory resources were not properly freed.
Full details below and in our changelog.
What's Changed
- Compatibility with pyradiosky>=0.2 by @bhazelton in #417
- Fix MPI tests breaking on some builds by @bhazelton in #426
- Prepare version 1.2.6 by @bhazelton in #429
Full Changelog: v1.2.5...v1.2.6
Version 1.2.5
Most critically, this release fixes a bug that was introduced between v1.2.1 and v1.2.2 that caused errors in simulations
when the source list was large enough that it needed to be split among processing units.
Additionally this release add support for reordering along the baseline-time axis and adds several new options for simulation setup, including options for partial reading of beams and controlling the baseline-time axis ordering.
This version updates the following required dependencies:
- pyuvdata >= 2.2.10,<2.3
- pyradiosky>=0.1.0,<0.2
- numpy>=1.19
- scipy>=1.3
and the following optional dependencies:
- astropy-healpix>=0.6
- lunarsky>=0.1.2
- python-casacore>=3.3.1
Full details below and in our changelog.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #407
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #409
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #412
- Fix tests broken by recent pyuvdata changes by @bhazelton in #416
- Sim Setup Performance Enhancements by @steven-murray in #410
- Fix Nsky parts bug by @bhazelton in #424
- Update the changelog for version 1.2.5 by @bhazelton in #425
Full Changelog: v1.2.4...v1.2.5
Version 1.2.4
This release includes support for turning off a check during UVBeam interpolation that checks if the location being interpolated to is covered by the beam. With this release, that check is turned off by default if the beam covers the full sky horizon-to-horizon, and allows users to turn the check off by hand. Turning off this check can speed things up significantly.
Full details are in our changelog and in the automatically generated details below.
What's Changed
- Add support to turn off az/za domain checking by @bhazelton in #404
- Check that beam basis vectors are aligned with the azimuth and zenith angle by @bhazelton in #405
- Prepare for new version release by @bhazelton in #406
Full Changelog: v1.2.3...v1.2.4
Version 1.2.3
This version fixes auto visibilities to be real by default so that they can be written to output files by all versions of pyuvdata.
Other changes include:
- Adding parameters to various methods and scripts to allow users to save the output from nonzero ranks for debugging purposes
- Begin a process to change what is returned by the methods in
simsetup.py
that initialize UVData and SkyModel objects to only return those objects by default - Updates the astropy requirement to >= 5.0.4
- Drops support for python 3.7.
Full details are in our changelog and in the automatically generated details below.
What's Changed
- Add option for keeping the stdout for nonzero rank processing units by @bhazelton in #387
- Fix CI issues with URLs starting with "git" by @bhazelton in #392
- Add CI to check for unhandled warnings in tests by @bhazelton in #391
- Add return options to
initialize_uvdata_from_params
andinitialize_catalog_from_params
by @bhazelton in #390 - Filter warnings from SkyModel in deprecated
return_recarray
option by @bhazelton in #393 - Update astropy requirement to 5.0.4 to fix IERS issue, drop python 3.7 support by @bhazelton in #397
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #398
- Fix autos by @bhazelton in #401
- update the changelog for a new release by @bhazelton in #402
- fix the new version number in the changelog by @bhazelton in #403
New Contributors
- @pre-commit-ci made their first contribution in #398
Full Changelog: v1.2.2...v1.2.3
Version 1.2.2
This version adds a new beam consistency check and support for simulations where Nblts != Nbls * Ntimes. It also fixes a bug related to baseline-time ordering and ensures that the version numbers for pyuvsim, pyradiosky and pyuvdata are written to the history of the output UVData files.
Full details are in our changelog and in the automatically generated details below.
What's Changed
- Make --with-inputs a proper flag not a boolean input. by @mkolopanis in #373
- Fix uvdata ordering by @mkolopanis in #371
- Fix code to use new pyradiosky and pyuvdata methods by @bhazelton in #375
- Add input checks on analytic beam interp parameters by @bhazelton in #377
- Update docstrings to numpy style, add it to linting checks. by @bhazelton in #379
- feat: ability to do consistency checks on beam lists by @steven-murray in #360
- Remove unnecessary barrier in test by @bhazelton in #382
- Minor updates to README and scripts by @slosar in #378
- Fix docs on how to select using the bls parameter by @bhazelton in #383
- Add pyradiosky version to output file by @bhazelton in #384
- Update the changelog for a new version by @bhazelton in #386
New Contributors
Full Changelog: v1.2.1...v1.2.2
Version 1.2.1
This version adds support for catalogs from skyh5 files (pyradiosky format), fixes several bugs and adds improved testing and documentation.
Full details are in our changelog and in the automatically generated details below.
What's Changed
- MPI-enabled tests by @aelanman in #310
- New ref sims by @dseitova in #317
- Rma gather by @aelanman in #313
- Default pixel interp by @aelanman in #321
- account for history not being round-tripped through SkyModelData by @bhazelton in #322
- Add documentation on contributing and our code of conduct. by @bhazelton in #323
- Fix filename in the 2nd reference sim readme by @bhazelton in #324
- use new github action syntax for add-path and set-env. use path in tests by @mkolopanis in #326
- Make clearer why we think pyvusim is a reference simulator by @dannyjacobs in #320
- Distribute random source uniformly by solid angle by @aelanman in #329
- Fix CI and bugs in our standard yaml file by @bhazelton in #331
- Fix reading catalog files via pyradiosky by @bhazelton in #337
- Parallel test bug resolution by @aelanman in #342
- Progbar update by @mkolopanis in #345
- remove sleep from pbar update loop by @mkolopanis in #347
- re-enable codecov uploads by @mkolopanis in #352
- add vis-cpu to the herasim yaml. it is now a separate package by @mkolopanis in #350
- Update Ntasks calc by @mkolopanis in #349
- update RTD build to use python 3.8, fix errors and warnings from new pyuvdata/pyradiosky versions by @bhazelton in #353
- Propagate Clobber to skyh5 and uvh5 by @mkolopanis in #351
- fix: SkyModelData.name must be an array not a list by @steven-murray in #357
- update codecov action from 1.5.2 to 2.0.2 by @mkolopanis in #359
- Use the conda yaml maintained in hera_sim for those tests by @bhazelton in #367
- Add handling and checking for x_orientation by @bhazelton in #363
- Update Reference Sim Doc by @mkolopanis in #364
Full Changelog: v1.2.0...v1.2.1
Version 1.2.0
Updates to use newer versions of pyradiosky (no longer supports pyradiosky < <0.1.0).
Added proper spectral modeling of sources.
Added support for moon-based telescopes.
Added scripts to make it easier to running and verify reference simulations.
Added unit tests for diffuse sky models, testing against analytic calculations.
See the CHANGELOG for full details.