source_stretch

sunpy.map.sources.source_stretch(meta, fits_stretch)[source] [edit on github]

Assign the correct source-dependent image stretching function.

Parameters:
  • meta (MapMeta) –
  • fits_stretch (BaseStretch) – Image stretching function used when the source image data comes from a FITS file.
Returns:

An image stretching function appropriate to the image data source.