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 the obstime 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 with Disk2D 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 of 1.2000000000000002. After this change, the exact rational number of Fraction(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 the UnitsError exception used previously, so existing code that catches UnitsError 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]