astropy v4.2.1 Release Notes
Release Date: 2021-04-01 // about 3 years ago-
๐ Bug Fixes
astropy.cosmology
- ๐ Fixed an issue where specializations of the comoving distance calculation for certain cosmologies could not handle redshift arrays. [#10980]
astropy.io.fits ^
- ๐ Fix bug where manual fixes to invalid header cards were not preserved when saving a FITS file. [#11108]
astropy.io.votable
NumericArray
converter now properly broadcasts scalar mask to array. [#11157]
astropy.table ^
- ๐ Fix bug when initializing a
Table
subclass that usesTableAttribute
's. If the data were an instance of the table then attributes provided in the table initialization call could be ignored. [#11217]
astropy.time ^
- ๐ Change epoch of
TimeUnixTAI
("unix_tai"
) from1970-01-01T00:00:00 UTC
to1970-01-01T00:00:00 TAI
to match the intended and documented behaviour. This essentially changes the resulting times by 8.000082 seconds, the initial offset between TAI and UTC. [#11249]
astropy.units ^
- ๐ Fixed a bug with the
quantity_input
decorator where allowing dimensionless inputs for an argument inadvertently disabled any checking of compatible units for that argument. [#11283]
astropy.utils ^
- ๐ Fix a bug so that
np.shape
,np.ndim
andnp.size
again work on classes that useShapedLikeNDArray
, like representations, frames, sky coordinates, and times. [#11133]
astropy.wcs ^
- Fix error when a user defined
proj_point
parameter is passed tofit_wcs_from_points
. [#11139]
Other Changes and Additions
- ๐ Change epoch of
TimeUnixTAI
("unix_tai"
) from1970-01-01T00:00:00 UTC
to1970-01-01T00:00:00 TAI
to match the intended and documented behaviour. This essentially changes the resulting times by 8.000082 seconds, the initial offset between TAI and UTC. [#11249]