Skip to content

Releases: RadioAstronomySoftwareGroup/pyuvdata

Version 2.3.0

14 Mar 00:24

Choose a tag to compare

This version adds many new features and improvements, the highlights are:

  • UVFlag now supports more metadata, including telescope_name, telescope_location, antenna_names, antenna_numbers, antenna_positions, channel_width, spw_array, flex_spw_id_array.
  • Added support for UVData for selecting on phase center IDs, including on read.
  • Significant speedup when calling polnum2str and its variants for many baselines.

It also fixed a number of bugs including:

  • Fixed bugs in UVCal.__add__ method when data are sorted differently or interleaved.
  • Fixed some bugs in UVCal methods related to the time_range attribute.
  • Fixed some bugs in UVData, UVFlag and UVCal __add__ and select methods for objects
    with only one spectral window and flex_spw_id_array defined.
  • Fixed a bug with the beamfits partial read parameters not being available in the UVBeam.from_file class method and not being passed properly when reading multiple files.
  • Fix a bug in UVData where trying to select lsts or lst_ranges on read didn't work for some file types.

Deprecations and dependency version changes:

  • Reading files into objects without setting use_future_array_shapes now results in deprecation warnings.
  • The flex_spw_id_array will be required on all UVData and UVFlag and all non-wide-band UVCal objects in version 3.0.
  • Deprecated the older phase attributes (phase_type, phase_center_ra, phase_center_dec, phase_center_frame, phase_center_epoch, object_name) in favor of the phase_center_catalog. The older phase attributes will be removed in version 3.0.
  • Deprecated the interpolation_function attribute on UVBeams in favor of a new parameter to the UVBeam.interp and UVBeam.to_healpix methods.
  • New minimum dependencies: h5py>= 3.1
  • New minimum optional dependencies: lunarsky>=0.2.1

Full changes detailed below and in our changelog:

What's Changed

New Contributors

Full Changelog: v2.2.12...v2.3

Version 2.2.12

07 Dec 20:41

Choose a tag to compare

This is a patch release to ensure that our wheel building for pypi is properly setup.

Full details in below and in our changelog.

What's Changed

Full Changelog: v2.2.11...v2.2.12

Version 2.2.11

01 Dec 18:19

Choose a tag to compare

This version fixed a uvh5 reader bug and added better support for non-earth bound telescopes:

  • fixed a bug in the uvh5 reader that could cause errors reading in valid version 1.1 uvh5 files because it was looking for a non-standard header item (multi_phase_center).
  • Added a frame attribute to the _telescope_location attribute on most objects to allow for telescopes not on earth.

Full details below and in our changelog:

What's Changed

Full Changelog: v2.2.10...v2.2.11

Version 2.2.10

20 Oct 22:10

Choose a tag to compare

This version adds many new features and improvements, the highlights are:

  • Significantly increased uvh5 reading and writing speed.
  • Performance improvement when doing a UVData.select using the bls parameter
  • Support for bitshuffle compression in uvh5 files.
  • Support for flex-pol objects in uvh5 files.
  • Major performance improvement in the UVBeam.to_healpix method.
  • Support for partial reads on beamfits files.
  • Support for future array shapes in UVBeam.

Full changes detailed below and in our changelog:

What's Changed

Full Changelog: v2.2.9...v2.2.10

Version 2.2.9

23 Aug 20:32

Choose a tag to compare

This version adds many new features and improvements, the highlights are:

  • New uvh5 version with support for multiple phase centers.
  • Support for future array shapes in UVFlag.
  • More comprehensive support for the SMA's MIR format.
  • Reordering methods for UVCal.
  • UVFITS parameters RDATE, UT1UTC and GSTIAO are now properly calculated.

It also fixed a number of bugs including:

  • A bug in UVData.__add__ with flexible spectral windows that contain overlapping frequencies.
  • A bug in UVData.select when UVData._scan_number_array was set.
  • A bug in UVBeam.select when selecting down to only auto polarization power beams.
  • A bug in UVBeam.__add__ when adding cross pol power beams to auto pol power beams.

Deprecations and dependency version changes:

  • The "unphased" cat_type in phase_center_catalog is now called "unprojected".
  • Dropped support for python 3.7
  • New minimum dependencies: astropy>= 5.0.4, numpy>=1.19, scipy>=1.3
  • New minimum optional dependencies: python-casacore>=3.3, pyyaml>=5.1, astropy-healpix>=0.6

Full changes detailed below and in our changelog:

What's Changed

New Contributors

Full Changelog: v2.2.8...v2.2.9

Version 2.2.8

16 Feb 00:31

Choose a tag to compare

This version adds a new option to the UVBeam.interp method that allows the user to turn off some checking to speed up the interpolation.

Full changes detailed below and in our changelog:

What's Changed

Full Changelog: v2.2.7...v2.2.8

Version 2.2.7

10 Feb 06:46

Choose a tag to compare

This version adds some new features including:

  • a method to Initialize a UVCal object from the metadata in a UVData object
  • an option to reorder_blts to sort autos first

It also fixes a series of small issues, full changes detailed below and in our changelog:

What's Changed

  • Adding a check to verify autos are real-only by @kartographer in #1110
  • Remove distutils calls that are throwing deprecation warnings by @bhazelton in #1128
  • Add option to reorder_blts to sort autos first by @bhazelton in #1127
  • Make handling of types in Miriad extra_keywords more general by @plaplant in #1134
  • Use time tolerances for matching times in UVFlag.to_baseline() by @jsdillon in #1133
  • pin the RTD theme version to restore bullets in docs by @bhazelton in #1135
  • Improve the documentation on redundancy finding, make keywords consistent by @bhazelton in #1132
  • Use pytest < 7 because of conflict with pytest-cases by @bhazelton in #1138
  • Increase version requirement for pytest-cases, unpin pytest by @bhazelton in #1140
  • add a method to Initialize a UVCal object from the metadata in a UVData object by @bhazelton in #1035
  • Tutorial and Docs restructuring by @bhazelton in #1139
  • Make release 2.2.7 by @plaplant in #1141

Full Changelog: v2.2.6...v2.2.7

Version 2.2.6

13 Jan 02:06

Choose a tag to compare

This version adds some new features, including:

  • Support for flexible spectral windows on UVCal objects.
  • Support for wide-band calibration in UVCal
  • Support for converting UVCal objects to use the future array shapes to allow users to upgrade their code before the shapes change.
  • Support for flexible polarization setups on UVData objects, allowing for individual spectral windows to carry different polarization data.

This version fixes several bugs, the highest profile ones are:

  • A bug where UVData.compress_by_redundancy sometimes produced incorrectly conjugated visibilities.
  • A bug where lsts and lst_range got ignored when doing partial i/o with multiple files.

Full changes detailed below and in our changelog:

What's Changed

  • Bring over kwargs from UVH5.write_uvh5_part() to UVData.write_uvh5_part() by @jsdillon in #1121
  • Fix issue where lsts and lst_range was not properly being passed through uvdata.read() for multi-file reads by @jsdillon in #1122
  • Fixing conjugation issue in compress_by_redundancy by @kartographer in #1123
  • Add future_array_shapes and flexible spectral windows support to UVCal by @bhazelton in #1034
  • Improved handling of MIR Data + flexible polarization for UVData by @kartographer in #1117
  • update the changelog for v2.2.6 by @bhazelton in #1126

Full Changelog: v2.2.5...v2.2.6

Version 2.2.5

21 Dec 18:59

Choose a tag to compare

This version adds some new features, including:

  • Dramatic improvement in memory performance in writing measurement set files and reading MWA correlator files.
  • Support for reading the new MWAX correlator files.
  • Defining scan numbers in Measurement Sets.
  • A filename attribute to UVCal, UVBeam and UVFlag objects, matching the implementation in UVData objects.

This version fixes a number of bugs, the highest profile ones are:

  • A bug that could cause incorrect data labelling when combining UVData objects with overlapping time-baselines/polarization/frequency channels that were ordered differently.
  • Several measurement set bugs that caused problems when the files were used in CASA.

Dependency changes:

  • h5py>=3.0
  • astroquery>=0.4.4 (this is an optional dependency)

Full changes detailed below and in our changelog:

What's Changed

Full Changelog: v2.2.4...v2.2.5

Version 2.2.4

14 Oct 23:19

Choose a tag to compare

This version fixes a bug in UVBeam.efield_to_power that was causing the Conda package builds to fail.

Full changes detailed below:

What's Changed

  • Raise clear errors when trying to write metadata only objects to files by @bhazelton in #1072
  • Fix conversion of non-crosspol power beams to real by @bhazelton in #1074

Full Changelog: v2.2.3...v2.2.4