
Import python packages astropy occur issues, how can i handle it?
Aug 28, 2024 · Name: astropy Version: 6.1.2 Name: fil-finder Version: 1.7.2 python version is:3.10 I want to handle the script bug and make the crack branches are displayed in different colors; looks like …
How to install Astropy 5.0 using pip? - Stack Overflow
Dec 30, 2021 · ERROR: No matching distribution found for astropy==5.0 It seems that pip is unaware of an 5.0 version of Astropy. I also do:
python - AstroPy to transform coordinates - Stack Overflow
Feb 21, 2024 · from astropy.coordinates import SkyCoord, ICRS ar = 243.90472242 dr = -8.36823651 c = SkyCoord(ar, dr, frame='icrs', unit='deg') print(c) print(c.transform_to(ICRS(equinox='J2016'))) I …
python - ERROR: Could not build wheels for astropy, which is required ...
Dec 2, 2023 · I checked the poliastro development version, and the pyproject.toml file there (from 8 months ago) fixes the Astropy version to >=5.0,<6. So you should definitely try and install Astropy 5 …
How do I convert MJD (julian date) to UTC using astropy?
Jun 13, 2022 · I've tried stuff on the astropy website but still need help. Anyone out there got a clue?
python - Astropy: using SkyCoord object to calculate the AltAz ...
Apr 13, 2024 · Astropy: using SkyCoord object to calculate the AltAz coordinates for an object in a time range, want to get the date of max altitude Asked 1 year, 11 months ago Modified 1 year, 10 months …
How do I align SDSS sky images in Python using Astropy?
May 30, 2023 · I have a problem with aligning SDSS sky images. I have downloaded numerous image bands from SDDS. The problem is I don't know how to align them. They are stored in FITS format. …
python - Astropy time conversion very slow - Stack Overflow
Feb 3, 2023 · The last time I tried to optimize a slow code using Astropy , I found out Astropy is written in pure-Python making it particularly slow (at least 1 order of magnitude), but also that it massively uses …
Control how many digits are printed for an astropy quantity in a ...
Aug 18, 2024 · I use astropy to make calculations with units and I normally do these calculations in a jupyter notebook so the results are printed nicely. I would like to know how to control the number of …
Writing a new FITS file from old data with astropy
Dec 10, 2019 · 3 I have a very simple operation to perform on a FITS file (data is numpy array format) but I cannot get astropy to either save it as a new file or overwrite the existing one. I'm re-writing …