diff --git a/CHANGES.rst b/CHANGES.rst index ae75a741ab5b..593f7eb32e80 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,526 +1,14 @@ -4.0.3 (unreleased) -================== -4.2 (unreleased) -================ - -New Features ------------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -- Numpy functions that broadcast, change shape, or index (like ``np.broadcast_to``, - ``np.rot90``, or ``np.roll``) now work on coordinates, frames, and - representations. [#10337] - -- Add a new science state ``astropy.coordinates.erfa_astrom.erfa_astrom`` and - two classes ``ErfaAstrom``, ``ErfaAstromInterpolator`` as wrappers to - the ``pyerfa`` astrometric functions used in the coordinate transforms. - Using ``ErfaAstromInterpolator``, which interpolates astrometric properties for - ``SkyCoord`` instances with arrays of obstime, can dramatically speed up - coordinate transformations while keeping microarcsecond resolution. - Depending on needed precision and the obstime array in question, speed ups - reach factors of 10x to >100x. [#10647] - -- ``galactocentric_frame_defaults`` can now also be used as a registry, with user-defined parameter values and metadata. [#10624] - -- Method ``.realize_frame`` from coordinate frames now accepts ``**kwargs``, - including ``representation_type``. [#10727] - - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -- Added NFW profile and tests to modeling package [#10505] - -- Added missing logic for evaluate to compound models [#10002] - -- Stop iteration in ``FittingWithOutlierRemoval`` before reaching ``niter`` if - the masked points are no longer changing. [#10642] - -- Keep a (shallow) copy of ``fit_info`` from the last iteration of the wrapped - fitter in ``FittingWithOutlierRemoval`` and also record the actual number of - iterations performed in it. [#10642] - -- Added attributes for fitting uncertainties (covariance matrix, standard - deviations) to models. Parameter covariance matrix can be accessed via - ``model.cov_matrix``, standard deviations by ``model.stds`` or individually - for each parameter by ``parameter.std``. Currently implemented for - ``LinearLSQFitter`` and ``LevMarLSQFitter``. [#10552] - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -- Added ``circstd`` function to obtain a circular standard deviation. [#10690] - -astropy.table -^^^^^^^^^^^^^ - -- Allow initializing a ``Table`` using a list of ``names`` in conjunction with - a ``dtype`` from a numpy structured array. The list of ``names`` overrides the - names specified in the ``dtype``. [#10419] - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -- Add new ``isclose()`` method to ``Time`` and ``TimeDelta`` classes to allow - comparison of time objects to within a specified tolerance. [#10646] - -- Improve initialization time by a factor of four when creating a scalar ``Time`` - object in a format like ``unix`` or ``cxcsec`` (time delta from a reference - epoch time). [#10406] - -- Numpy functions that broadcast, change shape, or index (like ``np.broadcast_to``, - ``np.rot90``, or ``np.roll``) now work on times. [#10337, #10502] - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -- ``Quantity.to`` has gained a ``copy`` option to allow copies to be avoided - when the units do not change. [#10517] - -- Added the ``spat`` unit of solid angle that represents the full sphere. - [#10726] - -astropy.utils -^^^^^^^^^^^^^ - -- ``ShapedLikeNDArray`` has gained the capability to use numpy functions - that broadcast, change shape, or index. [#10337] - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - -- ``WCS.to_header()`` now appends comments to SIP coefficients. [#10480] - - -API Changes ------------ - -astropy.config -^^^^^^^^^^^^^^ - -- ``set_temp_config`` now preserves the existing cache rather than deleting - it and relying on reloading it from the previous config file. This ensures - that any programmatically made changes are preserved as well. [#10474] - -- Configuration path detection logic has changed: Now, it looks for ``~`` first - before falling back to older logic. In addition, ``HOMESHARE`` is no longer - used in Windows. [#10705] - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -- The passing of frame classes (as opposed to frame instances) to the - ``transform_to()`` methods of low-level coordinate-frame classes has been - deprecated. Frame classes can still be passed to the ``transform_to()`` - method of the high-level ``SkyCoord`` class, and using ``SkyCoord`` is - recommended for all typical use cases of transforming coordinates. [#10475] - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -- Added a ``grow`` parameter to ``SigmaClip``, ``sigma_clip`` and - ``sigma_clipped_stats``, to allow expanding the masking of each deviant - value to its neighbours within a specified radius. [#10613] - - -astropy.table -^^^^^^^^^^^^^ - -- Change ``Table.columns.keys()`` and ``Table.columns.values()`` to both return - generators instead of a list. This matches the behavior for Python ``dict`` - objects. [#10543] - -- Removed the ``FastBST`` and ``FastRBT`` indexing engines because they depend - on the ``bintrees`` package, which is no longer maintained and is deprecated. - Instead, use the ``SCEngine`` indexing engine, which is similar in - performance and relies on the ``sortedcontainers`` package. [#10622] - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -- Refactor ``Time`` and ``TimeDelta`` classes to inherit from a common - ``TimeBase`` class. The ``TimeDelta`` class no longer inherits from ``Time``. - A number of methods that only apply to ``Time`` (e.g. ``light_travel_time``) - are no longer available in the ``TimeDelta`` class. [#10656] - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -- The ``bar`` unit is no longer wrongly considered an SI unit, meaning that - SI decompositions like ``(u.kg*u.s**-2* u.sr**-1 * u.nm**-1).si`` will - no longer include it. [#10586] - -astropy.utils -^^^^^^^^^^^^^ - -- Shape-related items from ``astropy.utils.misc`` -- ``ShapedLikeNDArray``, - ``check_broadcast``, ``unbroadcast``, and ``IncompatibleShapeError`` -- - have been moved to their own module, ``astropy.utils.shapes``. They remain - importable from ``astropy.utils``. [#10337] - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -- Fixed a bug in the coordinate-frame attribute ``CoordinateAttribute`` where - the internal transformation could behave differently depending on whether - the input was a low-level coordinate frame or a high-level ``SkyCoord``. - ``CoordinateAttribute`` now always performs a ``SkyCoord``-style internal - transformation, including the by-default merging of frame attributes. [#10475] - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -- Fixed an issue of ``Model.render`` when the input ``out`` datatype is not - float64. [#10542] - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - -Other Changes and Additions ---------------------------- - -- Minimum version of supported Numpy is now 1.17. [#10664] - -- The private ``_erfa`` module has been converted to its own package, - ``pyerfa``, which is a required dependency for astropy, and can be imported - with ``import erfa``. Importing ``_erfa`` from ``astropy`` will give a - deprecation warning. [#10329] - -- Added ``optimize=True`` flag to calls of ``yacc.yacc`` (as already done for - ``lex.lex``) to allow running in ``python -OO`` session without raising an - exception in ``astropy.units.format``. [#10379] - -- Shortened FITS comment strings for some D2IM and CPDIS FITS keywords to - reduce the number of FITS ``VerifyWarning`` warnings when working with WCSes - containing lookup table distortions. [#10513] - - -4.1.1 (unreleased) +4.0.3 (2020-10-14) ================== Bug Fixes --------- -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -- No longer ignore attributes whose values were specified as empty - strings. [#10583] - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - astropy.table ^^^^^^^^^^^^^ -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ -- Fixed an issue where ticks were sometimes not drawn at the edges of a spherical - projection on a WCSAxes. [#10442] - -astropy.wcs -^^^^^^^^^^^ - -- Add .upper() to ctype or ctype names to wcsapi/fitwcs.py to mitigate bugs from - unintended lower/upper case issues [#10557] -- Added bounds to ``fit_wcs_from_points`` to ensure CRPIX is on - input image. [#10346] - -Other Changes and Additions ---------------------------- - - -4.1 (unreleased) -================ - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.registry -^^^^^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - +- Fixed a small bug where initializing an empty ``Column`` with a structured dtype + with a length and a shape failed to give the requested dtype. [#10819] Other Changes and Additions --------------------------- @@ -751,9 +239,6 @@ astropy.table - Avoid crash when reading a FITS table that contains mixin info and PyYAML is missing. [#10485] -- Fixed a small bug where initializing an empty ``Column`` with a structured dtype - with a length and a shape failed to give the requested dtype. [#10819] - astropy.tests ^^^^^^^^^^^^^