Changelog History
Page 7
-
v1.1.1 Changes
January 08, 2016๐ New Features
astropy.io.registry
- ๐ Allow
pathlib.Pathobjects (available in Python 3.4 and later) for specifying the file name in registry read / write functions. [#4405]
astropy.utils ^
console.human_file_sizenow accepts quantities with byte-equivalent units [#4373]
๐ Bug Fixes
astropy.analytic_functions
- ๐ Fixed the blackbody functions' handling of overflows on some platforms
(Windows with MSVC, older Linux versions) with a buggy
expm1function. [#4393]
astropy.io.fits ^
- ๐ Fixed an bug where updates to string columns in FITS tables were not saved on Python 3. [#4452]
Other Changes and Additions
- โก๏ธ Updated bundled astropy-helpers to v1.1.1. [#4413]
- ๐ Allow
-
v1.1 Changes
December 11, 2015๐ New Features
astropy.config ^
- Added new tools
set_temp_configandset_temp_cachewhich can be used either as function decorators or context managers to temporarily use alternative directories in which to read/write the Astropy config files and download caches respectively. This is especially useful for testing, thoughset_temp_cachemay also be used as a way to provide an alternative (application specific) download cache for large data files, rather than relying on the default cache location in users' home directories. [#3975]
astropy.constants
- โ Added the Thomson scattering cross-section. [#3839]
astropy.convolution
- โ Added Moffat2DKernel. [#3965]
astropy.coordinates
Added
get_constellationfunction andSkyCoord.get_constellationconvenience method to determine the constellation that a coordinate is in. [#3758]โ Added
PrecessedGeocentricframe, which is based on GCRS, but precessed to a specific requested mean equinox. [#3758]โ Added
Supergalacticframe to support de Vaucouleurs supergalactic coordinates. [#3892]SphericalRepresentationnow has a._unit_representationclass attribute to specify an equivalent UnitSphericalRepresentation. This allows subclasses of representations to pair up correctly. [#3757]โ Added functionality to support getting the locations of observatories by name. See
astropy.coordinates.EarthLocation.of_site. [#4042]โ Added ecliptic coordinates, including
GeocentricTrueEcliptic,BarycentricTrueEcliptic, andHeliocentricTrueEcliptic. [#3749]
astropy.cosmology
โ Add Planck 2015 cosmology [#3476]
Distance calculations now > 20-40x faster for the supplied cosmologies due to implementing Cython scalar versions of
FLRW.inv_efunc.[#4127]
astropy.io.ascii ^
Automatically use
guess=Falsewhen reading if the fileformatis provided and the format parameters are uniquely specified. This update also removes duplicate format guesses to improve performance. [#3418]๐ Calls to ascii.read() for fixed-width tables may now omit one of the keyword arguments
col_startsorcol_ends. Columns will be assumed to begin and end immediately adjacent to each other. [#3657]Add a function
get_read_trace()that returns a traceback of the attempted read formats for the last call toastropy.io.ascii.read. [#3688]Supports LZMA decompression via
get_readable_fileobj[#3667]๐ Allow
-character is Sextractor format column names. [#4168]๐ Improve DAOphot reader to read multi-aperture files [#3535, #4207]
astropy.io.fits ^
๐ Support reading and writing from bzip2 compressed files. i.e.
.fits.bz2files. [#3789]Included a new command-line script called
fitsinfoto display a summary of the HDUs in one or more FITS files. [#3677]
astropy.io.misc ^
- ๐ Support saving all meta information, description and units of tables and columns in HDF5 files [#4103]
astropy.io.votable
A new method was added to
astropy.io.votable.VOTable,get_info_by_idto conveniently find anINFOelement by itsIDattribute. [#3633]Instances in the votable tree now have better
__repr__methods. [#3639]
astropy.logger.py
- โ Added log levels (e.g., DEBUG, INFO, CRITICAL) to
astropy.log[#3947]
astropy.modeling ^
โ Added a new
Parameter.validatorinterface for setting a validation method on individual model parameters. See theParameterdocumentation for more details. [#3910]The projection classes that are named based on the 3-letter FITS WCS projections (e.g.
Pix2Sky_TAN) now have aliases using longer, more descriptive names (e.g.Pix2Sky_Gnomonic). [#3583]All of the standard FITS WCS projection types have been implemented in
astropy.modeling.projections(by wrapping WCSLIB). [#3906]โ Added
Sersic1DandSersic2Dmodel classes. [#3889]โ Added the Voigt profile to existing models. [#3901]
Added
bounding_boxproperty andrender_modelfunction [#3909]
astropy.nddata ^
โฌ๏ธ Added
block_reduceandblock_replicatefunctions. [#3453]extract_arraynow offers different options to deal with array boundaries [#3727]โ Added a new
Cutout2Dclass to create postage stamp image cutouts with optional WCS propagation. [#3823]
astropy.stats ^
Added
sigma_lowerandsigma_upperkeywords tosigma_clipto allow for non-symmetric clipping. [#3595]โ Added
cenfunc,stdfunc, andaxiskeywords tosigma_clipped_stats. [#3792]sigma_clipautomatically masks invalid input values (NaNs, Infs) before performing the clipping [#4051]โ Added the
histogramroutine, which is similar tonp.histogrambut includes several additional options for automatic determination of optimal histogram bins. Associated helper routines includebayesian_blocks,friedman_bin_width,scott_bin_width, andknuth_bin_width. This functionality was ported from the astroML library. [#3756]โ Added the
bayesian_blocksroutine, which implements a dynamic algorithm for locating change-points in various time series. [#3756]A new function
poisson_conf_interval()was added to allow easy calculation of several standard formulae for the error bars on the mean of a Poisson variable estimated from a single sample.
astropy.table ^
add_column()andadd_columns()now haverename_duplicateoption to rename new column(s) rather than raise exception when its name already exists. [#3592]Added
Table.to_pandasandTable.from_pandasfor converting to/from pandas dataframes. [#3504]๐ Initializing a
TablewithColumnobjects no longer requires that the columnnameattribute be defined. [#3781]โ Added an
infoproperty toTableobjects which provides configurable summary information about the table and its columns. [#3731]โ Added an
infoproperty to column classes (Columnor mixins). This serves a dual function of providing configurable summary information about the column, and acting as a manager of column attributes such as name, format, or description. [#3731]Updated table and column representation to use the
dtype_info_namefunction for the dtype value. Removed the default "masked=False" from the table representation. [#3868, #3869]โก๏ธ Updated row representation to be consistent with the corresponding table representation for that row. Added HTML representation so a row displays nicely in IPython notebook.
โ Added a new table indexing engine allowing for the creation of indices on one or more columns of a table using
add_index. These indices enable new functionality such as searching for rows by value usinglocandiloc, as well as increased performance for certain operations. [#3915, #4202]โ Added capability to include a structured array or recarray in a table as a mixin column. This allows for an approximation of nested tables. [#3925]
Added
keep_byteorderoption toTable.as_array(). See the "API Changes" section below. [#4080]โ Added a new method
Table.replace_column()to replace an existing column with a new data column. [#4090]โ Added a
tableclassoption toTable.pformat()to allow specifying a list of CSS classes added to the HTML table. [#4131]๐ New CSS for jsviewer table [#2917, #2982, #4174]
Added a new
Table.show_in_notebookmethod that shows an interactive view of a Table (similar toTable.show_in_browser(jsviewer=True)) in an Python/Jupyter notebook. [#4197]โ Added column alignment formatting for better pprint viewing experience. [#3644]
โ astropy.tests ^
- Added new test config options,
config_dirandcache_dir(these can be edited insetup.cfgor as extra command-line options to py.test) for setting the locations to use for the Astropy config files and download caches (see also the relatedset_temp_config/cachefeatures added inastropy.config). [#3975]
astropy.time ^
โ Add support for FITS standard time strings. [#3547]
๐ Allow the
formatattribute to be updated in place to change the default representation of aTimeobject. [#3673]โ Add support for shape manipulation (reshape, ravel, etc.). [#3224]
โ Add argmin, argmax, argsort, min, max, ptp, sort methods. [#3681]
โ Add
Time.to_datetimemethod for convertingTimeobjects to timezone-aware datetimes. [#4119, #4124]
astropy.units ^
โ Added furlong to imperial units. [#3529]
โ Added mil to imperial units. [#3716]
โ Added stone to imperial units. [#4192]
Added Earth Mass (
M_earth) and Jupiter mass (M_jup) to units [#3907]โ Added support for functional units, in particular the logarithmic ones
Magnitude,Decibel, andDex. [#1894]๐ Quantities now work with the unit support in matplotlib. See :ref:
plotting-quantities. [#3981]Clarified imperial mass measurements and added pound force (lbf), kilopound (kip), and pound per square inch (psi). [#3409]
astropy.utils ^
โ Added new
OrderedDescriptorandOrderedDescriptorContainerutility classes that make it easier to implement classes with declarative APIs, wherein class-level attributes have an inherit "ordering" to them that is specified by the order in which those attributes are defined in the class declaration (by defining them using special descriptors that haveOrderedDescriptoras a base class). See the API documentation for these classes for more details. Coordinate frames and models now use this interface. [#3679]The
get_pkg_data_*functions now take an optionalpackageargument which allows specifying any package to read package data filenames or content out of, as opposed to only being able to use data from the package that the function is called from. [#4079]Added function
dtype_info_nameto thedata_infomodule to provide the name of adtypefor human-readable informational purposes. [#3868]โ Added
classpropertydecorator--this is topropertyasclassmethodis to normal instance methods. [#3982]iers.opennow handles network URLs, as well as local paths. [#3850]The
astropy.utils.wrapsdecorator now takes an optionalexclude_argsargument not shared by the standard librarywrapsdecorator (as it is unique to the Astropy version's ability of copying the wrapped function's argument signature).exclude_argsallows certain arguments on the wrapped function to be excluded from the signature of the wrapper function. This is particularly useful when wrapping an instance method as a function (to exclude theselfargument). [#4017]get_readable_fileobjcan automatically decompress LZMA ('.xz') files using thelzmamodule of Python 3.3+ or, when available, thebackports.lzmapackage on earlier versions. [#3667]The
resolve_nameutility now accepts any number of additional positional arguments that are automatically dotted together with the firstnameargument. [#4083]Added
is_url_in_cachefor resolving paths to cached files via URLS and checking if files exist. [#4095]โ Added a
stepargument to theProgressBar.mapmethod to give users control over the update frequency of the progress bar. [#4191]
astropy.visualization
โ Added a function / context manager
quantity_supportfor enabling seamless plotting ofQuantityinstances in matplotlib. [#3981]โ Added the
histfunction, which is similar toplt.histbut includes several additional options for automatic determination of optimal histogram bins. This functionality was ported from the astroML library. [#3756]
astropy.wcs ^
- โฌ๏ธ The included version of wcslib has been upgraded to 5.10. [#3992, #4239]
The minimum required version of wcslib in the 4.x series remains 4.24.
The minimum required version of wcslib in the 5.x series is 5.8. Building astropy against a wcslib 5.x prior to 5.8 will raise an
ImportErrorwhenastropy.wcsis imported.The wcslib changes relevant to astropy are:
The FITS headers returned by
astropy.wcs.WCS.to_headerandastropy.wcs.WCS.to_header_stringnow include values with more precision. This will result in numerical differences in your results if you convertastropy.wcs.WCSobjects to FITS headers and use the results.astropy.wcs.WCSnow recognises theTPV,TPD,TPU,DSS,TNXandZPXpolynomial distortions.Added relaxation flags to allow
PC0i_0ja,PV0j_0ma, andPS0j_0ma(i.e. with leading zeroes on the index).Tidied up error reporting, particularly relating to translating status returns from lower-level functions.
๐ Changed output formatting of floating point values in
to_header.โจ Enhanced text representation of
WCSobjects. [#3604]โ The
astropy.tests.helpermodule is now part of the public API (and has a documentation page). This module was in previous releases of astropy, but was not considered part of the public API until now. [#3890]There is a new function
astropy.online_helpto search the astropy documentation and display the result in a web browser. [#3642]
API changes
astropy.cosmology
FLRW._tfuncandFLRW._xfuncare marked as deprecated. Users should use the new public interfacesFLRW.lookback_time_integrandandFLRW.abs_distance_integrandinstead. [#3767]
astropy.io.ascii ^
- 0๏ธโฃ The default header line processing was made to be consistent with data line
processing in that it now ignores blank lines that may have whitespace
characters. Any code that explicitly specifies a
header_startvalue for parsing a file with blank lines in the header containing whitespace will need to be updated. [#2654]
astropy.io.fits ^
0๏ธโฃ The
uintargument tofits.openis now True by default; that is, arrays using the FITS unsigned integer convention will be detected, and read as unsigned integers by default. A new config option forio.fits,enable_uint, can be changed to False to revert to the original behavior of ignoring theuintconvention unless it is explicitly requested withuint=True. [#3916]The
ImageHDU.NumCodeandImageHDU.ImgCodeattributes (and same for other classes derived from_ImageBaseHDU) are deprecated. Instead, theastropy.io.fitsmodule-level constantsBITPIX2DTYPEandDTYPE2BITPIXcan be used. [#3916]
astropy.modeling ^
Note: Comparisons of model parameters with array-like values now yields a Numpy boolean array as one would get with normal Numpy array comparison. Previously this returned a scalar True or False, with True only if the comparison was true for all elements compared, which could lead to confusing circumstances. [#3912]
Using
model.inverse = Noneto reset a model's inverse to its default is deprecated. In the future this syntax will explicitly make a model not have an inverse (even if it has a default). Instead, usedel model.inverseto reset a model's inverse to its default (if it has a default, otherwise this just deletes any custom inverse that has been assigned to the model and is still equivalent to settingmodel.inverse = None). [#4236]๐ Adds a
model.has_user_inverseattribute which indicates whether or not a user has assigned a custom inverse tomodel.inverse. This is just for informational purposes, for example, for software that introspects model objects. [#4236]๐ Renamed the parameters of
RotateNative2CelestialandRotateCelestial2Nativefromphi,theta,psitolon,latandlon_pole. [#3578]Deprecated the
Pix2Sky_AZP.check_muandSky2Pix_AZP.check_mumethods (these were obscure "accidentally public" methods that were probably not used by anyone). [#3910]โ Added a phase parameter to the Sine1D model. [#3807]
astropy.stats ^
๐ Renamed the
sigma_clipsigkeyword assigma. [#3595]๐ Changed the
sigma_clipvarfunckeyword tostdfunc. [#3595]Renamed the
sigma_clipped_statsmask_valkeyword tomask_value. [#3595]๐ Changed the default
iterskeyword value to 5 in both thesigma_clipandsigma_clipped_statsfunctions. [#4067]
astropy.table ^
Table.as_array()always returns a structured array with each column in the system's native byte order. The optionalkeep_byteorder=Trueoption will keep each column's data in its original byteorder. [#4080]Table.simple_table()now creates tables with int64 and float64 types instead of int32 and float64. [#4114]An empty table can now be initialized without a
namesargument as long as a validdtypeargument (with names embedded) is supplied. [#3977]
astropy.time ^
- ๐ The
astropy_timeattribute and time format has been removed from the public interface. Existing code that instantiates a new time object usingformat='astropy_time'can simply omit theformatspecification. [#3857]
astropy.units ^
Single-item
Quantityinstances with recorddtypewill now have theirisscalarproperty returnTrue, consistent with behaviour for numpy arrays, wherenp.voidrecords are considered scalar. [#3899]Three changes relating to the FITS unit format [#3993]:
๐ The FITS unit format will no longer parse an arbitrary number as a scale value. It must be a power of 10 of the form
10^^k,10^k,10+k,10-kand10(k). [#3993]Scales that are powers of 10 can be written out. Previously, any non-1.0 scale was rejected.
The
*character is accepted as a separator between the scale and the units.๐ Unit formatter classes now require the
parseandto_stringmethods are now required to be classmethods (and the formatter classes themselves are assumed to be singletons that are not instantiated). As unit formatters are mostly an internal implementation detail this is not likely to affect any users. [#4001]CGS E&M units are now defined separately from SI E&M units, and have distinct physical types. [#4255, #4355]
astropy.utils ^
All of the
get_pkg_data_*functions take an optionalpackageargument as their second positional argument. So any code that previously passed other arguments to these functions as positional arguments might break. Use keyword argument passing instead to mitigate this. [#4079]astropy.utils.iersnow uses aQTableinternally, which means that the numerical columns are stored asQuantity, with full support for units. Furthermore, theut1_utcmethod now returns aQuantityinstead of a float or an array (as didpm_xyalready). [#3223]astropy.utils.iersnow throws anIERSRangeError, a subclass ofIndexError, rather than a rawIndexError. This allows more fine-grained catching of situations where aTimeis beyond the range of the loaded IERS tables. [#4302]
astropy.wcs ^
When compiled with wcslib 5.9 or later, the FITS headers returned by
astropy.wcs.WCS.to_headerandastropy.wcs.WCS.to_header_stringnow include values with more precision. This will result in numerical differences in your results if you convertastropy.wcs.WCSobjects to FITS headers and use the results.If NAXIS1 or NAXIS2 is not passed with the header object to WCS.calc_footprint, a ValueError is raised. [#3557]
๐ Bug fixes
astropy.constants
- The constants
Ryanduare now properly used inside the corresponding units. The latter have changed slightly as a result. [#4229]
astropy.coordinates
- Internally,
coordinatesnow consistently uses the appropriate time scales for using ERFA functions. [#4302]
astropy.io.ascii ^
๐ Fix a segfault in the fast C parser when one of the column headers is empty [#3545].
๐ Fix several bugs that prevented the fast readers from being used when guessing the file format. Also improved the read trace information to better understand format guessing. [#4115]
๐ Fix an underlying problem that resulted in an uncaught TypeError exception when reading a CDS-format file with guessing enabled. [#4120]
astropy.modeling ^
Simplexfitter now correctly passes additional keywords arguments to the scipy solver. [#3966]The keyword
acc(for accuracy) is now correctly accepted bySimplex. [#3966]
astropy.units ^
- The units
Rydanduare no longer hard-coded numbers, but depend on the appropriate values in theconstantsmodule. As a result, these units now imply slightly different conversions. [#4229]
Other Changes and Additions
โ The
./setup.py testcommand is now implemented in theastropy.testsmodule again (previously its implementation had been moved into astropy-helpers). However, that made it difficult to synchronize changes to the Astropy test runner with changes to the./setup.py testUI. astropy-helpers v1.1 and above will detect this implementation of thetestcommand, when present, and use it instead of the old version that was included in astropy-helpers (most users will not notice any difference as a result of this change). [#4020]The repr for
Tableno longer displaysmasked=Falsesince tables are not masked by default anyway. [#3869]โก๏ธ The version of
PLYthat ships with astropy has been updated to 3.6.๐ WCSAxes is now required for doc builds. [#4074]
๐ The migration guide from pre-v0.4 coordinates has been removed to avoid cluttering the
astropy.coordinatesdocumentation with increasingly irrelevant material. To see the migration guide, we recommend you simply look to the archived documentation for previous versions, e.g. https://docs.astropy.org/en/v1.0/coordinates/index.html#migrating-from-pre-v0-4-coordinates [#4203]In
astropy.coordinates, the transformations between GCRS, CIRS, and ITRS have been adjusted to more logically reflect the order in which they actually apply. This should not affect most coordinate transformations, but may affect code that is especially sensitive to machine precision effects that change when the order in which transformations occur is changed. [#4255]๐ Astropy v1.1.0 will be the last release series to officially support Python 2.6. A deprecation warning will now be issued when using Astropy in Python 2.6 (this warning can be disabled through the usual Python warning filtering mechanisms). [#3779]
- Added new tools
-
v1.0.13 Changes
May 29, 2017๐ Bug Fixes
astropy.io.fits ^
๐ Fix use of quantize level parameter for
CompImageHDU. [#6029]Prevent crash when a header contains non-ASCII (e.g. UTF-8) characters, to allow fixing the problematic cards. [#6084]
-
v1.0.12 Changes
March 05, 2017๐ Bug Fixes
astropy.convolution
- โ Fixed bug in
discretize_integrate_2Din which x and y coordinates where swapped. [#5634]
astropy.coordinates
- ๐ Fixed a bug where
get_transformcould sometimes produce confusing errors because of a typo in the input validation. [#5645]
astropy.io.fits ^
- Guard against extremely unlikely problems in compressed images, which could lead to memory unmapping errors. [#5775]
astropy.io.votable
- ๐ Fixed a bug where stdlib
realloc()was used instead ofPyMem_Realloc()[#5696, #4739, #2100]
astropy.utils ^
- ๐ Fixed ImportError with NumPy < 1.7 and Python 3.x in
_register_patched_dtype_reduce. [#5848]
- โ Fixed bug in
-
v1.0.11 Changes
December 22, 2016๐ Bug Fixes
astropy.coordinates
๐ Initialising a SkyCoord from a list containing a single SkyCoord no longer removes the distance from the coordinate. [#5270]
๐ Fix errors in the implementation of the conversion to and from FK4 frames without e-terms, which will have affected coordinates not on the unit sphere (i.e., with distances). [#4293]
๐ Fix bug where with cds units enabled it was no longer possible to initialize an
Angle. [#5483]Ensure that
search_around_skyandsearch_around_3dreturn integer type index arrays for empty (non) matches. [#4877, #5083]Return an empty set of matches for
search_around_skyandsearch_around_3dwhen one or both of the input coordinate arrays is empty. [#4875, #5083]
astropy.io.ascii ^
๐ Fix a bug with empty value at end of tab-delimited table on Windows. [#5370]
๐ Fix reading of big ASCII tables (more than 2Gb) with the fast reader. [#5319]
๐ Fix segfault with FastCsv and row with too many columns. [#5534]
๐ Fix problem reading an AASTex format table that does not have
\\at the end of the last table row. [#5427]
astropy.io.fits ^
โ Removed raising of AssertionError that could occur after closing or deleting compressed image data. [#4690, #4694, #4948]
๐ Fixed bug that caused an ignored exception to be displayed under certain conditions when terminating a script after using fits.getdata(). [#4977]
๐ Fixed usage of inplace operations that were raising an exception with recent versions of Numpy due to implicit casting. [#5250]
astropy.io.votable
- Fixed bug of
Resource.__repr__()having undefined attributes and variables. [#5382]
astropy.modeling ^
- CompoundModel now correctly inherits _n_models, allowing the use of model sets [#5358]
astropy.units ^
๐ Fixed bug in Ci definition. [#5106]
Non-ascii cds unit strings are now correctly represented using
stralso on python2. This solves bugs in parsing coordinates involving strings too. [#5355]๐ Ensure
Quantitysupportsnp.float_power, which is new in numpy 1.12. [#5480]
astropy.utils ^
- Fixed AttributeError when calling
utils.misc.signal_number_to_namewith Python3 [#5430].
astropy.wcs ^
- โก๏ธ Update the
_naxis{x}attributes when callingWCS.slice. [#5411]
Other Changes and Additions
- โก๏ธ The bundled ERFA was updated to version 1.3.0. This includes the leap second planned for 2016 Dec 31. [#5418]
-
v1.0.10 Changes
June 09, 2016๐ Bug Fixes
astropy.coordinates
SkyCoordobjects created before a new frame which has frame attributes is created no longer raiseAttributeErrorwhen the new attributes are accessed [#5021]๐ Fix some errors in the implementation of aberration for
get_sun. [#4979]
astropy.io.ascii ^
- ๐ Fix problem reading a zero-length ECSV table with a bool type column. [#5010]
astropy.io.fits ^
- ๐ Fix convenience functions (
getdata,getheader,append,update) to close files. [#4786]
astropy.io.votable
- โก๏ธ The astropy.io.votable.validator.html module is updated to handle division by zero when generating validation report. [#4699]
astropy.table ^
๐ Fixed a bug where
pprint()sometimes raisesUnicodeDecodeErrorin Python 2. [#4946]๐ Fix bug when doing outer join on multi-dimensional columns. [#4060]
๐ Fixed bug where Tables created from existing Table objects were not inheriting the
primary_keyattribute. [#4672]
โ astropy.tests ^
- ๐ Fix coverage reporting in Python 3. [#4822]
astropy.units ^
- ๐ Duplicates between long and short names are now removed in the
namesandaliasesproperties of units. [#5036]
astropy.utils ^
The astropy.utils.xml.unescaper module now also unescapes
'%2F'to'/'and'&&'to'&'in a given URL. [#4699]Fix two problems related to the download cache: clear_download_cache() does not work in Python 2.7 and downloading in Python 2.7 and then Python 3 can result in an exception. [#4810]
astropy.vo ^
Cache option now properly caches both downloaded JSON database and XML VO tables. [#4699]
โก๏ธ The astropy.vo.validator.conf.conesearch_urls listing is updated to reflect external changes to some VizieR Cone Search services. [#4699]
VOSDatabase decodes byte-string to UTF-8 instead of ASCII to avoid UnicodeDecodeError for some rare cases. Fixed a Cone Search test that is failing as a side-effect of #4699. [#4757]
Other Changes and Additions
- โก๏ธ Updated
astropy.teststest runner code to work with Coverage v4.0 when generating test coverage reports. [#4176]
-
v1.0.9 Changes
March 10, 2016๐ New Features
astropy.nddata ^
NDArithmeticMixincheck for matching WCS now works withastropy.wcs.WCSobjects [#4499, #4503]
๐ Bug Fixes
astropy.convolution
- Correct a bug in which
psf_padandfft_padwould be ignored [#4366]
astropy.io.ascii ^
๐ Fixed addition of new line characters after last row of data in ascii.latex.AASTex. [#4561]
๐ Fixed reading of Latex tables where the
\tabulartag is in the first line. [#4595]๐ Fix use of plain format strings with the fast writer. [#4517]
๐ Fix bug writing space-delimited file when table has empty fields. [#4417]
astropy.io.fits ^
๐ Fixed possible segfault during error handling in FITS tile compression. [#4489]
๐ Fixed crash on pickling of binary table columns with the 'X', 'P', or 'Q' format. [#4514]
๐ Fixed memory / reference leak that could occur when copying a
FITS_recobject (the.datafor table HDUs). [#520]๐ Fixed a memory / reference leak in
FITS_recthat occurred in a wide range of cases, especially after writing FITS tables to a file, but in other cases as well. [#4539]
astropy.modeling ^
- ๐ Fixed display of compound model expressions and components when printing compound model instances. [#4414, #4482]
astropy.stats ^
the input for median_absolute_deviation will not be cast to plain numpy arrays when given subclasses of numpy arrays (like Quantity, numpy.ma.MaskedArray, etc.) [#4658]
Fixed incorrect results when using median_absolute_deviation with masked arrays. [#4658]
astropy.utils ^
- ๐ The
zest.releaserhooks included in Astropy are now injected locally to Astropy, rather than being global. [#4650]
astropy.visualization
๐ Fixed
fits2bitmapscript to allow ext flag to contain extension names or numbers. [#4468]๐ Fixed
fits2bitmapdefault output filename generation for compressed FITS files. [#4468]
-
v1.0.8 Changes
January 08, 2016๐ Bug Fixes
astropy.io.fits ^
- ๐ Fixed an bug where updates to string columns in FITS tables were not saved on Python 3. [#4452]
astropy.units ^
- In-place peak-to-peak calculations now work on
Quantity. [#4442]
astropy.utils ^
- Fixed
find_api_pageto work correctly on python 3.x [#4378, #4379]
-
v1.0.7 Changes
December 04, 2015๐ Bug Fixes
astropy.coordinates
- Pickling of
EarthLocationinstances now also works on Python 2. [#4304]
astropy.io.ascii ^
- ๐ Fix fast writer so bytestring column output is not prefixed by 'b' in Python 3. [#4350]
astropy.io.fits ^
๐ Fixed a regression that could cause writes of large FITS files to be truncated. [#4307]
Astropy v1.0.6 included a fix (#4228) for an obscure case where the TDIM of a table column is smaller than the repeat count of its data format. This updates that fix in such a way that it works with Numpy 1.10 as well. [#4266]
astropy.table ^
- ๐ Fix a bug when pickling a Table with mixin columns (e.g. Time). [#4098]
astropy.time ^
- ๐ Fix incorrect
valueattribute for epoch formats like "unix" whenscaleis different from the classepoch_scale. [#4312]
astropy.utils ^
๐ Fixed an issue where if ipython is installed but ipykernel is not installed then importing astropy from the ipython console gave an IPython.kernel deprecation warning. [#4279]
๐ Fixed crash that could occur in
ProgressBarwhenastropyis imported in an IPython startup script. [#4274]
Other Changes and Additions
- โก๏ธ Updated bundled astropy-helpers to v1.0.6. [#4372]
- Pickling of
-
v1.0.6 Changes
October 22, 2015๐ Bug Fixes
astropy.analytic_functions
- ๐ Fixed blackbody analytic functions to properly support arrays of temperatures. [#4251]
astropy.coordinates
- ๐ Fixed errors in transformations for objects within a few AU of the Earth. Included substantive changes to transformation machinery that may change distances at levels ~machine precision for other objects. [#4254]
astropy.io.fits ^
๐ท
fitsdiffand related functions now do a better job reporting differences between values that are different types but have the same representation (ex: the string '0' versus the number 0). [#4122]๐ Miscellaneous fixes for supporting Numpy 1.10. [#4228]
๐ Fixed an issue where writing a column of unicode strings to a FITS table resulted in a quadrupling of size of the column (i.e. the format of the FITS column was 4 characters for every one in the original strings). [#4228]
โ Added support for an obscure case (but nonetheless allowed by the FITS standard) where a column has some TDIMn keyword, but a repeat count in the TFORMn column greater than the number of elements implied by the TDIMn. For example TFORMn = 100I, but TDIMn = '(5,5)'. In this case the TDIMn implies 5x5 arrays in the column, but the TFORMn implies a 100 element 1-D array in the column. In this case the TDIM takes precedence, and the remaining bytes in the column are ignored. [#4228]
astropy.io.votable
- ๐ Fixed crash with Python compiler optimization level = 2. [#4231]
astropy.vo ^
- Fixed
check_conesearch_siteswithparallel=Trueon Python >= 3.3 and on Windows (it was broken in both those cases for separate reasons). [#2970]
Other Changes and Additions
- โ All tests now pass against Numpy v1.10.x. This implies nominal support for Numpy 1.10.x moving forward (but there may still be unknown issues). For example, there is already a known performance issue with tables containing large multi-dimensional columns--for example, tables that contain entire images in one or more of their columns. This is a known upstream issue in Numpy. [#4259]