source_stretch#
- sunpy.map.sources.source_stretch(meta, fits_stretch)[source]#
Assign the correct source-dependent image stretching function.
- Parameters:
meta (
MetaData
) – The metadata to parse.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.