astropy v0.4.2 Release Notes
Release Date: 2014-09-23 // over 9 years ago-
๐ Bug Fixes
astropy.coordinates
Angle
accepts hours:mins or deg:mins initializers (without seconds). In these cases float minutes are also accepted.The
repr
for coordinate frames now displays the frame attributes (ex: ra, dec) in a consistent order. It should be noted that as part of this fix, theBaseCoordinateFrame.get_frame_attr_names()
method now returns anOrderedDict
instead of just adict
. [#2845]
astropy.io.fits ^
๐ Fixed a crash when reading scaled float data out of a FITS file that was loaded from a string (using
HDUList.fromfile
) rather than from a file. [#2710]๐ Fixed a crash when reading data from an HDU whose header contained in invalid value for the BLANK keyword (e.g., a string value instead of an integer as required by the FITS Standard). Invalid BLANK keywords are now warned about, but are otherwise ignored. [#2711]
๐ Fixed a crash when reading the header of a tile-compressed HDU if that header contained invalid duplicate keywords resulting in a
KeyError
[#2750]๐ Fixed crash when reading gzip-compressed FITS tables through the Astropy
Table
interface. [#2783]๐ Fixed corruption when writing new FITS files through to gzipped files. [#2794]
๐ Fixed crash when writing HDUs made with non-contiguous data arrays to file-like objects. [#2794]
It is now possible to create
astropy.io.fits.BinTableHDU
objects with a table with zero rows. [#2916]
astropy.io.misc ^
- ๐ Fixed a bug that prevented h5py
Dataset
objects from being automatically recognized byTable.read
. [#2831]
astropy.modeling ^
- ๐ Make
LevMarLSQFitter
work withweights
keyword. [#2900]
astropy.table ^
๐ Fixed reference cycle in tables that could prevent
Table
objects from being freed from memory. [#2879]๐ Fixed an issue where
Table.pprint()
did not print the header tostdout
whenstdout
is redirected (say, to a file). [#2878]๐ Fixed printing of masked values when a format is specified. [#1026]
Ensured that numpy ufuncs that return booleans return plain
ndarray
instances, just like the comparison operators. [#2963]
astropy.time ^
- Ensure bigendian input to Time works on a little-endian machine (and vice versa). [#2942]
astropy.units ^
- Ensure unit is kept when adding 0 to quantities. [#2968]
astropy.utils ^
- ๐ Fixed color printing on Windows with IPython 2.0. [#2878]
astropy.vo ^
- ๐ Improved error message on Cone Search time out. [#2687]
Other Changes and Additions
๐ Fixed a couple issues with files being inappropriately included and/or excluded from the source archive distributions of Astropy. [#2843, #2854]
As part of fixing the fact that masked elements of table columns could not be printed when a format was specified, the column format string options were expanded to allow simple specifiers such as
'5.2f'
. [#2898]๐ Ensure numpy 1.9 is supported. [#2917]
๐ Ensure numpy master is supported, by making
np.cbrt
work with quantities. [#2937]