astropy v1.0.5 Release Notes
Release Date: 2015-10-05 // over 8 years ago-
๐ Bug Fixes
astropy.constants
- ๐ Rename units -> unit and error -> uncertainty in the
repr
andstr
of constants to match attribute names. [#4147]
astropy.coordinates
๐ Fix string representation of
SkyCoord
objects transformed into theAltAz
frame [#4055, #4057]Fix the
search_around_sky
function to allowstorekdtree
to beFalse
as was intended. [#4082, #4212]
astropy.io.fits ^
๐ Fix bug when extending one header (without comments) with another (with comments). [#3967]
Somewhat improved resource usage for FITS data--previously a new
mmap
was opened for each HDU of a FITS file accessed through anHDUList
. Eachmmap
used up a single file descriptor, causing problems with system resource limits for some users. Now only a singlemmap
is opened, and shared for the data of all HDUs. Note: The problem still persists with using the "convenience" functions. For example usingfits.getdata
will create onemmap
per HDU read this way (as opposed to opening the file withfits.open
and accessing the HDUs through theHDUList
object). [#4097]๐ Fix bug where reading a file without a newline failed with an unrelated / unhelpful exception. [#4160]
astropy.modeling ^
- Cleaned up
repr
of models that have no parameters. [#4076]
astropy.nddata ^
- ๐ Initializing
NDDataArray
from another instance now setsflags
as expected and no longer fails whenuncertainty
is set [#4129]. Initializing anNDData
subclass from a parent instance (eg.NDDataArray
fromNDData
) now sets the attributes other thandata
as it should [#4130, #4137].
astropy.table ^
๐ Fix an issue with setting fill value when column dtype is changed. [#4088]
Fix bug when unpickling a bare Column where the _parent_table attribute was not set. This impacted the Column representation. [#4099]
๐ Fix issue with the web browser opening with an empty page, and ensure that the url is correctly formatted for Windows. [#4132]
๐ Fix NameError in table stack exception message. [#4213]
astropy.utils ^
resolve_name
no longer causessys.modules
to be cluttered with additional copies of modules under a package imported likeresolve_name('numpy')
. [#4084]โก๏ธ
console
was updated to support IPython 4.x and Jupyter 1.x. This should suppress a ShimWarning that was appearing at import of astropy with IPython 4.0 or later. [#4078]Temporary downloaded files created by
get_readable_fileobj
when passed a URL are now deleted immediately after the file is closed. [#4198]
astropy.visualization
The color for axes labels was set to white. Since white labels on white background are hard to read, the label color has been changed to black. [#4143]
ImageNormalize
now automatically determinesvmin
/vmax
(via theautoscale_None
method) when they have not been set explicitly. [#4117]
astropy.vo ^
- Cone Search validation no longer crashes when the provider gives an incomplete test query. It also ensures search radius for a test query is not too large to avoid timeout. [#4158, #4159]
Other Changes and Additions
๐ Astropy now supports Python 3.5. [#4027]
โก๏ธ Updated bundled version of astropy-helpers to 1.0.5. [#4215]
โก๏ธ Updated tests to support py.test 2.7, and upgraded the bundled copy of py.test to v2.7.3. [#4027]
- ๐ Rename units -> unit and error -> uncertainty in the