About 87,800 results
Open links in new tab
  1. Plotting Astropy objects in Matplotlib — Astropy v7.0.1

    Plotting Astropy objects in Matplotlib# Plotting quantities# Quantity objects can be conveniently plotted using matplotlib. This feature needs to be explicitly turned on: >>>

  2. Making plots with world coordinates (WCSAxes) — Astropy v7.0.1

    WCSAxes is a framework for making plots of Astronomical data in Matplotlib. It was previously distributed as a standalone package (wcsaxes), but is now included in astropy.visualization. The following is a very simple example of plotting an image …

  3. Data Visualization (astropy.visualization) — Astropy v7.0.1

    This includes a framework for plotting Astronomical images with coordinates with Matplotlib (previously the standalone wcsaxes package), functionality related to image normalization (including both scaling and stretching), smart histogram plotting, RGB color image creation from separate images, and custom plotting styles for Matplotlib.

  4. Custom template: plot-catalog - Astropy

    This tutorial demonstrates the use of astropy.io.ascii for reading ASCII data, astropy.coordinates and astropy.units for converting RA (as a sexagesimal angle) to decimal degrees, and matplotlib for making a color-magnitude diagram and on-sky locations in a Mollweide projection.

  5. python - Astropy matplotlib and plot galactic coordinates - Stack Overflow

    Oct 13, 2015 · I am trying to make a plot of galactic coordinates using python. Let's say that I have this data: data = [(0.261, -7.123, 13.03, 'Unidentified'), (-0.326, 77, 13.03, 'Galaxies')] Where each tuple is of the form (ra, dec, flux, type). I am asked to use astropy + matplotlib, so: c = SkyCoord(ra = ra*u.degree, dec = dec*u.degree) galactic = c.galactic

  6. How do I plot galactic coordinates using matplotlib and astropy in python?

    Jul 10, 2019 · Looking at the plot you have, I notice that there is a concentration of dots at the "poles". The concentration should be along the equator, and particularly towards the centre of the galaxy. I think you have your axes switched, so points along the galactic equator are being drawn along the vertical "prime meridian".

  7. Custom template: PVDiagramPlotting - Astropy

    In this tutorial, we will extract position-velocity (PV) diagrams from a spectral cube and plot them. Position-velocity diagrams are often used in radio astronomy for analysis of rotating objects, like protostellar disks and galaxies, to measure rotation curves and determine the contained mass.

  8. Custom template: redshift-plot - Astropy

    Make a plot with both redshift and universe age axes using astropy.cosmology¶ Authors¶ Neil Crighton, Stephanie T. Douglas. Learning Goals¶ Plot relationships using matplotlib; Add a second axis to a matplotlib plot; Relate distance, redshift, and age for two different types of cosmology using astropy.cosmology; Keywords¶

  9. Astropy Tutorials: Learn how to do common astro tasks

    Jul 7, 2014 · For example, the “Read and plot catalog information from a text file” tutorial demonstrates using astropy.io.ascii for reading and writing ASCII data, astropy.coordinates and astropy.units for converting RA (as a sexagesimal angle) to decimal degrees, and then uses matplotlib for making a color-magnitude diagram an all-sky projection of the ...

  10. python - A smart way of plotting a density map in galactic …

    Jan 10, 2022 · I am using matplotlib.pyplot and astropy to build a plot in galactic coordinates and my goal is to show the density of stars in the sky. For that, the only data I have is a two-column table with the coordinates of the stars in Right Ascension ( RA ) and Declination ( Dec ).

  11. Some results have been removed
Refresh