|
| 1 | +# Config file for masking and calibration. |
| 2 | +# Standard cuts without halo masks, type v1.X.6. |
| 3 | + |
| 4 | +# General parameters (can also given on command line) |
| 5 | +params: |
| 6 | + input_path: unions_shapepipe_comprehensive_struc_2024_v1.X.c.hdf5 |
| 7 | + cmatrices: False |
| 8 | + sky_regions: False |
| 9 | + verbose: True |
| 10 | + |
| 11 | +# Masks |
| 12 | +## Using columns in 'dat' group (ShapePipe flags) |
| 13 | +dat: |
| 14 | + # SExtractor flags |
| 15 | + - col_name: FLAGS |
| 16 | + label: SE FLAGS |
| 17 | + kind: equal |
| 18 | + value: 0 |
| 19 | + |
| 20 | + # Duplicate objects |
| 21 | + - col_name: overlap |
| 22 | + label: tile overlap |
| 23 | + kind: equal |
| 24 | + value: True |
| 25 | + |
| 26 | + # ShapePipe flags |
| 27 | + - col_name: IMAFLAGS_ISO |
| 28 | + label: SP mask |
| 29 | + kind: equal |
| 30 | + value: 0 |
| 31 | + |
| 32 | + # Number of epochs |
| 33 | + - col_name: N_EPOCH |
| 34 | + label: r"$n_{\rm epoch}$" |
| 35 | + kind: greater_equal |
| 36 | + value: 2 |
| 37 | + |
| 38 | + # Magnitude range |
| 39 | + - col_name: mag |
| 40 | + label: mag range |
| 41 | + kind: range |
| 42 | + value: [15, 30] |
| 43 | + |
| 44 | + # ngmix flags |
| 45 | + - col_name: NGMIX_MOM_FAIL |
| 46 | + label: "ngmix moments failure" |
| 47 | + kind: equal |
| 48 | + value: 0 |
| 49 | + |
| 50 | + # invalid PSF ellipticities |
| 51 | + - col_name: NGMIX_ELL_PSFo_NOSHEAR_0 |
| 52 | + label: "bad PSF ellipticity comp 1" |
| 53 | + kind: not_equal |
| 54 | + value: -10 |
| 55 | + - col_name: NGMIX_ELL_PSFo_NOSHEAR_1 |
| 56 | + label: "bad PSF ellipticity comp 2" |
| 57 | + kind: not_equal |
| 58 | + value: -10 |
| 59 | + |
| 60 | +## Using columns in 'dat_ext' group (post-processing flags) |
| 61 | +dat_ext: |
| 62 | + |
| 63 | + # Stars |
| 64 | + - col_name: 4_Stars |
| 65 | + label: "Stars" |
| 66 | + kind: equal |
| 67 | + value: False |
| 68 | + |
| 69 | + # Manual mask |
| 70 | + - col_name: 8_Manual |
| 71 | + label: "manual mask" |
| 72 | + kind: equal |
| 73 | + value: False |
| 74 | + |
| 75 | + # r-band footprint |
| 76 | + - col_name: 64_r |
| 77 | + label: "r-band imaging" |
| 78 | + kind: equal |
| 79 | + value: False |
| 80 | + |
| 81 | + # Maximask |
| 82 | + - col_name: 1024_Maximask |
| 83 | + label: "maximask" |
| 84 | + kind: equal |
| 85 | + value: False |
| 86 | + |
| 87 | + # Rough pointing coverage |
| 88 | + - col_name: npoint3 |
| 89 | + label: r"$n_{\rm pointing}$" |
| 90 | + kind: greater_equal |
| 91 | + value: 3 |
| 92 | + |
| 93 | +# Metacal parameters |
| 94 | +metacal: |
| 95 | + # Ellipticity dispersion |
| 96 | + sigma_eps_prior: 0.34 |
| 97 | + |
| 98 | + # Signal-to-noise range |
| 99 | + gal_snr_min: 10 |
| 100 | + gal_snr_max: 500 |
| 101 | + |
| 102 | + # Relative-size (hlr / hlr_psf) range |
| 103 | + gal_rel_size_min: 0.707 |
| 104 | + gal_rel_size_max: 3 |
| 105 | + |
| 106 | + # Correct relative size for ellipticity? |
| 107 | + gal_size_corr_ell: False |
| 108 | + |
| 109 | + # Weight for global response matrix, None for unweighted mean |
| 110 | + global_R_weight: w |
0 commit comments