fetch_spikes#

aiapy.calibrate.fetch_spikes(smap, *, as_coords=False)[source]#

Returns coordinates and values of removed spikes.

Returns coordinates and values of removed spikes which were removed in a level 1 AIA image. The locations of spikes are automatically retrieved from the JSOC.

Parameters:
  • smap (Map) – Level 1 AIA image. This can be a cutout or a full-disk image, but it should be at the original level 1 resolution.

  • as_coords (bool, optional) – If True, the pixel locations are returned as a SkyCoord object in the projected coordinate system of the image.

Returns:

  • SkyCoord or PixelPair – Locations of the removed spikes. By default, these are represented as pixel coordinates. If as_coords=True, the locations are returned in the projected coordinate system of the image.

  • array-like – Original intensity values of the spikes