Skip to content

Commit

Permalink
Add alert generation for schema 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Nov 22, 2023
1 parent 7d05f2a commit c569319
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
106 changes: 106 additions & 0 deletions python/lsst/alert/packet/schema/6/0/sample_data/alert.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"alertId": 1231321321,
"l1dbId": 222222222,
"diaSource":
{
"diaSourceId": 281323062375219200,
"ccdVisitId": 111111,
"midpointMjdTai": 1480360995,
"band": "r",
"programId": 1,
"ra": 351.570546978,
"dec": 0.126243049656,
"raSigma": 0.00028,
"decSigma": 0.00028,
"ra_dec_Cov": 0.00029,
"x": 112.1,
"y": 121.1,
"xSigma": 1.2,
"ySigma": 1.1,
"x_y_Cov": 1.2,
"apFlux": 1241.0,
"apFluxErr": 12.0,
"snr": 41.1,
"trailNdata": 5,
"psfFlux": 1241.0,
"psfFluxErr": 12.0,
"flags": 0
},
"prvDiaSources": [
{
"diaSourceId": 281323062375219198,
"ccdVisitId": 111111,
"midpointMjdTai": 1480360995,
"band": "r",
"programId": 1,
"ra": 351.570546978,
"dec": 0.126243049656,
"raSigma": 0.00028,
"decSigma": 0.00028,
"ra_dec_Cov": 0.00029,
"x": 112.1,
"y": 121.1,
"xSigma": 1.2,
"ySigma": 1.1,
"x_y_Cov": 1.2,
"apFlux": 1241.0,
"apFluxErr": 12.0,
"snr": 41.1,
"trailNdata": 5,
"psfFlux": 1241.0,
"psfFluxErr": 12.0,
"flags": 0
},
{
"diaSourceId": 281323062375219199,
"ccdVisitId": 111111,
"midpointMjdTai": 1480360995,
"band": "r",
"programId": 1,
"ra": 351.570546978,
"dec": 0.126243049656,
"raSigma": 0.00028,
"decSigma": 0.00028,
"ra_dec_Cov": 0.00029,
"x": 112.1,
"y": 121.1,
"xSigma": 1.2,
"ySigma": 1.1,
"x_y_Cov": 1.2,
"apFlux": 1241.0,
"apFluxErr": 12.0,
"snr": 41.1,
"trailNdata": 5,
"psfFlux": 1241.0,
"psfFluxErr": 12.0,
"flags": 0
}
],
"diaObject": {
"diaObjectId": 281323062375219201,
"ra": 351.570546978,
"dec": 0.126243049656,
"raSigma": 0.00028,
"decSigma": 0.00028,
"ra_dec_Cov": 0.00029,
"radecMjdTai": 1480360995,
"pmRa": 0.00013,
"pmDec": 0.00014,
"parallax": 2.124124,
"pmRaSigma": 0.00013,
"pmDecSigma": 0.00013,
"parallaxSigma": 0.00013,
"pmRa_pmDec_Cov": 0.00013,
"pmRa_parallax_Cov": 0.00013,
"pmDec_parallax_Cov": 0.00013,
"pmParallaxLnL": 0.00013,
"pmParallaxChi2": 0.00013,
"pmParallaxNdata": 1214,
"flags": 0
},
"ssObject": {
"ssObjectId":5364546,
"numObs": 10,
"flags": 0
}
}
Loading

0 comments on commit c569319

Please sign in to comment.