pipeline.hifa.tasks.applycal.ampphase_vs_freq_qa¶
Functions
|
Get the median best fit from a list of best fits. |
|
Return a NumPy array containing time-averaged visibilities for each baseline in the input MSWrapper. |
|
Consolidate a list of Outliers into a smaller set of equivalent Outliers by consolidating their data selection arguments. |
|
Return True if one data selection is contained within another. |
|
|
|
Fit a linear amplitude vs frequency model to a set of time-averaged visibilities. |
|
Angular linear model to fit phases only. |
|
Calculate and return the best amp/phase vs freq fits for data in the input MSWrapper. |
|
|
|
Return a scaled linear function (a function of slope and intercept). |
|
Get the median best fit from a list of best fits. |
|
Fit a linear model for phase vs frequency to a set of time-averaged visibilities. |
|
Return median and estimate standard deviation of numpy array A using median statistics |
|
Score a set of best fits, comparing the fits identified by the ‘attr’ attribute against a reference value calculated by the ref_value_fn, marking outliers that deviate by more than sigma_threshold from this reference value as outliers, to be returned as Outlier objects created by the outlier_fn. |
|
Compare and score the calculated best fits based on how they deviate from a reference value. |
|
Calculate best fits for amplitude vs frequency and phase vs frequency for time-averaged visibilities, score each fit by comparison against a reference value, and return outliers. |
|
Score the intercept of the best fit against the intercept of the median best fit, marking fits that deviate by sigma_threshold from the median dispersion as outliers. |
|
For all amplitude vs frequency fits, score the slope of the fit against the slope of the median best fit, marking fits that deviate by sigma_threshold from the median dispersion as outliers. |
|
Score a list of best fit parameters against a reference value, identifying outliers as fits that deviate by more than sigma_threshold * std dev from the reference value. |
|
For all phase vs frequency fits, score the intercept of the fit against the intercept of the median best fit, marking fits that deviate by sigma_threshold from the median dispersion as outliers. |
|
For all phase vs frequency fits, score the slope of the fit against the slope of the median best fit, marking fits that deviate by sigma_threshold from the median dispersion as outliers. |
|
Convert tuples from the best fit evaluation into a LinearFitParameters namedtuple. |
Classes
|
|
|
|
|
|
alias of |