From f7052c8afee04eb63b38c595825b0802a4e5f76f Mon Sep 17 00:00:00 2001 From: beckermr Date: Wed, 20 Mar 2024 13:40:52 -0500 Subject: [PATCH] TST missed this one too --- piff_package/tests/sizemag.yaml | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 piff_package/tests/sizemag.yaml diff --git a/piff_package/tests/sizemag.yaml b/piff_package/tests/sizemag.yaml new file mode 100644 index 0000000..3156ad2 --- /dev/null +++ b/piff_package/tests/sizemag.yaml @@ -0,0 +1,62 @@ +input: + dir: input + image_file_name: DECam_00241238_01.fits.fz + image_hdu: 1 + badpix_hdu: 2 + weight_hdu: 3 + + cat_file_name: DECam_00241238_01_cat.fits + cat_hdu: 2 + x_col: XWIN_IMAGE + y_col: YWIN_IMAGE + flag_col: FLAGS + property_cols: [CLASS_STAR, MAG_AUTO] + + sky_file_name: DECam_00241238_01_bkg.fits.fz + + stamp_size: 25 + + ra: TELRA + dec: TELDEC + gain: GAINA + +select: + type: SizeMag + + initial_select: + type: Properties + where: (CLASS_STAR > 0.9) & (MAG_AUTO < 16) + + hsm_size_reject: 4 + min_snr: 20 + +output: + dir: output + file_name: sizemag_piff.fits + stats: + - + type: SizeMag + file_name: sizemag.png + - + type: ShapeHist + file_name: sizemag_shape.png + - + type: TwoDHist + file_name: sizemag_twodhist.png + +psf: + interp: + order: 1 + type: BasisPolynomial + + model: + interp: Lanczos(5) + scale: 0.26 + size: 15 + type: PixelGrid + + outliers: + type: Chisq + nsigma: 4. + +verbose: 2