astropy v1.0.3 Release Notes
Release Date: 2015-06-05 // almost 9 years ago-
๐ New Features
astropy.table ^
- ๐จ Greatly improved the speed of printing a large table to the screen when only a few rows are being displayed. [#3796]
astropy.time ^
- โ Add support for the 2015-Jun-30 leap second. [#3794]
API Changes
astropy.io.ascii ^
- Note that HTML formatted tables will not always be found with guess mode
unless it passes certain heuristics that strongly suggest the presence of
HTML in the input. Code that expects to read tables from HTML should
specify
format='html'
explicitly. See bug fixes below for more details. [#3693]
๐ Bug Fixes
astropy.convolution
- ๐ Fix issue with repeated normalizations of
Kernels
. [#3747]
astropy.coordinates
๐ Fixed
get_sun
to yield frames with theobstime
set to what's passed into the function (previously it incorrectly always had J2000). [#3750]๐ Fixed
get_sun
to account for aberration of light. [#3750]๐ Fixed error in the GCRS->ICRS transformation that gave incorrect distances. [#3750]
astropy.io.ascii ^
- โ Remove HTML from the list of automatically-guessed formats when reading if the file does not appear to be HTML. This was necessary to avoid a commonly-encountered segmentation fault occurring in the libxml parser on MacOSX. [#3693]
astropy.io.fits ^
- ๐ Fixes to support the upcoming Numpy 1.10. [#3419]
astropy.modeling ^
Polynomials are now scaled when used in a compound model. [#3702]
๐ Fixed the
Ellipse2D
model to be consistent withDisk2D
in how pixels are included. [#3736]๐ Fixed crash when evaluating a model that accepts no inputs. [#3772]
โ astropy.testing ^
- โ The Astropy py.test plugins that disable unintentional internet access in tests were also blocking use of local UNIX sockets in tests, which prevented testing some multiprocessing code--fixed. [#3713]
astropy.units ^
๐ Supported full SI prefixes for the barn unit ("picobarn", "femtobarn", etc.) [#3753]
๐ Fix loss of precision when multiplying non-whole-numbered powers of units together. For example, before this change,
(u.m ** 1.5) ** Fraction(4, 5)
resulted in an inaccurate floating-point power of1.2000000000000002
. After this change, the exact rational number ofFraction(6, 5)
is maintained. [#3790]๐ Fixed printing of object ndarrays containing multiple Quantity objects with differing / incompatible units. Note: Unit conversion errors now cause a
UnitConversionError
exception to be raised. However, this is a subclass of theUnitsError
exception used previously, so existing code that catchesUnitsError
should still work. [#3778]
Other Changes and Additions
Added a new
astropy.__bibtex__
attribute which gives a citation for Astropy in bibtex format. [#3697]โก๏ธ The bundled version of ERFA was updated to v1.2.0 to address leapsecond updates. [#3802]