pipeline.qa package¶
Subpackages¶
Submodules¶
pipeline.qa.bpcal module¶
-
pipeline.qa.bpcal.
MAD
(a, c=0.6745, axis=None)[source]¶ Median Absolute Deviation along given axis of an array:
median(abs(a - median(a))) / c
c = 0.6745 is the constant to convert from MAD to std; it is used by default
pipeline.qa.checksource module¶
pipeline.qa.gpcal module¶
pipeline.qa.scorecalculator module¶
Created on 9 Jan 2014
@author: sjw
-
pipeline.qa.scorecalculator.
score_fluxservice
(result)[source]¶ If the primary FS query fails and the backup is invoked, the severity level should be BLUE (below standard; numerically, on its own, 0.9). If the backup FS query also fails, the warning should be YELLOW (WARNING; numerically, on its own, 0.6). But it should keep running as it currently does.
-
pipeline.qa.scorecalculator.
score_mom8_fc_image
(mom8_fc_name, peak_snr, cube_chanScaled_MAD, outlier_threshold, n_pixels, n_outlier_pixels, is_eph_obj=False)[source]¶ Check the MOM8 FC image for outliers above a given SNR threshold. The score can vary between 0.33 and 1.0 depending on the fraction of outlier pixels.