Releases: RadioAstronomySoftwareGroup/pyuvsim
Version 1.4.2
This is a small change to fix a problem that prevented the last version (1.4.1) from getting pushed to PyPI.
Full details below and in our changelog:
What's Changed
- Fix the CI that pushes new releases to pypi and prep for another release by @bhazelton in #601
Full Changelog: v1.4.1...v1.4.2
Version 1.4.1
This release includes a significant re-working of the first generation reference sims. It also has a number of new features and bug fixes including:
- Support for beams with only one feed (resulting in a single polarization in the visibilities).
- Support for selecting SkyModel components that do not have NaN values in the
stokesparameter at either any or all frequencies and with no negative Stokes I values. - A bug where measurement sets could not be written out because they were not
phased. - A bug in the way the time and frequency arrays were set up from the obsparam yamls when they were specified with the start, end, spacing, number and width parameters rather than with the arrays.
- A bug in round-tripping times through obsparam yaml files caused by precision loss when writing out the yaml files.
- A bug causing large memory usage for simulations using sky models with spectral index or subband spectral types.
- A bug in handling diffuse maps with units of Jy/sr.
- A bug when specifying a frequency buffer for beam frequency selects in telescope config files.
- A bug where lunarsky was imported even for simulations on earth.
Some dependency minimum versions were updated:
- python>=3.11
- pyuvdata>=3.2.3
- pyradiosky>=1.1.0
- scipy>=1.9
Some optional dependency minimum versions were updated:
- mpi4py>=3.1.3
- pooch>=1.8 (a new optional dependency for testing)
Full details below and in our changelog:
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #506
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #507
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #510
- added space and period to beam specification error message by @burdorfmitchell in #509
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #512
- perf: allow not running checks by @steven-murray in #503
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #515
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #516
- 1.1 ref sim ci workflow by @burdorfmitchell in #514
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #517
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #518
- Bug fix for beam frequency selects using frequency buffers by @bhazelton in #519
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #520
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #523
- Handing change in
extra_keywordswarning in pyuvdata by @kartographer in #524 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #525
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #526
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #527
- Fix check_kw handling and changelog errors by @bhazelton in #528
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #529
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #530
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #531
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #534
- Fixes to be compatible with new telescope attributes in pyuvdata by @bhazelton in #533
- Add windows support by @steven-murray in #511
- Only import lunarsky if it's actually needed by @bhazelton in #532
- Improve the way we're setting the phase center catalog name by @bhazelton in #537
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #538
- Fix a bug in properly handling diffuse maps with units of Jy/sr by @bhazelton in #522
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #539
- Add support for a single feed by @slosar in #394
- Only run the reference sims on PRs (not on pushes) by @bhazelton in #542
- Fix github actions badge, add JOSS & RTD badges by @bhazelton in #535
- More fixes to be compatible with new telescope attributes in pyuvdata by @kartographer in #541
- More updates to be compatible with future pyuvdata telescope changes by @bhazelton in #543
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #544
- Fix tests to eliminate new pyuvdata warnings and fix ref sim comparison by @bhazelton in #545
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #546
- Fix memory issue associated with SkyModels that are not "full" or "flat" spectral type by @bhazelton in #540
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #549
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #552
- Fix bug in np.linspace call for frequency and time parameters by @bhazelton in #547
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #554
- Updated conftest and test_run_ref with better CLI and improved api ca… by @burdorfmitchell in #553
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #555
- Only init data ants by @bhazelton in #551
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #559
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #564
- Add support for the new nan and negative cut options in SkyModel.select by @bhazelton in #562
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #565
- Updated initialize_catalog_from_params to check pyuvsim cache as fall… by @burdorfmitchell in #563
- Fix for broken logic in checking cache by @burdorfmitchell in #566
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #567
- fix CI bug and warnings about conda defaults channel by @bhazelton in #570
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #571
- Use mpi-pytest, drop openmpi pin in CI, test on python 3.13 by @bhazelton in #558
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #574
- Fix write ms to set force_phase so it will actually write out our sims by @bhazelton in #578
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #577
- Improve testing of using UVBeam and AnalyticBeam constructors by @bhazelton in #573
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #580
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #581
- Add support for new pooch data handling in pyuvdata by @bhazelton in #582
- un...
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.blsproperty 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_uvsimwhere 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_kindflexible 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.pythat 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_paramsandinitialize_catalog_from_paramsby @bhazelton in #390 - Filter warnings from SkyModel in deprecated
return_recarrayoption 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