remove_continuum_image

remove_continuum_image(im: Image, degree=1, mask=None)[source]

Fit and remove continuum visibility in place

Fit a polynomial in frequency of the specified degree where mask is True and remove it from the image

Parameters:
  • im

  • degree – 1 is a constant, 2 is a slope, etc.

  • mask – Frequency mask

Returns: