Visualization (sunpy.visualization)#

sunpy.visualization contains plotting helpers and functions.

sunpy.visualization Package#

Functions#

axis_labels_from_ctype(ctype, unit)

Returns axis labels for the given coordinate type and unit.

peek_show(func)

A decorator to place on peek() methods to show the figure.

sunpy.visualization.colormaps Package#

The following colormaps are provided by this module.

(Source code, png, hires.png, pdf)

../_images/visualization-1.png
  • ‘goes-rsuvi94’

  • ‘goes-rsuvi131’

  • ‘goes-rsuvi171’

  • ‘goes-rsuvi195’

  • ‘goes-rsuvi284’

  • ‘goes-rsuvi304’

  • ‘sdoaia94’

  • ‘sdoaia131’

  • ‘sdoaia171’

  • ‘sdoaia193’

  • ‘sdoaia211’

  • ‘sdoaia304’

  • ‘sdoaia335’

  • ‘sdoaia1600’

  • ‘sdoaia1700’

  • ‘sdoaia4500’

  • ‘sohoeit171’

  • ‘sohoeit195’

  • ‘sohoeit284’

  • ‘sohoeit304’

  • ‘soholasco2’

  • ‘soholasco3’

  • ‘sswidlsoholasco2’

  • ‘sswidlsoholasco3’

  • ‘stereocor1’

  • ‘stereocor2’

  • ‘stereohi1’

  • ‘stereohi2’

  • ‘yohkohsxtal’

  • ‘yohkohsxtwh’

  • ‘hinodexrt’

  • ‘hinodesotintensity’

  • ‘trace171’

  • ‘trace195’

  • ‘trace284’

  • ‘trace1216’

  • ‘trace1550’

  • ‘trace1600’

  • ‘trace1700’

  • ‘traceWL’

  • ‘hmimag’

  • ‘irissji1330’

  • ‘irissji1400’

  • ‘irissji1600’

  • ‘irissji2796’

  • ‘irissji2832’

  • ‘irissji5000’

  • ‘irissjiFUV’

  • ‘irissjiNUV’

  • ‘irissjiSJI_NUV’

  • ‘kcor’

  • ‘rhessi’

  • ‘std_gamma_2’

  • ‘euvi171’

  • ‘euvi195’

  • ‘euvi284’

  • ‘euvi304’

  • ‘solar orbiterfsi174’

  • ‘solar orbiterfsi304’

  • ‘solar orbiterhri_euv174’

  • ‘solar orbiterhri_lya1216’

Functions#

show_colormaps([search])

Displays a plot of the custom color maps supported in SunPy.

sunpy.visualization.colormaps.color_tables Module#

This module provides dictionaries for generating LinearSegmentedColormap, and a dictionary of these dictionaries.

Functions#

aia_color_table(wavelength)

Returns one of the fundamental color tables for SDO AIA images.

sswidl_lasco_color_table(number)

Returns one of the SSWIDL-defined color tables for SOHO LASCO images.

eit_color_table(wavelength)

Returns one of the fundamental color tables for SOHO EIT images.

sxt_color_table(sxt_filter)

Returns one of the fundamental color tables for Yokhoh SXT images.

xrt_color_table()

Returns the color table used for all Hinode XRT images.

trace_color_table(measurement)

Returns one of the standard color tables for TRACE JP2 files.

sot_color_table(measurement)

Returns one of the standard color tables for SOT files (following osdc convention).

hmi_mag_color_table()

Returns an alternate HMI Magnetogram color table; from Stanford University/JSOC.

suvi_color_table(wavelength)

Returns one of the fundamental color tables for SUVI images.

rhessi_color_table()

std_gamma_2()

euvi_color_table(wavelength)

solohri_lya1216_color_table()

sunpy.visualization.animator Package#

Classes#

MapSequenceAnimator(mapsequence[, annotate])

Create an interactive viewer for a MapSequence.

Class Inheritance Diagram#

Inheritance diagram of sunpy.visualization.animator.mapsequenceanimator.MapSequenceAnimator

sunpy.visualization.wcsaxes_compat Module#

This module provides functions to make WCSAxes work in SunPy.

Functions#

is_wcsaxes(axes)

Tests a matplotlib.axes.Axes object to see if it is an instance of WCSAxes.

gca_wcs(wcs[, fig, slices])

Get the current axes, or create a new WCSAxes if fig has no axes.

get_world_transform(axes)

Get the transformation to world coordinates.

default_wcs_grid(axes)

Apply some default WCSAxes grid formatting.

wcsaxes_heliographic_overlay(axes[, ...])

Create a heliographic overlay using WCSAxes.

sunpy.visualization.drawing Module#

This module provides functions that draw on Astropy’s WCSAxes.

Functions#

limb(axes, observer, *[, rsun, resolution])

Draws the solar limb as seen by the specified observer.

equator(axes, *[, rsun, resolution])

Draws the solar equator as seen by the axes observer.

prime_meridian(axes, *[, rsun, resolution])

Draws the solar prime meridian (zero Carrington longitude) as seen by the axes observer.