edges_cal.cal_coefficients.perform_term_sweep

edges_cal.cal_coefficients.perform_term_sweep(calobs: CalibrationObservation, delta_rms_thresh: float = 0, max_cterms: int = 15, max_wterms: int = 15) CalibrationObservation[source]

For a given calibration definition, perform a sweep over number of terms.

Parameters:
  • calobs (CalibrationObservation instance) – The definition calibration class. The cterms and wterms in this instance should define the lowest values of the parameters to sweep over.

  • delta_rms_thresh (float) – The threshold in change in RMS between one set of parameters and the next that will define where to cut off. If zero, will run all sets of parameters up to the maximum terms specified.

  • max_cterms (int) – The maximum number of cterms to trial.

  • max_wterms (int) – The maximum number of wterms to trial.