Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update candidate schema #99

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions winterdrp/processors/alert_packets/alert_schema/candidate.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{"name": "nneg", "type": ["int", "null"], "default": null, "doc": "number of negative pixels in a 5 x 5 pixel stamp"},
{"name": "nbad", "type": ["int", "null"], "default": null, "doc": "number of prior-tagged bad pixels in a 5 x 5 pixel stamp"},
{"name": "rb", "type": ["float", "null"], "default": null, "doc": "RealBogus quality score from Random Forest classifier; range is 0 to 1 where closer to 1 is more reliable"},
{"name": "rbversion", "type": "string", "default": null, "doc": "version of Random Forest classifier model used to assign RealBogus (rb) quality score"},
{"name": "rbversion", "type": ["string", "null"], "default": null, "doc": "version of Random Forest classifier model used to assign RealBogus (rb) quality score"},
{"name": "ssdistnr", "type": ["float", "null"], "default": null, "doc": "distance to nearest known solar system object if exists within 30 arcsec [arcsec]"},
{"name": "ssmagnr", "type": ["float", "null"], "default": null, "doc": "magnitude of nearest known solar system object if exists within 30 arcsec (usually V-band from MPC archive) [mag]"},
{"name": "ssnamenr", "type": ["string", "null"], "default": null, "doc": "name of nearest known solar system object if exists within 30 arcsec (from MPC archive)"},
Expand All @@ -54,18 +54,18 @@
{"name": "jdendhist", "type": ["double", "null"], "default": null, "doc": "Latest Julian date of epoch corresponding to ndethist [days]"},
{"name": "scorr", "type": ["double", "null"], "default": null, "doc": "Peak-pixel signal-to-noise ratio in point source matched-filtered detection image"},
{"name": "tooflag", "type": ["int", "null"], "default": 0, "doc": "1 => candidate is from a Target-of-Opportunity (ToO) exposure; 0 => candidate is from a non-ToO exposure"},
{"name": "psobjectid1", "type": ["long", "null"], "default": null, "doc": "Object ID of closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "psobjectid1", "type": ["float", "null"], "default": null, "doc": "Object ID of closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "sgmag1", "type": ["float", "null"], "default": null, "doc": "g-band PSF-fit magnitude of closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "srmag1", "type": ["float", "null"], "default": null, "doc": "r-band PSF-fit magnitude of closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "simag1", "type": ["float", "null"], "default": null, "doc": "i-band PSF-fit magnitude of closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "szmag1", "type": ["float", "null"], "default": null, "doc": "z-band PSF-fit magnitude of closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "tmjmag1", "type": ["float", "null"], "default": null, "doc": "J-band PSF magnitude of closest source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmhmag1", "type": ["float", "null"], "default": null, "doc": "H-band PSF magnitude of closest source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmkmag1", "type": ["float", "null"], "default": null, "doc": "K-band PSF magnitude of closest source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmobjectid1", "type": ["long", "null"], "default": null, "doc": "Object ID of closest source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "tmobjectid1", "type": ["string", "null"], "default": null, "doc": "Object ID of closest source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "sgscore1", "type": ["float", "null"], "default": null, "doc": "Star/Galaxy score of closest source from PS1 catalog; if exists within 30 arcsec: 0 <= sgscore <= 1 where closer to 1 implies higher likelihood of being a star"},
{"name": "distpsnr1", "type": ["float", "null"], "default": null, "doc": "Distance to closest source from PS1 catalog; if exists within 30 arcsec [arcsec]"},
{"name": "psobjectid2", "type": ["long", "null"], "default": null, "doc": "Object ID of second closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "psobjectid2", "type": ["float", "null"], "default": null, "doc": "Object ID of second closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "sgmag2", "type": ["float", "null"], "default": null, "doc": "g-band PSF-fit magnitude of second closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "srmag2", "type": ["float", "null"], "default": null, "doc": "r-band PSF-fit magnitude of second closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "simag2", "type": ["float", "null"], "default": null, "doc": "i-band PSF-fit magnitude of second closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
Expand All @@ -75,8 +75,8 @@
{"name": "tmjmag2", "type": ["float", "null"], "default": null, "doc": "J-band PSF magnitude of second source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmhmag2", "type": ["float", "null"], "default": null, "doc": "H-band PSF magnitude of second source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmkmag2", "type": ["float", "null"], "default": null, "doc": "K-band PSF magnitude of second source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmobjectid2", "type": ["long", "null"], "default": null, "doc": "Object ID of second source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "psobjectid3", "type": ["long", "null"], "default": null, "doc": "Object ID of third closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "tmobjectid2", "type": ["string", "null"], "default": null, "doc": "Object ID of second source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "psobjectid3", "type": ["float", "null"], "default": null, "doc": "Object ID of third closest source from PS1 catalog; if exists within 30 arcsec"},
{"name": "sgmag3", "type": ["float", "null"], "default": null, "doc": "g-band PSF-fit magnitude of third closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "srmag3", "type": ["float", "null"], "default": null, "doc": "r-band PSF-fit magnitude of third closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
{"name": "simag3", "type": ["float", "null"], "default": null, "doc": "i-band PSF-fit magnitude of third closest source from PS1 catalog; if exists within 30 arcsec [mag]"},
Expand All @@ -86,7 +86,7 @@
{"name": "tmjmag3", "type": ["float", "null"], "default": null, "doc": "J-band PSF magnitude of third source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmhmag3", "type": ["float", "null"], "default": null, "doc": "H-band PSF magnitude of third source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmkmag3", "type": ["float", "null"], "default": null, "doc": "K-band PSF magnitude of third source from 2MASS catalog; if exists within 30 arcsec [mag]"},
{"name": "tmobjectid3", "type": ["long", "null"], "default": null, "doc": "Object ID of third source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "tmobjectid3", "type": ["string", "null"], "default": null, "doc": "Object ID of third source from 2MASS catalog; if exists within 30 arcsec"},
{"name": "nmtchps", "type": "int", "doc": "Number of source matches from PS1 catalog falling within 30 arcsec"},
{"name": "nmtchtm", "type": "int", "default": null, "doc": "Number of source matches from 2MASS catalog falling within 30 arcsec"},
{"name": "dsnrms", "type": ["float", "null"], "default": null, "doc": "Ratio: D/stddev(D) on event position where D = difference image"},
Expand Down