|
| 1 | +Version 6.0.1 (2024-03-25) |
| 2 | +========================== |
| 3 | + |
| 4 | +Bug Fixes |
| 5 | +--------- |
| 6 | + |
| 7 | +astropy.coordinates |
| 8 | +^^^^^^^^^^^^^^^^^^^ |
| 9 | + |
| 10 | +- Previously passing a ``SkyCoord`` instance to the ``BaseCoordinateFrame`` |
| 11 | + ``separation()`` or ``separation_3d()`` methods could produce wrong results, |
| 12 | + depending on what additional frame attributes were defined on the ``SkyCoord``, |
| 13 | + but now ``SkyCoord`` input can be used safely. [#15659] |
| 14 | + |
| 15 | +- ``Distance`` now accepts as ``parallax`` any angle-like value. |
| 16 | + This includes types like ``Column`` which have a unit but are not ``Quantity`` subclasses. [#15712] |
| 17 | + |
| 18 | +- The new default for the class method ``SkyCoord.from_name()`` |
| 19 | + is to look for coordinates first in SIMBAD, then in NED, and then in VizieR, |
| 20 | + instead of having no specific order. [#16046] |
| 21 | + |
| 22 | +astropy.io.ascii |
| 23 | +^^^^^^^^^^^^^^^^ |
| 24 | + |
| 25 | +- Reading of CDS header files with multi-line descriptions where the continued line started with a number was broken. This is now fixed. [#15617] |
| 26 | + |
| 27 | +- Ensure that the names of mixin columns are properly propagated as |
| 28 | + labels for the MRT format. [#15848] |
| 29 | + |
| 30 | +- Fixed reading IPAC tables for ``long`` column type on some platforms, e.g., Windows. [#15992] |
| 31 | + |
| 32 | +astropy.io.fits |
| 33 | +^^^^^^^^^^^^^^^ |
| 34 | + |
| 35 | +- Fix TDISP parsing for floating numbers. [#16007] |
| 36 | + |
| 37 | +- Fix a crash when calling FITS ``writeto`` methods with stdout as the output stream. [#16008] |
| 38 | + |
| 39 | +- Fix TDISP parsing for floating numbers in formats ES / EN. [#16015] |
| 40 | + |
| 41 | +astropy.stats |
| 42 | +^^^^^^^^^^^^^ |
| 43 | + |
| 44 | +- Fix a spurious warning when calling ``sigma_clipped_stats`` on a ``MaskedColumn``. [#15844] |
| 45 | + |
| 46 | +astropy.table |
| 47 | +^^^^^^^^^^^^^ |
| 48 | + |
| 49 | +- Fix a Table bug when setting items (via slice or index list) in a ``bytes`` type |
| 50 | + ``MaskedColumn`` would cause the column mask to be set to all ``False``. A common way to |
| 51 | + trigger this bug was reading a FITS file with masked string data and then sorting the |
| 52 | + table. [#15669] |
| 53 | + |
| 54 | +- Fix slicing logic for Row. |
| 55 | + Previously, slicing a ``astropy.table.row.Row`` object would incorrectly return a column, |
| 56 | + now it correctly returns a list of values from that row. [#15733] |
| 57 | + |
| 58 | +- Fix a ``ValueError`` raised by ``table.join`` when fed with large tables. |
| 59 | + This would typically happen in situations when the result joined table would be |
| 60 | + too large to fit in memory. In those situations, the error message is now much more |
| 61 | + clearly about the necessary memory size. [#15734] |
| 62 | + |
| 63 | +- Fix an unintended exception being raised when attempting to compare two unequal ``Table`` instances. [#15845] |
| 64 | + |
| 65 | +- Ensure that if a ``Column`` is initialized with a ``Quantity`` it will use by |
| 66 | + default a possible name defined on the quantity's ``.info``. [#15848] |
| 67 | + |
| 68 | +- The unit conversion ``convert_unit_to`` with MaskedColumn was |
| 69 | + broken as it was storing the old unit in a dictionary attached |
| 70 | + to underlying np.ma.MaskedArray. This fixes it by overwriting |
| 71 | + the old unit after unit conversion. [#16118] |
| 72 | + |
| 73 | +- ``astropy.table.vstack`` will no longer modify the input list even when it |
| 74 | + contains non-Table objects like ``astropy.table.Row``. [#16130] |
| 75 | + |
| 76 | +astropy.units |
| 77 | +^^^^^^^^^^^^^ |
| 78 | + |
| 79 | +- Fix an issue with unicode string representations of units shown as |
| 80 | + superscripts (like degree) when raised to some power. Like for |
| 81 | + LaTeX representations, now the superscript unicode character is |
| 82 | + replaced by the literal short name before adding the power. [#15755] |
| 83 | + |
| 84 | +- Fix a missing ``Sun`` unit in the list of VOUnits simple_units. [#15832] |
| 85 | + |
| 86 | +- Fix write/read roundtrips with empty ``Table`` dumped to ECSV. [#15885] |
| 87 | + |
| 88 | +- Fix a bug where LaTeX formatter would return empty strings for unity (1) input. [#15923] |
| 89 | + |
| 90 | +- Ensure powers of units are consistently as simple as possible. So, an |
| 91 | + integer if possible, otherwise a float, or a fraction if the float is |
| 92 | + really close to that. This also ensures the hash of a unit is unique |
| 93 | + for any given unit (previously, the same power could be represented as |
| 94 | + float, int or fraction, which made the hash different). [#16058] |
| 95 | + |
| 96 | +- Ensure that ``find_equivalent_units`` only returns actual units, not units |
| 97 | + that raised to some power match the requested one. With this fix, |
| 98 | + ``(u.m**-3).find_equivalent_units()`` properly finds nothing, rather than all |
| 99 | + units of length. [#16127] |
| 100 | + |
| 101 | +astropy.utils |
| 102 | +^^^^^^^^^^^^^ |
| 103 | + |
| 104 | +- Fix a bug where ``astropy.utils.console.Spinner`` would leak newlines for |
| 105 | + messages longer than terminal width. [#16040] |
| 106 | + |
| 107 | +- Update ``report_diff_values`` so the diff no longer depends on the |
| 108 | + console terminal size. [#16065] |
| 109 | + |
| 110 | +- Fix support in ``Masked`` for generalized ufuncs with more than a |
| 111 | + single core dimension (such as ``erfa.rxp``). [#16120] |
| 112 | + |
| 113 | +astropy.visualization |
| 114 | +^^^^^^^^^^^^^^^^^^^^^ |
| 115 | + |
| 116 | +- Fix an edge case where ``quantity_support`` would produce duplicate tick labels for small data ranges. [#15841] |
| 117 | + |
| 118 | +astropy.wcs |
| 119 | +^^^^^^^^^^^ |
| 120 | + |
| 121 | +- Updated bundled WCSLIB version to 8.2.2. This update fixes character buffer |
| 122 | + overflows in the comment string for the longitude and latitude axes triggered |
| 123 | + by some projections in ``wcshdo()``, and also the formatting for generic |
| 124 | + coordinate systems. For a full list of changes - see |
| 125 | + http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES or |
| 126 | + ``astropy/cextern/wcslib/CHANGES`` [#15795] |
| 127 | + |
| 128 | +- Fixed a bug in ``fit_wcs_from_points`` that does not set the default value of the ``cdelt`` of the returned WCS object. [#16027] |
| 129 | + |
| 130 | + |
1 | 131 | Version 6.0.0 (2023-11-25)
|
2 | 132 | ==========================
|
3 | 133 |
|
|
0 commit comments