Added
- A new attribute to `UVData` called `flex_spw_polarization_array`, of type=int and shape=(`Nspws`,),
which allows for individual spectral windows to carry different polarization data.
- Added the `_make_flex_pol` and `remove_flex_pol` methods to `UVData`, which allows for
one to convert a standard `UVData` object to one with "flexible-polarization".
- Added a new method to `MirParser` called `_apply_tsys`, which will convert MIR visibility data
from correlation coefficients to pseudo-Jy.
- Added a method to `Mir` called `_init_from_mir_parser`, which allows for one to pass
a `MirParser` object to be converted into a UVData object (rather than reading from
a file on disk).
- Added the `flex_spw` attribute to the `UVCal` class, which can be set to True by using
the new `_set_flex_spw` method.
- Added the optional `flex_spw_id_array` attribute to UVCal class, of type=int and
shape=(`Nfreqs`,), which indexes individual channels along the frequency axis to `spw_array`.
- Added `use_future_array_shapes` method to UVCal to allow users to convert to using the
future array shapes now, with support throughout UVCal methods and related utility
functions. Also added `use_current_array_shapes` to revert to the standard shapes.
- Added support for wide-band gain calibrations via the `wide_band` attribute on the
`UVCal` class, which can be set using the new `_set_wide_band` method.
- Added `time_range`, `lsts`, and `lst_range` kwargs from UVH5.write_uvh5_part() to UVData.write_uvh5_part().
- Added `time_range`, `lsts`, and `lst_range` kwargs from UVH5.write_uvh5_part() to UVData.write_uvh5_part().
Changed
- General performance improvements in the `read_mir` method.
- Enabled `read_mir` to read in dual- and full-polarization data.
Fixed
- Fixed a bug where `UVData.compress_by_redundancy` sometimes produced incorrectly
conjugated visibilities.
- Fixed a bug where `lsts` and `lst_range` got ignored when doing partial i/o with multiple files.