Pyuvsim

Latest version: v1.3.0

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

Scan your dependencies

Page 1 of 3

1.3.0

Added
- Tests verifying accuracy of Lunar simulations.
- Added support for all UVBeam readable files rather than just beamfits.

Changed
- Require pyuvdata >= 2.4.3 to properly support lunar sims. Pass frame information
to pyuvdata calls now that they support lunar frames.
- Updated minimum dependency versions: astropy>=6.0, numpy>=1.23, pyyaml>=5.4.1,
scipy>=1.7.3, python>=3.10
- Updated minimum optional dependency versions: python-casacore>=3.5.2,
lunarsky>=0.2.2, mpi>=3.1.1, astropy-healpix>=1.0.2
- Moved all necessary mpi broadcasts calls into `run_uvdata_uvsim` to make it more user friendly.
- 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.
- Add tracking of the beam `freq_interp_kind` to the BeamList object since
it is moving from a UVBeam attribute to a parameter to the `UVBeam.interp` method
in future pyuvdata versions. Also ensure compatibility with current and future
pyuvdata versions.

Deprecated
- Specifying beams in yaml files as simple strings (they must now parse as a dict)
and specifying global beam shape options like diameter and sigma (they must now
be specified per beam.)

1.2.6

Changed
- Require pyradiosky >= 0.2.0
- Increase the minimum compatible version for lunarsky to 0.2.1 to fix astropy
deprecation warnings.

Fixed
- Bugs where shared memory resources were not properly freed.
- Bugs when running with pyradiosky>=0.2, mostly related to the new `skycoord` parameter
on pyradiosky's `SkyModel` object and calls to functions removed from pyradiosky.
- Better handling of lunarsky imports, required for the newest version of pyradiosky

1.2.5

Changed
- Initial ordering of blt axis in `initialize_uvdata_from_params`
(unchanged output by default).
- Use future array shapes on UVBeam objects.
- Update dependency requirements to: pyuvdata >= 2.2.10,<2.3, pyradiosky>=0.1.0,<0.2,
numpy>=1.19, scipy>=1.3
- Update optional dependency requirements to: astropy-healpix>=0.6, lunarsky>=0.1.2,
python-casacore>=3.3.1

Fixed
- A major bug 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.

Added
- `reorder_kw` option to `initialize_uvdata_from_params` function.
- `check_kw` option to `initialize_uvdata_from_params` function.
- `select:` parameter to obsparam file definition for `telescope:`.

1.2.4

Added
- A check that the beam basis vectors are aligned with the azimuth and zenith angle in
each pixel.
- A new parameter, `beam_interp_check`, to `run_uvsim` and `run_uvdata_uvsim` to allow
the check that the beam covers the interpolation location to be turned off. The default
behavior is to turn off the check if the beam covers the full sky horizon to horizon.

Changed
- Require pyuvdata >= 2.2.8

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.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.