Pyuvsim

Latest version: v1.4.0

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.2.3

Added
- Added a `return_beams` parameter to the `initialize_uvdata_from_params` function to
have it return the beam list and dict. Defaults to True currently, but will default to
False starting in version 1.4.
- Added a `return_catname` parameter to the `initialize_catalog_from_params` function to
have it return the catalog name. Defaults to True currently, but will default to False
starting in version 1.4.
- An option to the `run_param_pyuvsim.py` script and the `run_uvsim` and
`run_uvdata_uvsim` functions to allow users to keep the output from nonzero ranks for
debugging purposes.

Changed
- Fix auto visibilities to be real on file write-out by default if the pyuvdata
version is 2.2.7 or greater.
- Updated the astropy requirement to >= 5.0.4
- Dropped support for python 3.7

1.2.2

Added
- A `return_beams` parameter to `simsetup.initialize_uvdata_from_params` to allow beam
information to be returned. Currently defaults to True, will default to False starting
in version 1.4.
- A `return_catname` parameter to `simsetup.initialize_catalog_from_params` to allow
the catalog name to be returned. Currently defaults to True, will default to False
starting in version 1.4.
- A `filetype` parameter to `simsetup.initialize_catalog_from_params` to allow users to
specify the catalog filetype.
- Ensure that the version numbers for pyuvsim, pyradiosky and pyuvdata are written to
the history of the output UVData files.
- New `check_consistency` method for `BeamList` objects.
- Ability to simulate UVData objects where Nblts != Nbls * Ntimes. Currently only supported with direct `run_uvdata_uvsim` calls.

Changed
- Updated the astropy requirement to >= 5.0.4
- Dropped support for python 3.7

Fixed
- Input `uvdata.blt_order` forced to be (time, baseline) before a simulation is run. Attempts to reorder output uvdata object if input ordering was different.

1.2.1

Added
- Support for writing out measurement set files.
- Support for unit tests parallelized with MPI.
- Require that future changes not drastically increase runtime for current capabilities.

Changed
- Require pyuvdata >= 2.1.5
- Use future array shapes on UVData objects.
- Use the replacements for the deprecated `SkyModel.source_cuts` method if the pyradiosky
version is new enough to have them.
- Use remote memory access to collect finished visibility data, without serialization.

Fixed
- `x_orientation` is now checked on UVBeam objects and flowed into the output UVData files.
- `SkyModel.name` is now coerced to an array.
- Bug MPI-enabled tests which caused failure on tests that wouldn't pass in serial mode.
- Fix bugs in reading catalogs using pyradiosky for `skyh5` files and files with unusual extension names.
- Corrects the distribution of random points for the random mock catalog.
- pixel interpolation was defaulting to az_za_simple for all beams, breaking healpix-coord UVBeams.

1.2.0

Added
- Diffuse models in mock catalogs, via the analytic_diffuse module.
- quantity_shared_bcast function to allow objects derived from astropy.units.Quantity to use shared memory broadcasting.
- SkyModelData class to replace recarray conversion in pyradiosky.
- quiet keyword for run_uvsim, to suppress stdout printing.
- Support for Moon-based observing -- keyword "world: moon" in telescope config.
- Option to pass along interpolating spline order to UVBeam from teleconfig file.
- Scripts for running / verifying reference simulations.
- Benchmarking tools.

Changed
- Switch to a new definition for the Counter class, without threading.
- Cleaned up unit tests
- Use `at_frequencies` method to enable support for all pyradiosky spectral types.
- Only do coherency calculation when the time changes
- Only do beam eval when time, freq, or beam type changes.
- The definition of the Airy beam now uses the exact value of c, not 3e8.

Fixed
- Keep a UVBeam with more than two frequencies for tests, so the (default) cubic interpolation works.
- Use pytest hooks to ensure the profiler tests run last.
- Switched to using a remote-memory-access based counter class. Appears to have fixed bug in the Counter test.
- Ensure that source positions, coherency matrices, and Jones matrices are updated at the right times.
- Error early if the task list is too long for gather.

Deprecated
- Support for pyradiosky versions <0.1.0.

1.1.2

Added
- BeamList class for handling the set of beams, and their string representations.
- Support for individual shape parameters for analytic beams.

Fixed
- Removed warning catch for astropy GLEAM read in tests -- new versions don't raise the warning.

1.1.1

Added
- A function for checking the memory usage on each Node

Changed
- Replaced init_uvdata_out function with complete_uvdata
- init_uvdata_out function is more modular.
- unit tests check error messages raised.
- Polarization selection is now allowed in setup. Will break if incorrect polarization is used in pyuvsim.
- Added functions to read healpix maps and added support for frequency axis

Fixed
- Fixed a serious bug with improper conversion of Angle to rad/deg in simsetup.py
- skymodel splitting was not working correctly to avoid running out of memory.
- Flush stderr in excepthook, so stack trace is printed when an exception is raised in MPI.
- No longer calling UVBeam.interp with freq_interp_kind, for updated pyuvdata.
- Circular-installation bug
- Bug in how integration_time array is set in setup
- Bug in how filepath is interpreted in setup

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.