Skip to content

Commit

Permalink
feat(gcn/notices/chime): Added some example jsons and nearly finished…
Browse files Browse the repository at this point in the history
… the frb schema

feat(chime/frb.schema.json): final touches on the FRB schema "properties"

fix(npm): Fixed npm checks

4.2.0

Back to development

Update gcn/notices/chime/frb.schema.json

Co-authored-by: Dakota Dutko <[email protected]>

Update gcn/notices/chime/detection.example.json

Co-authored-by: Dakota Dutko <[email protected]>

Update gcn/notices/chime/retraction.example.json

Co-authored-by: Dakota Dutko <[email protected]>

Update gcn/notices/chime/subsequent.example.json

Co-authored-by: Dakota Dutko <[email protected]>

Update gcn/notices/chime/update.example.json

Co-authored-by: Dakota Dutko <[email protected]>

fix(Versioning): reverted version number to 4.1.0

fix(version): Reverted the version to 4.1.0 using npm

fix(gal_el_model-properties): corrected galactic electron density model properties

fix(Data-types): Fixed incorrect data types in FRB schema
  • Loading branch information
tabbott36 committed Dec 5, 2024
1 parent 32e1259 commit 6422f8d
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 6 deletions.
24 changes: 24 additions & 0 deletions gcn/notices/chime/frb.detection.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/chime/frb.schema.json",
"alert_kind": "detection",
"trigger_time": "2024-09-18T07:19:10.765268Z",
"trigger_time_error": 0.007864319719374001,
"id": ["427325191"],
"snr": 12.698559761047363,
"ra": 346.77850859547,
"dec": 12.632485229956252,
"ra_dec_error": [0.503806986334273, 0.598921231135782, 0],
"dm": 279.422607421875,
"dm_error": 0.40437427163124,
"dm_gal_ne_2001_max": 37.78909399600771,
"dm_gal_ymw_2016_max": 29.94072212814185,
"trigger_time_inf_freq": "2024-09-18 07:19:03.518831+00:00",
"trigger_time_inf_freq_error": 0.013108099559195993,
"importance": 0.9871308604784662,
"sampling_time": 0.983,
"bandwidth": 400,
"centre_frequency": 600,
"npol": 2,
"tsys": 50,
"description": "This alert was generated automatically by the CHIME/FRB Real-time Search Pipeline. Please direct comments, questions, and concerns to Thomas Abbott at [email protected]."
}
8 changes: 8 additions & 0 deletions gcn/notices/chime/frb.retraction.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/chime/frb.schema.json",
"alert_type": "retraction",
"id": ["FRB 20231013B"],
"trigger_time": "2024-09-18T07:19:10.765268Z",
"trigger_time_error": 0.007864319719374001,
"description": "This alert was generated automatically by human-issued retraction. Please direct comments, questions, and concerns to Thomas Abbott at [email protected]."
}
88 changes: 88 additions & 0 deletions gcn/notices/chime/frb.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"$id": "https://gcn.nasa.gov/schema/main/gcn/notices/chime/frb.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CHIME/FRB Alert",
"description": "Fast radio burst alert from the Canadian Hydrogen Intensity Mapping Experiment.",
"type": "object",
"allOf": [
{ "$ref": "../core/Alert.schema.json" },
{ "$ref": "../core/Reporter.schema.json" },
{ "$ref": "../core/Event.schema.json" },
{ "$ref": "../core/DateTime.schema.json" },
{ "$ref": "../core/Localization.schema.json" }
],
"properties": {
"alert_kind": {
"type": "string",
"description": "The kind of alert (detection or subsequent). Similar meaning to alert_type"
},
"known_source": {
"type": "string",
"description": "Transient Name Server name of the known source (if a repeating FRB source)"
},
"snr": {
"type": "number",
"description": "Signal-to-noise ratio of the burst"
},
"dm": {
"type": "number",
"description": "Dispersion measure of the burst [pc/cm^3]"
},
"dm_error": {
"type": "number",
"description": "Error on the dispersion measure [pc/cm^3]"
},
"dm_gal_ne_2001_max": {
"type": "number",
"description": "Estimated contribution to the dispersion measure from the Galaxy using the NE2001 model."
},
"dm_gal_ymw_2016_max": {
"type": "number",
"description": "Estimated contribution to the dispersion measure from the Galaxy using the YMW2016 model."
},
"trigger_time_error": {
"type": "number",
"description": "Error on the trigger time [s]"
},
"trigger_time_inf_freq": {
"type": "string",
"description": "Time of the trigger at infinite frequency [ISO 8601]"
},
"trigger_time_inf_freq_error": {
"type": "number",
"description": "Error on the trigger time at infinite frequency [s]"
},
"importance": {
"type": "number",
"description": "A machine learning score from 0-1 separating RFI (0) from an astrophysical signal (1)"
},
"probability": {
"type": "number",
"description": "A score of known source association probability from poorly associated (0) to confidently associated (1)"
},
"sampling_time": {
"type": "number",
"description": "The time resolution of the real-time FRB search."
},
"bandwidth": {
"type": "number",
"description": "The bandwidth of the real-time FRB search."
},
"centre_frequency": {
"type": "number",
"description": "The centre frequency of the real-time FRB search."
},
"npol": {
"type": "number",
"description": "The number of polarizations of the real-time FRB search."
},
"tsys": {
"type": "number",
"description": "The system temperature of the real-time FRB search."
},
"update_message": {
"type": "string",
"description": "Message to be included in an update alert"
}
}
}
26 changes: 26 additions & 0 deletions gcn/notices/chime/frb.subsequent.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/chime/frb.schema.json",
"alert_kind": "subsequent",
"known_source": "FRB 20231013B",
"trigger_time": "2024-09-18T07:19:10.765268Z",
"trigger_time_error": 0.007864319719374001,
"id": ["FRB 20240918A"],
"snr": 12.698559761047363,
"ra": 346.77850859547,
"dec": 12.632485229956252,
"ra_dec_error": [0.503806986334273, 0.598921231135782, 0],
"dm": 279.422607421875,
"dm_error": 0.40437427163124,
"dm_gal_ne_2001_max": 37.78909399600771,
"dm_gal_ymw_2016_max": 29.94072212814185,
"trigger_time_inf_freq": "2024-09-18 07:19:03.518831+00:00",
"trigger_time_inf_freq_error": 0.013108099559195993,
"importance": 0.9871308604784662,
"probability": 0.932,
"sampling_time": 0.983,
"bandwidth": 400,
"centre_frequency": 600,
"npol": 2,
"tsys": 50,
"description": "This alert was generated automatically by the CHIME/FRB Real-time Search Pipeline. Please direct comments, questions, and concerns to Thomas Abbott at [email protected]."
}
9 changes: 9 additions & 0 deletions gcn/notices/chime/frb.update.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/chime/frb.schema.json",
"alert_type": "update",
"id": ["FRB 20231013B"],
"trigger_time": "2024-09-18T07:19:10.765268Z",
"trigger_time_error": 0.007864319719374001,
"update_message": "The dispersion measure of FRB 20231013B has been updated to 221.19271850585938 +/- 0.40437427163124 pc/cm^3.",
"description": "This alert was generated automatically by human-issued retraction. Please direct comments, questions, and concerns to Thomas Abbott at [email protected]."
}
12 changes: 7 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nasa-gcn/schema",
"description": "Unified JSON Schema for multi-messenger and high-energy astronomy alerts",
"version": "4.2.0",
"version": "4.1.0",
"repository": {
"type": "git",
"url": "github:nasa-gcn/gcn-schema"
Expand Down

0 comments on commit 6422f8d

Please sign in to comment.