Skip to content

Commit

Permalink
Add pixel scale & PSF model metrics to schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenam committed Oct 20, 2024
1 parent 64a4877 commit ec42900
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 4 deletions.
5 changes: 5 additions & 0 deletions yml/apdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,11 @@ tables:
datatype: double
description: Declination of detector center.
fits:tunit: deg
- name: pixelScale
'@id': '#DetectorVisitProcessingSummary.pixelScale'
datatype: float
description: Measured detector pixel scale (arcsec/pixel).
fits:tunit:
- name: zeroPoint
'@id': '#DetectorVisitProcessingSummary.zeroPoint'
datatype: float
Expand Down
32 changes: 28 additions & 4 deletions yml/cdb_latiss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,10 @@ tables:
"@id": "#visit1_quicklook.n_inputs"
datatype: int
description: Number of CCDs used to compute the visit aggregates.
- name: pixel_scale
"@id": "#visit1_quicklook.pixel_scale"
datatype: float
description: Measured detector pixel scale (arcsec/pixel).
- name: astrom_offset_mean
"@id": "#visit1_quicklook.astrom_offset_mean"
datatype: float
Expand Down Expand Up @@ -953,10 +957,6 @@ tables:
datatype: float
description: Magnitude limit at fixed SNR (default SNR=5) calculated from exposure summary stats.
ivoa:unit: mag
- name: max_dist_to_nearest_psf
"@id": "#visit1_quicklook.max_dist_to_nearest_psf"
datatype: float
description: Maximum distance of an unmasked pixel to its nearest model PSF star.
- name: mean_var
"@id": "#visit1_quicklook.mean_var"
datatype: float
Expand Down Expand Up @@ -1017,6 +1017,18 @@ tables:
"@id": "#visit1_quicklook.psf_trace_radius_delta"
datatype: float
description: Delta (max - min) of model PSF trace radius values evaluated on a grid of unmasked pixels.
- name: psf_ap_flux_delta
"@id": "#visit1_quicklook.psf_ap_flux_delta"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.
- name: psf_ap_corr_sigma_scaled_delta
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels.
- name: max_dist_to_nearest_psf
"@id": "#visit1_quicklook.max_dist_to_nearest_psf"
datatype: float
description: Maximum distance of an unmasked pixel to its nearest model PSF star.
- name: sky_bg
"@id": "#visit1_quicklook.sky_bg"
datatype: float
Expand Down Expand Up @@ -1175,6 +1187,10 @@ tables:
"@id": "#ccdvisit1_quicklook.seeing_zenith_500nm"
datatype: double
description: Measured PSF sigma, corrected to 500nm and an airmass of 1.
- name: pixel_scale
"@id": "#ccdvisit1_quicklook.pixel_scale"
datatype: float
description: Measured detector pixel scale (arcsec/pixel).
- name: astrom_offset_mean
"@id": "#ccdvisit1_quicklook.astrom_offset_mean"
datatype: float
Expand Down Expand Up @@ -1262,6 +1278,14 @@ tables:
datatype: float
description: Delta (max - min) of model PSF trace radius values evaluated on a grid of unmasked pixels.
ivoa:unit: pixel
- name: psf_ap_flux_delta

Check failure on line 1281 in yml/cdb_latiss.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1281:4 syntax error: expected <block end>, but found '<block sequence start>' (syntax)
"@id": "#ccdvisit1_quicklook.psf_ap_flux_delta"

Check failure on line 1282 in yml/cdb_latiss.yaml

View workflow job for this annotation

GitHub Actions / call-workflow / yamllint

1282:5 [indentation] wrong indentation: expected 5 but found 4
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.
- name: psf_ap_corr_sigma_scaled_delta
"@id": "#ccdvisit1_quicklook.psf_ap_corr_sigma_scaled_delta"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels.
- name: max_dist_to_nearest_psf
"@id": "#ccdvisit1_quicklook.max_dist_to_nearest_psf"
datatype: float
Expand Down
48 changes: 48 additions & 0 deletions yml/cdb_lsstcomcam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,18 @@ tables:
"@id": "#visit1_quicklook.n_inputs"
datatype: int
description: Number of CCDs used to compute the visit aggregates.
- name: pixel_scale_min
"@id": "#visit1_quicklook.pixel_scale_min"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (minimum across all detectors).
- name: pixel_scale_max
"@id": "#visit1_quicklook.pixel_scale_max"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (maximum across all detectors).
- name: pixel_scale_median
"@id": "#visit1_quicklook.pixel_scale_median"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (median across all detectors).
- name: astrom_offset_mean_min
"@id": "#visit1_quicklook.astrom_offset_mean_min"
datatype: float
Expand Down Expand Up @@ -997,6 +1009,30 @@ tables:
datatype: float
description: Magnitude limit at fixed SNR (default SNR=5) calculated from exposure summary stats (median across all detectors).
ivoa:unit: mag
- name: psf_ap_flux_delta_min
"@id": "#visit1_quicklook.psf_ap_flux_delta_min"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (minimum across all detectors).
- name: psf_ap_flux_delta_max
"@id": "#visit1_quicklook.psf_ap_flux_delta_max"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (maximum across all detectors).
- name: psf_ap_flux_delta_median
"@id": "#visit1_quicklook.psf_ap_flux_delta_median"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (median across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_min
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_min"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (minimum across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_max
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_max"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (maximum across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_median
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_median"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (median across all detectors).
- name: max_dist_to_nearest_psf_min
"@id": "#visit1_quicklook.max_dist_to_nearest_psf_min"
datatype: float
Expand Down Expand Up @@ -1423,6 +1459,10 @@ tables:
"@id": "#ccdvisit1_quicklook.seeing_zenith_500nm"
datatype: double
description: Measured PSF sigma, corrected to 500nm and an airmass of 1.
- name: pixel_scale
"@id": "#ccdvisit1_quicklook.pixel_scale"
datatype: float
description: Measured detector pixel scale (arcsec/pixel).
- name: astrom_offset_mean
"@id": "#ccdvisit1_quicklook.astrom_offset_mean"
datatype: float
Expand Down Expand Up @@ -1515,6 +1555,14 @@ tables:
datatype: float
description: Delta (max - min) of model PSF trace radius values evaluated on a grid of unmasked pixels.
ivoa:unit: pixel
- name: psf_ap_flux_delta
"@id": "#ccdvisit1_quicklook.psf_ap_flux_delta"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.
- name: psf_ap_corr_sigma_scaled_delta
"@id": "#ccdvisit1_quicklook.psf_ap_corr_sigma_scaled_delta"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels.
- name: max_dist_to_nearest_psf
"@id": "#ccdvisit1_quicklook.max_dist_to_nearest_psf"
datatype: float
Expand Down
48 changes: 48 additions & 0 deletions yml/cdb_lsstcomcamsim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,18 @@ tables:
"@id": "#visit1_quicklook.n_inputs"
datatype: int
description: Number of CCDs used to compute the visit aggregates.
- name: pixel_scale_min
"@id": "#visit1_quicklook.pixel_scale_min"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (minimum across all detectors).
- name: pixel_scale_max
"@id": "#visit1_quicklook.pixel_scale_max"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (maximum across all detectors).
- name: pixel_scale_median
"@id": "#visit1_quicklook.pixel_scale_median"
datatype: float
description: Measured detector pixel scale (arcsec/pixel) (median across all detectors).
- name: astrom_offset_mean_min
"@id": "#visit1_quicklook.astrom_offset_mean_min"
datatype: float
Expand Down Expand Up @@ -962,6 +974,30 @@ tables:
datatype: float
description: Magnitude limit at fixed SNR (default SNR=5) calculated from exposure summary stats (median across all detectors).
ivoa:unit: mag
- name: psf_ap_flux_delta_min
"@id": "#visit1_quicklook.psf_ap_flux_delta_min"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (minimum across all detectors).
- name: psf_ap_flux_delta_max
"@id": "#visit1_quicklook.psf_ap_flux_delta_max"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (maximum across all detectors).
- name: psf_ap_flux_delta_median
"@id": "#visit1_quicklook.psf_ap_flux_delta_median"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels (median across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_min
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_min"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (minimum across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_max
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_max"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (maximum across all detectors).
- name: psf_ap_corr_sigma_scaled_delta_median
"@id": "#visit1_quicklook.psf_ap_corr_sigma_scaled_delta_median"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels (median across all detectors).
- name: max_dist_to_nearest_psf_min
"@id": "#visit1_quicklook.max_dist_to_nearest_psf_min"
datatype: float
Expand Down Expand Up @@ -1352,6 +1388,10 @@ tables:
"@id": "#ccdvisit1_quicklook.seeing_zenith_500nm"
datatype: double
description: Measured PSF sigma, corrected to 500nm and an airmass of 1.
- name: pixel_scale
"@id": "#ccdvisit1_quicklook.pixel_scale"
datatype: float
description: Measured detector pixel scale (arcsec/pixel).
- name: astrom_offset_mean
"@id": "#ccdvisit1_quicklook.astrom_offset_mean"
datatype: float
Expand Down Expand Up @@ -1444,6 +1484,14 @@ tables:
datatype: float
description: Delta (max - min) of model PSF trace radius values evaluated on a grid of unmasked pixels.
ivoa:unit: pixel
- name: psf_ap_flux_delta
"@id": "#ccdvisit1_quicklook.psf_ap_flux_delta"
datatype: double
description: Delta (max - min) of model psf aperture flux (with aperture radius of max(2, 3*psfSigma)) values evaluated on a grid of unmasked pixels.
- name: psf_ap_corr_sigma_scaled_delta
"@id": "#ccdvisit1_quicklook.psf_ap_corr_sigma_scaled_delta"
datatype: double
description: Delta (max - min) of psf flux aperture correction factors scaled (divided) by the psfSigma evaluated on a grid of unmasked pixels.
- name: max_dist_to_nearest_psf
"@id": "#ccdvisit1_quicklook.max_dist_to_nearest_psf"
datatype: float
Expand Down

0 comments on commit ec42900

Please sign in to comment.