About 148,000 results
Open links in new tab
  1. Newest 'astropy' Questions - Stack Overflow

    I'm using astropy, matplotlib, skyfield and astroquery to create sky charts with Python. With skyfield I do the stereographic projection of the sky. With astropy I use WCS, something like …

  2. AstroPy: how to transform a SkyCoord object in the GCRS frame to …

    Dec 14, 2018 · In this case, instead of using get_sun, which always returns coordinates with a geocentric origin, you can use astropy.coordinates.get_body which allows one to specify the …

  3. How to convert Earth Centered Inertial (ECI) coordinates to Earth ...

    Sep 27, 2017 · Using the correct time for the given position is important to get the transformation from GCRS to ITRS right. So if you have the time corresponding to the position in xyz stored in …

  4. Astropy - Ra, dec to AltAz conversion (in degrees)

    Jul 28, 2021 · Good evening, I have come across an example where Ra, dec are converted to AltAz using time. The code is as follows: from astropy.coordinates import …

  5. astropy - How to produce lorentzian 2D sources in python - Stack …

    Jul 13, 2020 · Astropy can't go back and forth between coordinates. 0. Print coordinates (Astropy) Hot Network Questions ...

  6. Write 3d Numpy array to FITS file with Astropy - Stack Overflow

    Aug 10, 2015 · I would like to write this array to a FITS file using astropy.io.fits so that I can open the file using ds9 -mecube and move through the frames. My attempt is shown below …

  7. python - astropy optimise get_body performance - Stack Overflow

    Aug 20, 2022 · I'm using astropy and I have to call get_body a lot. I use NASA's de430 ephemerides. The first call to get_body is always slow, because it's loading the ephemerides. …

  8. astropy - Can I plot a VOTable in Python with a Specified Range ...

    Feb 13, 2023 · I am able to use astropy.io.votable to parse the table and read all the values for specific columns (particularly: ra, dec, parallax, magnitude, and color). I have been able to …

  9. astropy - How to tell `photutils` to plot only apertures which satisfy ...

    Nov 2, 2021 · I'm following an example in the photutils documentation to detect sources in an image:. from astropy.stats import sigma_clipped_stats from photutils.datasets import …

  10. Filter astropy table by the values in a given column

    As mentioned in my comment, this answer is based on information from selecting records from a table.I use the fits file provided in the astropy distribution.