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

  • rhessi

  • yohkohsxtal

  • yohkohsxtwh

  • hinodexrt

  • hinodesotintensity

  • trace171

  • trace195

  • trace284

  • trace1216

  • trace1550

  • trace1600

  • trace1700

  • traceWL

  • hmimag

  • irissji1330

  • irissji1400

  • irissji1600

  • irissji2796

  • irissji2832

  • irissji5000

  • irissjiFUV

  • irissjiNUV

  • irissjiSJI_NUV

  • kcor

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 LinearSegmentedColormaps, 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.

sunpy.visualization.animator Package

Classes

ArrayAnimator(data[, image_axes, axis_ranges])

Create a Matplotlib backend independent data explorer.

ArrayAnimatorWCS(data, wcs, slices[, …])

Animate an array with associated BaseLowLevelWCS object.

BaseFuncAnimator(data, slider_functions, …)

Create a Matplotlib backend independent data explorer which allows definition of figure update functions for each slider.

ImageAnimator(data[, image_axes, axis_ranges])

Create a matplotlib backend independent data explorer for 2D images.

LineAnimator(data[, plot_axis_index, …])

Create a matplotlib backend independent data explorer for 1D plots.

MapSequenceAnimator(mapsequence[, annotate])

Create an interactive viewer for a MapSequence.

Class Inheritance Diagram

Inheritance diagram of sunpy.visualization.animator.base.ArrayAnimator, sunpy.visualization.animator.wcs.ArrayAnimatorWCS, sunpy.visualization.animator.base.BaseFuncAnimator, sunpy.visualization.animator.image.ImageAnimator, sunpy.visualization.animator.line.LineAnimator, 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, and return a WCSAxes if possible.

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.