despike_l1b_file#

sunkit_instruments.suvi.despike_l1b_file(filename, filter_width=7)[source]#

Despike SUVI L1b data and return a despiked Map.

Warning

The despiking relies on the presence of the data quality flags (DQF) in the first extension of a SUVI L1b FITS file. Early in the mission, the DQF extension was not present yet, so the despiking cannot be done with this function for those early files.

Parameters:
  • filename (str) – File to despike.

  • filter_width (int, optional.) – The filter width for the Gaussian filter, default is 7. If NaNs are still present in the despiked image, try increasing this value.

Returns:

The despiked L1b image as a Map.

Return type:

Map