Releases: RadioAstronomySoftwareGroup/pyuvdata
Version 2.4.3
This version has several improvements, the most notable are:
- Adds support for the new lunar ellipsoids recently added to
lunarsky
. - A significant speed up for reading MWA correlator FITS files.
- Support for v.6 of the MIR data format
There are a number of dependency version changes, pyuvdata now requires:
- python >= 3.10
- astropy>=6.0
- h5py>=3.4
- numpy>=1.23
- pyerfa>=2.0.1.1
- scipy>=1.7.3
And optional dependecy version changes include:
- hdf5plugin>=3.2.0
- pytest>=6.2.5
- pytest-cases>=3.8.3
- python-casacore>=3.5.2
- pyyaml>=5.4.1
- lunarsky>=0.2.2
Full changes detailed below and in our changelog:
Full Changelog: v2.4.3...v2.4.3
Version 2.4.2
This version has several improvements, the most notable are:
- Improvements to the MIR reader and interface.
- A new gridding-based baseline redundancy finding algorithm that is now used by default (the older algorithm is still available).
- A new
UVBeam.new()
method that creates a new, self-consistentUVBeam
object from scratch from a set of flexible input parameters. - Improvements for handling of telescopes on the moon.
Full changes detailed below and in our changelog:
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1350
- Better handing of discrepancies for LSTs and telescope position in
check
by @kartographer in #1356 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1358
- MS writer improvements by @kartographer in #1363
- Pyx datatypes by @mkolopanis in #1357
- Clean up freq_range and freq_array handling in UVCal by @bhazelton in #1361
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1366
- Drop python 3.8 support, add python 3.12 by @bhazelton in #1367
- Update flake8 plugin versions to match CI by @bhazelton in #1364
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1369
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1370
- Uvh5 memo updates by @bhazelton in #1368
- Updating antenna positions in UVData by @kartographer in #1372
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1373
- Run the tutorial plotting code in doctests by @bhazelton in #1374
- Replacing deprecated scipy
simps
method in MWA code by @kartographer in #1377 - Add a
UVBeam.new()
method similar to the ones on UVData and UVCal by @bhazelton in #1378 - Minor bug fix for
tests.WarningChecker
when IERS is down by @kartographer in #1382 - Miriad support (UVFITS and UV file writing) and MS write with legacy array shape by @kartographer in #1392
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1385
- Fix so that write_uvfits doesn't change the object, add loopback testing by @bhazelton in #1393
- Mcmf enu calc by @mkolopanis in #1376
- SMA/MirParser Improvements by @kartographer in #1371
- Add a changelog entry for small UVFlag bug fixed in a recent PR by @bhazelton in #1394
- Fix CI by @bhazelton in #1398
- Handle differently sorted ant metadata in UVFlag to_baseline and to_antenna by @bhazelton in #1397
- Minor fixes for handling of older SMA data by @kartographer in #1399
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1400
- Adding support for initializing
MirParser
fromPath
objects by @kartographer in #1405 - ignore warnings in hera_cal and hera_qm test runs by @bhazelton in #1402
- Add an option to use the HERA gridding algorithm to find redundancies by @bhazelton in #1403
- Prepare for v2.4.2 by @bhazelton in #1406
Full Changelog: v2.4.1...v2.4.2
Version 2.4.1
This version has several improvements, the most notable are:
- New
uvw_track_generator
utility method for calculating the expected uvws (and a few other values) without needing to instantiate a wholeUVData
object. - Proper round-tripping of the telescope frame through UVH5, UVFITS and MS files.
- New options to
UVFlag.read
andUVFlag.__init__
to help with setting telescope metadata for old UVFlag files that are missing it. - Support for recarrays in
UVParameter
objects and inUVBase
.
Full changes detailed below and in our changelog:
What's Changed
- Fix bug in calc_app_coords by @kartographer in #1325
- Undo numpy pin on python 3.11 tests by @bhazelton in #1321
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1327
- Fix docstrings for shape of waterfall-type UVFlag objects by @jsdillon in #1326
- Add warnings in check if lst_array doesn't match expectations by @bhazelton in #1322
- Add options for astrometry library to object methods, round-trip telescope frame through UVH5, UVFITS and MS files by @bhazelton in #1329
- Fix
write_ms
handling of history by @kartographer in #1332 - Fix some ERFA calls by @bhazelton in #1331
- Update uvdata_tutorial.rst by @elillesk in #1337
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1338
- Add support for recarray UVParameters, needed for pyradiosky by @bhazelton in #1334
- Add external testing against SSINS by @bhazelton in #1335
- Add MWA antenna information by @bhazelton in #1340
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1345
- UVW helper utilities (for use on the moon and otherwise...) by @kartographer in #1292
- New version by @bhazelton in #1347
New Contributors
Full Changelog: v2.4.0...v2.4.1
Version 2.4
This version has several improvements, the most notable are:
- More flexibility in the
UVData.frequency_average
method, including support for multiple spectral windows and better handling in when averaging by a number of channels that does not divide evenly into the number of channels in each spectral window. - Fixed a bug in LST calculation that led to small discontinuities in LSTs calculated using the
erfa
(the default) ornovas
astrometry libraries. - The
quality_array
on UVCal objects is no longer required. - Fixed a bug in reading
mwa_corr_fits
files from the new MWAX correlator - Added compatibility with Python 3.11
There are also a number of breaking changes, including changes associated with:
- Removing support for old style phasing
- Full support for multiple phase centers (so rephrasing when adding/concatenating is not required)
- A number of telescope metadata parameters are now required on UVFlag objects.
Full changes detailed below and in our changelog:
What's Changed
- Add testing against python 3.11 by @bhazelton in #1298
- small mwax metafits updates by @PyxieLouStar in #1299
- fix: error when setting freq_interp_kind to an integer by @steven-murray in #1304
- better error message if az_za_grid set but no az_array or za_array by @bhazelton in #1302
- Fix code that raises new numpy deprecation warnings by @bhazelton in #1308
- Make UVCal quality array optional by @bhazelton in #1301
- Deprecate sky_field parameter on UVCal by @bhazelton in #1312
- Fix LST discontinuities by @bhazelton in #1314
- Fix a few small CI issues by @bhazelton in #1316
- Support multiple spws in
UVData.frequency_average
by @bhazelton in #1307 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1320
- Prepare for version 2.4 by @bhazelton in #1319
Full Changelog: v2.3.3...v2.4.0
Version 2.3.3
This version adds many new features including:
- The
UVCal.new
andUVData.new
methods to create self-consistent object from scratch from a set of flexible input parameters. - A new
fast_concat
method onUVCal
. - A new generic
read
method onUVCal
that supports all file types and a newUVCal.from_file
class method.
A new required dependency, docstring_parser
was also added.
Full changes detailed below and in our changelog:
What's Changed
- Transactional FastUVH5Meta by @steven-murray in #1285
- Add
fast_concat
, genericread
, andfrom_file
methods to UVCal by @bhazelton in #1271 - feat: new_uvdata function for simple initialization by @steven-murray in #1281
- fix: error when times or freqs are length 1 by @steven-murray in #1287
- Fix error on ntimes one by @steven-murray in #1289
- Deprecate the 'unknown' cal_type by @bhazelton in #1288
- Deprecate the
input_flag_array
attribute on UVCal by @bhazelton in #1275 - Cal init method by @steven-murray in #1284
- Update CI by @bhazelton in #1295
- Prepare for v2.3.3 release by @bhazelton in #1297
Full Changelog: v2.3.2...v2.3.3
Version 2.3.2
This version contains:
- Including improved support for SMA MIR files, including better integration with the UVData
read
method. - Reduced memory/processor usage when reading and handling MIR files.
- Improvements to the UVData
read
andselect
methods to enable selecting based on source/phase center name.
Full changes detailed below and in our changelog:
What's Changed
- Improved UVData to MirParser interface by @kartographer in #1282
- Update the changelog for a new version (v2.3.2) by @bhazelton in #1286
Full Changelog: v2.3.1...v2.3.2
Version 2.3.1
This version:
- Adds a new
FastUVH5Meta
object that enables quick partial reading of uvh5 file metadata. - Fixes a bug in antenna_names and antenna_numbers in
read_fhd
andread_fhd_cal
. - Updates the numpy requirements to
>=1.20
and the scipy requirements to>=1.5
.
Full changes detailed below and in our changelog:
What's Changed
- Fix fhd read functions by @PyxieLouStar in #1270
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1272
- Fix the publish to pypi CI so that it will actually publish when there's a release by @bhazelton in #1273
- feat: add FastUVH5Meta reader by @steven-murray in #1258
- ^ docs/uvh5_memo freq_array is channel centers by @radonnachie in #1277
- Fix pre-commit by @bhazelton in #1279
- Update the UVH5 memo pdf after a recent change by @bhazelton in #1278
- fix: allow reading of old uvh5 files that were silently broken by @steven-murray in #1276
- Version 2.3.1 by @bhazelton in #1280
Full Changelog: v2.3.0...v2.3.1
Version 2.3.0
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__
andselect
methods for objects
with only one spectral window andflex_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 thephase_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 theUVBeam.interp
andUVBeam.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
- CVE-2007-4559 Patch by @TrellixVulnTeam in #1237
- Document Nphase in UVH5 Memo by @radonnachie in #1233
- Add metadata & support for flexible spws on UVFlag by @bhazelton in #1219
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1239
- Update the uvh5 memo pdf with changes in #1233 by @bhazelton in #1240
- Deprecate old phase attributes, use the new ones under the hood by @bhazelton in #1170
- Move warnings tests from circleci to GH actions to fix codecov reporting, other CI improvements by @bhazelton in #1242
- Add NSF acknowledgments to README.md by @jpober in #1243
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1241
- Improve beam interp docs by @bhazelton in #1246
- Fix warning test CI by @bhazelton in #1245
- fix tutorial items which raise deprecation warnings by @bhazelton in #1247
- More info in check errors by @steven-murray in #1249
- Fix some handling for old phase attributes by @bhazelton in #1244
- Fix bug with parameter passing for beamfits partial read by @bhazelton in #1254
- perf: use lru_cache for polstr and variants by @steven-murray in #1250
- Minor fix to MIR unit testing by @kartographer in #1260
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1261
- Fix a bug in reading HERA FHD files into UVData without a layout file by @bhazelton in #1255
- Properly handle the telescope frame in coordinate conversion utilities by @bhazelton in #1253
- Use importlib.metadata rather than pkg_resources by @bhazelton in #1264
- Add external tests for pyradiosky and pyuvsim by @bhazelton in #1257
- Require flex_spw_id_array on UVData, UVCal and UVFlag in the future by @bhazelton in #1252
- Add handling for non-utc timescales in MS files by @bhazelton in #1262
- Fix uvcal add by @bhazelton in #1263
- Deprecate the utility methods used by the (deprecated) old phasing by @bhazelton in #1268
- Warn about future shapes change on file read for all objects. by @bhazelton in #1238
- Remove deprecated code, update changelog for version 2.3 by @bhazelton in #1269
New Contributors
- @TrellixVulnTeam made their first contribution in #1237
- @radonnachie made their first contribution in #1233
Full Changelog: v2.2.12...v2.3
Version 2.2.12
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
- Fix PyPI publish action by @plaplant in #1230
- Update changelog for new release by @plaplant in #1231
Full Changelog: v2.2.11...v2.2.12
Version 2.2.11
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
- Update the pypi workflow and making release document for CI failures by @bhazelton in #1217
- Fix warnings test CI by @bhazelton in #1220
- Add LocationParameter.frame by @aelanman in #1218
- Improve JPL Horizons error handling by @bhazelton in #1222
- Fix uvh5 reader to check for
phase_center_catalog
notmulti_phase_center
by @bhazelton in #1225 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1226
- update changelog for new version by @bhazelton in #1227
- Fix the incorrect version in the changelog, add a missed item earlier by @bhazelton in #1228
Full Changelog: v2.2.10...v2.2.11