https://github.com/astropy/astropy

sort by:
Revision Author Date Message Commit Date
0a06e9a Merge pull request #16277 from eerovaher/coord-matching-tests Rewrite an overlong coordinate matching test function 05 April 2024, 20:35:05 UTC
4947a2f Rewrite an overlong coordinate matching test Smaller parametrized tests allow more checks to run if one of them fails. 05 April 2024, 17:45:27 UTC
58c270b Prefer module setup over function setup in a test file All the coordinate matching tests require `scipy` to be installed, so the entire module can be skipped if it is not. Furthermore, it is better to import at the module level than in each test function separately. 05 April 2024, 15:24:57 UTC
aa4dfa7 Merge pull request #16273 from maxnoe/linkcheck-color Add --color to sphinx linkcheck in ci 04 April 2024, 21:39:44 UTC
b4ac6e4 Merge pull request #16269 from neutrinoceros/mnt/numpy_version_comp RFC: use actual numpy dev version numbers in NUMPY_LT_* definitions 04 April 2024, 19:07:52 UTC
efbfcc8 Merge pull request #16275 from Cadair/no_codeowner_cadair Remove Cadair from codeowners 04 April 2024, 14:56:44 UTC
caaafb2 Remove Cadair from codeowners Too many linting PRs 04 April 2024, 14:11:59 UTC
a19f201 Add --color to sphinx linkcheck in ci 04 April 2024, 12:39:00 UTC
10eeb88 Added 7.0 what's new page and redirect 6.1 what's new page 04 April 2024, 10:44:03 UTC
f294168 Merge pull request #16264 from eerovaher/ruff-034 Update Ruff `pre-commit` hook to v0.3.4 04 April 2024, 10:32:21 UTC
27af91e Merge pull request #16270 from neutrinoceros/units/bug/numpy_2_1_new_string_ufuncs BUG: declare private str ufuncs as unsupported (np.core.math._(r)partition(_index)) 04 April 2024, 10:18:00 UTC
35d18ce Merge pull request #16181 from neutrinoceros/api/copy_if_needed_clean_break API: align default value for copy arguments with numpy at runtime (copy=False raises an error if copies cannot be avoided) 04 April 2024, 09:56:52 UTC
71a545c BUG: declare private str ufuncs as unsupported (np.core.math._(r)partition(_index)) 04 April 2024, 07:26:03 UTC
d002408 RFC: use actual numpy dev version numbers in NUMPY_LT_* definitions 04 April 2024, 07:11:41 UTC
cf68c08 Merge pull request #16261 from neutrinoceros/units/bug/quantity_as_power_16260 BUG: fix a regression in astropy 6.0.1 where using a dimensionless Quantity as an exponent could raise an exception 04 April 2024, 00:02:43 UTC
f010f71 Update 16181.other.rst Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> 03 April 2024, 22:05:56 UTC
8016bd2 API: change meaning of copy=False in astropy APIs (align with runtime numpy) 03 April 2024, 20:02:14 UTC
f4525c6 API: align default value for copy arguments with numpy at runtime 03 April 2024, 20:02:14 UTC
a36f316 Merge pull request #15388 from demichieldewilde/winerror1455fix 'BUG: WinError 1455 the paging file is too small' 03 April 2024, 19:55:20 UTC
f9d233f Update Ruff `pre-commit` hook to v0.3.4 Ruff rule UP032 can automatically convert `str.format()` calls to f-strings. Before v0.3.2 Ruff avoided making changes if the naive conversion produced lines that exceeded the line length limit, but now it is more aggressive. The `pre-commit` hook is updated manually to prevent Ruff from producing overlong lines. 03 April 2024, 18:20:16 UTC
143d3f8 A couple of WCS DistortionLookupTable fixes (#16163) * Add tests for WCSes with DistortionLookupTable * Fix distortion lookups from DistortionLookupTable In image_coord_to_distortion_coord, the input coordinates (in the image plane) and crval/crpix are all 1-based pixel coordinates, so the conversion to 0-based pixel coordinates, which is happening in the distortion-table plane, doesn't need a scale factor. * Fix slicing of WCS with DistortionLookupTables * Add changelog 03 April 2024, 17:59:25 UTC
9b5d7fd Merge pull request #16263 from henryiii/patch-1 chore: versions are numbers 03 April 2024, 16:37:25 UTC
5c8fca2 chore: versions are numbers See #16253. 03 April 2024, 15:32:49 UTC
4a89cfd Merge pull request #16234 from eerovaher/annotate-introspection Add type annotations to introspection functions 03 April 2024, 13:59:04 UTC
12fb538 BLD: build with numpy 2.0.0rc1 (or newer) (#16252) * BLD: build with numpy 2.0.0rc1 (or newer) * DOC: add changelog entry 03 April 2024, 13:45:39 UTC
663a6fa Merge pull request #16241 from neutrinoceros/coordinates/bug/SkyCoord_spherical_offsets_by_with_wrap_16219 BUG: fix a bug where `SkyCoord.spherical_offsets_by` would crash when a wrap was needed 03 April 2024, 13:19:44 UTC
a8caf18 BUG: fix a regression in astropy 6.0.1 where using a dimensionless Quantity as an exponent could raise an exception 03 April 2024, 13:01:13 UTC
4598c80 TST: add a regression test for issue 16260 03 April 2024, 13:01:13 UTC
495efdb Merge pull request #15956 from neutrinoceros/io/votable/bug/only_report_missing_columns BUG: fix an incorrect error message in io.votable.TableElement.parse 02 April 2024, 19:00:28 UTC
fa5c9e9 Merge pull request #16259 from eerovaher/rm-cKDTree Prefer `scipy.spatial` `KDTree` over `cKDTree` 02 April 2024, 18:42:33 UTC
d6564e5 BUG: fix an incorrect error message in io.votable.TableElement.parse Co-authored-by: Eero Vaher <eero.vaher@gmail.com> 02 April 2024, 16:28:30 UTC
7268a2a Prefer `scipy.spatial` `KDTree` over `cKDTree` Before `scipy` v1.6.0 it used to be the case that `cKDTree` was more performant, but since then they are functionally identical and the recommendation is to prefer `KDTree`. 02 April 2024, 13:36:41 UTC
56587db Merge pull request #16256 from astropy/update-astropy-iers-data-pin-1712016580 Update minimum required version of astropy-iers-data 02 April 2024, 13:18:58 UTC
8480fcb TST: add a regression test for PR 15956 02 April 2024, 09:21:57 UTC
4f2b73f Update minimum required version of astropy-iers-data 02 April 2024, 00:09:39 UTC
b48227b FIX: preserve round trip with parquet i/o (#16237) * FIX: preserve round trip with parquet i/o * add changelog 01 April 2024, 19:52:59 UTC
878cc77 DOCS: Add docs about CI benchmarking (#16225) * DOCS: Add docs about CI benchmarking [ci skip] * add docs * Apply suggestions from code review Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Eero Vaher <eero.vaher@gmail.com> Co-authored-by: Clément Robert <cr52@protonmail.com> --------- Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> Co-authored-by: Eero Vaher <eero.vaher@gmail.com> Co-authored-by: Clément Robert <cr52@protonmail.com> 29 March 2024, 19:47:14 UTC
a7c5891 Merge pull request #16246 from eerovaher/separation-frame-mismatch Make computing angular separations less surprising 29 March 2024, 17:07:05 UTC
61a7686 Add What's New entry for separation `origin_mismatch` 29 March 2024, 16:26:03 UTC
51839c4 Merge pull request #15484 from nstarman/cosmo-cosmo-dataclass Cosmo as a dataclass 29 March 2024, 16:16:25 UTC
7642cdd use dataclass repr Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:37 UTC
0bd84ac refactor private method _init_signature Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:36 UTC
6d6d350 Simplify cloning Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:36 UTC
3d6ce80 Simplify Parameter property creation Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:36 UTC
727a758 use dataclass init Signed-off-by: nstarman <nstarman@users.noreply.github.com> Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:36 UTC
c29b367 Freeze Cosmology dataclass Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:36 UTC
b65a152 make Parameter compatible with dynamic init Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:35 UTC
5b9e1dd Freeze Cosmology dataclass Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:54:35 UTC
db72457 Use post-init Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:53:41 UTC
ca2321a Make FLRW et al dataclasses Signed-off-by: nstarman <nstarman@users.noreply.github.com> Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:53:15 UTC
afda42d Make meta a dataclass field Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:53:15 UTC
432ccb8 Make name a dataclass field py3.13+ will have the `converter` arg, eliminating this class. Co-authored-by: Clément Robert <cr52@protonmail.com> Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:53:15 UTC
962d298 Make Cosmology a dataclass Signed-off-by: nstarman <nstarman@users.noreply.github.com> Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:53:14 UTC
7e3eb91 Fix Parameter tests using all_cls_vars Signed-off-by: nstarman <nstarman@users.noreply.github.com> 29 March 2024, 00:52:51 UTC
d834a33 Make computing angular separations less surprising When computing the angular separation between coordinates in different frames they must first be transformed into a common frame. However, the resulting angular separation value can depend on the direction of the transformation, unless it is a pure rotation. Users have found this to be surprising, so by default a warning is now emitted if a non-rotation transformation is needed. It is possible to always suppress the warning, or to forbid non-rotation transformations. Computing the position angle always performs the transformation silently because its value is expected to depend on the order of the coordinates anyways. 28 March 2024, 20:30:20 UTC
3334ba4 Add changelog entry and test case And slightly modify fix, to check that "winerror" is in fact present. 28 March 2024, 18:18:38 UTC
014036d Merge pull request #16224 from mhvk/masked-setops-functions Support Masked setops functions and hashing of scalars. 28 March 2024, 03:51:52 UTC
6deae8c Merge pull request #16135 from nstarman/coords-pysph-to-cyl feat: fast-path physicsspherical to cylindrical 27 March 2024, 18:49:24 UTC
69dc2ac BUG: fix a bug where columns with dtype=object wouldn't be properly deep-copied using copy.deepcopy (#15871) * TST: add regression tests for bug 13435 * BUG: fix a bug where columns with dtype=object wouldn't be properly deep-copied using copy.deepcopy 27 March 2024, 17:14:38 UTC
f554441 BUG: Fix "WinError 1455 the paging file is too small" This is for large files on windows 32. 27 March 2024, 14:30:25 UTC
a4d5314 Apply suggestions from code review Co-authored-by: Eero Vaher <eero.vaher@gmail.com> 27 March 2024, 13:40:53 UTC
4bea6f5 DOC: rework documentation for the __astropy_table__ protocol to avoid mingling with numpy 2.0's copy semantics (#16239) 27 March 2024, 10:36:10 UTC
01e8729 Merge pull request #16243 from eerovaher/faster-angle-unit-converter Speed up `Angle` creation 26 March 2024, 20:34:59 UTC
1306a12 Speed up `Angle` creation `Angle._convert_unit_to_angle_unit()` is cached, so it is better to move as much code as possible inside it. The speed-up is especially large if the `Angle` unit is specified as a `str`. 26 March 2024, 19:28:32 UTC
3bface2 Also fix problems for non-matching size 26 March 2024, 17:29:51 UTC
33265f1 DOC: add a note that wrapping Angle with integral dtypes isn't supported (#16232) 26 March 2024, 15:56:26 UTC
60b6f0b BUG: fix a bug where SkyCoord.spherical_offsets_by would crash when a wrap was needed 26 March 2024, 15:43:11 UTC
a05e16c TST: add a regression test for issue 16219 26 March 2024, 15:43:11 UTC
de682e6 Add type annotations to introspection functions A Sphinx bug requires the documentation configuration to be updated too. 26 March 2024, 15:25:12 UTC
f1ac433 Removed OrderedDict from time in formats.py (#15491) * Update formats.py Removed OrderedDict from astropy/time/formats.py and replaced with dict. * Create 15491.api.rst * Change comment [ci skip] * Reword change log * Use dict literal --------- Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> Co-authored-by: Tom Aldcroft <taldcroft@gmail.com> 26 March 2024, 13:52:28 UTC
64e51e3 BUG: fix calling Table.group_by on an empty table (#16093) * TST: add a regression test for bug 11884 * BUG: fix calling Table.group_by on an empty table 26 March 2024, 13:43:04 UTC
bc8334c Merge pull request #16139 from MridulS/get_converter ENH: Move _get_converter to public API 26 March 2024, 12:51:53 UTC
cbcd150 Merge pull request #16229 from neutrinoceros/numpy2/adjust_units_helper BUG: fix compatibility with numpy@maintenance/v2.0.x 26 March 2024, 12:48:04 UTC
69aa136 Merge pull request #16154 from eerovaher/tablecolumns-setdefault Deprecate `TableColumns.setdefault()` and `TableColumns.update()` 26 March 2024, 10:19:15 UTC
3488cb8 Adjust time tests for unmasked Masked scalar being hashable 25 March 2024, 16:57:17 UTC
81bcb6a Regression test for SkyCoord.apply_space_motion 25 March 2024, 16:57:17 UTC
ed338f3 Allow unmasked scalar Masked instances to be hashed 25 March 2024, 16:57:17 UTC
d493c71 Support set-like operations on Masked values. 25 March 2024, 16:57:17 UTC
e6967c6 BUG: fix compatibility with numpy@maintenance/v2.0.x 25 March 2024, 07:43:11 UTC
ea18c36 ENH: Move _get_converter to public API 23 March 2024, 00:48:30 UTC
286948c Merge pull request #16228 from eerovaher/_parse_coordinate_arg_signature Simplify `_parse_coordinate_arg()` signature 22 March 2024, 20:40:14 UTC
6210eab Merge pull request #16160 from eerovaher/ruff-030 Manual `pre-commit` update 22 March 2024, 20:20:41 UTC
5946e4d Simplify `_parse_coordinate_arg()` signature The `init_kwargs` argument was used in one line where it was unpacked, but `_parse_coordinate_arg()` is only called in one place where it is guaranteed that `init_kwargs` could only be an empty `dict`. 22 March 2024, 17:19:21 UTC
089bb45 Remove `_parse_coordinate_arg()` docstring It is clearly not describing the actual function. 22 March 2024, 17:16:19 UTC
f48fdaf Merge pull request #16226 from eerovaher/shorter_parse_coordinate_data Shorten `_parse_coordinate_data()` 21 March 2024, 19:11:23 UTC
64489d0 MAINT: Benchmark action should fail if a regression is caught (#16207) * MAINT: Benchmark action should fail if a regression is caught * Make sure upload always run 21 March 2024, 17:36:16 UTC
47d3401 add tests for the origin Signed-off-by: nstarman <nstarman@users.noreply.github.com> 21 March 2024, 16:30:24 UTC
266b94d Shorten `_parse_coordinate_data()` 21 March 2024, 15:14:51 UTC
5dd2aed Merge pull request #16223 from eerovaher/deprecate-indent Deprecate `astropy.utils.misc.indent()` 20 March 2024, 19:10:55 UTC
03a101d Deprecate `astropy.utils.misc.indent()` The function was made obsolete by `textwrap.indent()`, introduced in Python version 3.3. 20 March 2024, 18:22:43 UTC
5bba90c Merge pull request #16212 from neutrinoceros/time/depr/ptp DEPR: deprecate Time.ptp in favor of np.ptp with Numpy >= 2.0 20 March 2024, 16:36:10 UTC
1ff8068 Merge pull request #16222 from neutrinoceros/coordinates/perf/skip_wrapping_when_possible PERF: skip angle wrapping when possible 20 March 2024, 13:56:37 UTC
74ff5d3 PERF: skip angle wrapping when possible 20 March 2024, 12:16:09 UTC
96cc7fb Merge pull request #16215 from eerovaher/coord-separation-tests Reorganize coordinate separation method tests 19 March 2024, 20:38:09 UTC
15154d4 Reorganize coordinate separation tests The tests for `BaseCoordinateFrame` `position_angle()`, `separation()` and `separation_3d()` methods are inconveniently scattered accross many files. Furthermore, `SkyCoord` instances expose the separation methods of their underlying frame, and tests for that functionality are also scattered accross many files. It is good to collect the tests in a single file where they can be parametrized over the coordinate class being either `SkyCoord` or a `BaseCoordinateFrame` subclass, and the method input can be parametrized likewise. By introducing a simple helper for storing the expected test outcomes it becomes easy to parametrize the tests over the three separation methods too. There have been cases where a bug has been identified and fixed in a `SkyCoord` method, but not in the analogous `BaseCoordinateFrame` method. The new parametrized tests should prevent that. 19 March 2024, 14:24:26 UTC
476358b Fix issue in ndcube requiring changes in astropy (#15985) * Fix issue in ndcube requiring changes in astropy * Fix issue in ndcube (required changes in astropy)Handled the case of separately and separately * Fix issue in ndcube (required changes in astropy) * Fix issue in ndcube (required changes in astropy) * Restructured the patch * Add changlog and regression test * Update docs/changes/visualization/15985.bugfix.rst Co-authored-by: Clément Robert <cr52@protonmail.com> * Corrected edge case * Modified tests for my patch * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update docs/changes/visualization/15985.bugfix.rst Co-authored-by: Clément Robert <cr52@protonmail.com> * Removed the case where draw_grid value is invalid * Update docs/changes/visualization/15985.bugfix.rst Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> --------- Co-authored-by: Clément Robert <cr52@protonmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> Co-authored-by: Stuart Mumford <stuart@cadair.com> 19 March 2024, 10:16:41 UTC
ce7673a PERF: reduce validation overhead in `Latitude._validate_angles` (#16096) 19 March 2024, 00:21:54 UTC
82532c8 Merge pull request #16194 from pllim/exorcise-fits-example-gallery DOC: Move FITS example gallery to FAQ 18 March 2024, 21:07:37 UTC
7ddf5ee Merge pull request #16088 from neutrinoceros/coordinates/perf/optimize_hotpath_Angle__new__ PERF: optimize a hot path in `Angle.__new__` 18 March 2024, 20:43:11 UTC
af36106 remove plot example 18 March 2024, 20:40:25 UTC
back to top