Pyuvsim

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 4

1.4.0

Changed
- Use new pyuvdata analytic beams and remove the analytic beams defined in this package.
- Major restructuring of the BeamList object to use shared memory and remove the
string/object mode switch.
- BeamLists now contain pyuvdata BeamInterface objects
- Updated minimum dependency versions: pyuvdata>=3.1.0
- Updated minimum optional dependency versions: lunarsky>=0.2.5
- 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.

1.3.1

Added
- A new "ordering" section to the parameter yaml file to specify the UVData
conjugation convention and ordering along the baseline-time axis.
- Support for pyuvdata version 3.0 and later.

Changed
- Updated minimum dependency versions: scipy>=1.8, setuptools_scm>=8.1
- pyuvdata utils imports to ensure compatibility with version 3.0.
- `numpy.string_` calls to `numpy.bytes_`, `np.in1d` to `np.isin` and a few other
changes for numpy 2.0 compatibility.
- Use UVData.new method to do the UVData object initialization. This leads to a
change in the default conjugation convention from `"ant2<ant1"` to `"ant1<ant2"`.

Fixed
- Fixed a bug where `run_uvdata_uvsim` does not update uvw_array to what it actually
used for the simulation, resulting in output objects with incorrect uvw arrays.

Deprecated
- The `"reorder_blt_kw"` parameter in the `simsetup.initialize_uvdata_from_params`
function in favor of setting the ordering via the new "ordering" section in the
parameter yaml file.

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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.