-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from patricialarsen/shear_test
adding srv tests, testing add on catalogs, testing analysis_tools (th…
- Loading branch information
Showing
22 changed files
with
1,920 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
subclass_name: srv_analysistools.TestMetric | ||
description: 'test install of analysis tools' | ||
included_by_default: true | ||
|
||
ra: 'ra' | ||
dec: 'dec' | ||
models: ['cModel'] | ||
|
||
bands: ['r','i'] | ||
|
||
catalog_filters: | ||
|
||
- filters: ['detect_isIsolated','extendedness==0','detect_isPrimary'] | ||
|
||
mag_lim: 26 | ||
snr_lim: 5.0 | ||
compare: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
subclass_name: srv_colortest.CheckFluxes | ||
description: 'Check flags' | ||
subclass_name: srv_colortest2.CheckFluxes | ||
description: 'Check fluxes and magnitudes' | ||
included_by_default: true | ||
|
||
ra: 'ra' | ||
dec: 'dec' | ||
cmodel: 'cModelFlux_' | ||
cmodel_err: 'cModelFluxErr_' | ||
cmodel_flag: 'cModelFlux_flag_' | ||
models: ['calib','cModel','gaap'] | ||
|
||
bands: | ||
- bands: ['r','u','i'] | ||
bands: ['r','u','i','g','z','y'] | ||
|
||
catalog_filters: | ||
|
||
- filters: ['mag_r < 28', 'mag_i < 28'] | ||
- filters: ['detect_isIsolated','extendedness==0','detect_isPrimary'] | ||
|
||
mag_lim: 26 | ||
snr_lim: 5.0 | ||
compare: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
subclass_name: srv_ngals.CheckNgals | ||
description: 'Check flags' | ||
included_by_default: true | ||
ra: 'ra' | ||
dec: 'dec' | ||
|
||
flags_to_check: | ||
|
||
- quantities: 'cModelFlux_flag_i' | ||
kind: 'bool' | ||
flag_val: True | ||
|
||
- quantities: 'cModelFlux_flag_r' | ||
kind: 'bool' | ||
flag_val: True | ||
|
||
- quantities: 'good' | ||
kind: 'bool' | ||
flag_val: False | ||
|
||
|
||
catalog_filters: | ||
|
||
- filters: ['mag_r < 25'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
subclass_name: readiness_test_synchronous.CheckQuantities | ||
description: 'Plot histograms of listed quantities and perform range, finiteness, mean and standard deviation checks.' | ||
included_by_default: true | ||
|
||
subset_size: 1000000 | ||
|
||
quantities_to_check: | ||
- quantities: ['ra', 'dec'] | ||
kind: 'double' | ||
label: 'deg' | ||
min: [-2.51, -2.49] | ||
max: [2.49, 2.51] | ||
f_inf: 0 | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
- quantities: ['cModelFlux_i','cModelFlux_r','cModelFlux_g'] | ||
kind: 'double' | ||
label: 'cModelFlux (i,r,g)' | ||
min: [-0.2, 0] | ||
max: [0, 0.2] | ||
f_inf: 0 | ||
log: true | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
- quantities: ['psFlux_i', 'psFlux_r','psFlux_g'] | ||
kind: 'double' | ||
label: 'psFlux (i,r,g)' | ||
min: [0, 0.001] | ||
max: [179.99, 180] | ||
f_inf: 0 | ||
log: true | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
- quantities: ['mag_i','mag_r','mag_g'] | ||
kind: 'double' | ||
label: 'mag_x (x=i,r,g)' | ||
min: [null, 15] | ||
max: [25, null] | ||
f_inf: 0 | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
- quantities: 'blendedness' | ||
kind: 'double' | ||
label: 'blendedness' | ||
min: [NULL, NULL] | ||
max: [NULL, NULL] | ||
f_inf: 0 | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
|
||
- quantities: 'psf_fwhm_r' | ||
kind: 'double' | ||
label: 'FWHM of r band' | ||
min: [NULL, NULL] | ||
max: [NULL, NULL] | ||
f_inf: 0 | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
|
||
- quantities: ['shear_1', 'shear_2'] | ||
kind: 'double' | ||
label: 'shear_12' | ||
min: [null, -0.1] | ||
max: [0.1, null] | ||
f_inf: 0 | ||
f_nan: 0 | ||
f_outlier: 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
subclass_name: readiness_test_synchronous.CheckQuantities | ||
description: 'Plot histograms of listed quantities and perform range, finiteness, mean and standard deviation checks.' | ||
included_by_default: true | ||
|
||
subset_size: 1000000 | ||
|
||
quantities_to_check: | ||
- quantities: ['ra', 'dec'] | ||
kind: 'double' | ||
label: 'deg' | ||
min: [-2.51, -2.49] | ||
max: [2.49, 2.51] | ||
f_inf: 0 | ||
|
||
- quantities: ['cModelFlux_i','cModelFlux_r','cModelFlux_g'] | ||
kind: 'double' | ||
label: 'cModelFlux (i,r,g)' | ||
min: [-0.2, 0] | ||
max: [0, 0.2] | ||
f_inf: 0 | ||
log: true | ||
|
||
- quantities: ['psFlux_i', 'psFlux_r','psFlux_g'] | ||
kind: 'double' | ||
label: 'psFlux (i,r,g)' | ||
min: [0, 0.001] | ||
max: [179.99, 180] | ||
f_inf: 0 | ||
log: true | ||
|
||
- quantities: ['mag_i','mag_r','mag_g'] | ||
kind: 'double' | ||
label: 'mag_x (x=i,r,g)' | ||
min: [null, 15] | ||
max: [25, null] | ||
f_inf: 0 | ||
|
||
- quantities: 'deblend_nChild' | ||
kind: 'int' | ||
label: '# blended objects' | ||
|
||
- quantities: 'refFwhm' | ||
kind: 'double' | ||
label: 'FWHM of ref band' | ||
|
||
- quantities: ['shear_1', 'shear_2'] | ||
kind: 'double' | ||
label: 'shear_12' | ||
min: [null, -0.1] | ||
max: [0.1, null] | ||
f_inf: 0 | ||
|
||
catalog_filters: | ||
|
||
- filters: ['extendedness==1', 'sky_object==False', 'shape_flag==False','detect_isPrimary'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
subclass_name: srv_shear.CheckEllipticity | ||
description: 'Check ellipticity values and moments' | ||
included_by_default: true | ||
|
||
ra: 'ra' | ||
dec: 'dec' | ||
Ixx: 'Ixx_pixel' | ||
Iyy: 'Iyy_pixel' | ||
Ixy: 'Ixy_pixel' | ||
IxxPSF: 'IxxPSF_pixel' | ||
IyyPSF: 'IyyPSF_pixel' | ||
IxyPSF: 'IxyPSF_pixel' | ||
psf_fwhm: 'psf_fwhm' | ||
bands: ['r','i','g','z','y'] | ||
|
||
catalog_filters: | ||
- filters: ['extendedness==1','detect_isPrimary'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.