From 03714a9e0b563266a74ff6deeb6573a96ac3af38 Mon Sep 17 00:00:00 2001 From: Timothe Roland Date: Wed, 3 Jul 2024 13:19:17 +0200 Subject: [PATCH 1/5] remove pointing core schema in trigger notices --- gcn/notices/svom/trigger.schema.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcn/notices/svom/trigger.schema.json b/gcn/notices/svom/trigger.schema.json index c81faf33..24bbfbcc 100644 --- a/gcn/notices/svom/trigger.schema.json +++ b/gcn/notices/svom/trigger.schema.json @@ -12,9 +12,7 @@ { "$ref": "../core/Event.schema.json" }, { "$ref": "../core/Localization.schema.json" }, { "$ref": "../core/Reporter.schema.json" }, - { "$ref": "../core/Statistics.schema.json" }, - { "$ref": "../core/Pointing.schema.json" }, - { "$ref": "../core/GeoLocBase.schema.json" } + { "$ref": "../core/Statistics.schema.json" } ], "properties": { "$schema": true, From 71d13c796e37185fa55832c3aa5f9aff3b92a734 Mon Sep 17 00:00:00 2001 From: Timothe Roland Date: Thu, 25 Jul 2024 13:23:17 +0200 Subject: [PATCH 2/5] add SVOM refined notices (N2e/g/j) --- gcn/notices/svom/eclairs/refined.example.json | 22 ++++++++++++++++ gcn/notices/svom/eclgrm/refined.example.json | 20 ++++++++++++++ gcn/notices/svom/grm/refined.example.json | 19 ++++++++++++++ gcn/notices/svom/refined.schema.json | 26 +++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 gcn/notices/svom/eclairs/refined.example.json create mode 100644 gcn/notices/svom/eclgrm/refined.example.json create mode 100644 gcn/notices/svom/grm/refined.example.json create mode 100644 gcn/notices/svom/refined.schema.json diff --git a/gcn/notices/svom/eclairs/refined.example.json b/gcn/notices/svom/eclairs/refined.example.json new file mode 100644 index 00000000..e9e0ed7f --- /dev/null +++ b/gcn/notices/svom/eclairs/refined.example.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/refined.schema.json", + "mission": "SVOM", + "instrument": "ECLAIRs", + "messenger": "EM", + "alert_datetime": "2024-02-22T08:52:55", + "alert_tense": "current", + "alert_type": "update", + "trigger_time": "2024-02-22T08:51:31.310000", + "id": ["sb24022203"], + "t90": 4.48, + "t90_error": [0.06, 0.07], + "hardness_ratio": 0.07, + "hardness_ratio_error": [0.01], + "energy_range_soft": [4.0, 20.0], + "energy_range_hard": [80.0, 120.0], + "classification": { "short_grb": 26.0, "long_grb": 74.0 }, + "slew_status": "accepted", + "ra": 143.2488, + "dec": -68.0299, + "ra_dec_error": 0.1 +} diff --git a/gcn/notices/svom/eclgrm/refined.example.json b/gcn/notices/svom/eclgrm/refined.example.json new file mode 100644 index 00000000..a35fb79a --- /dev/null +++ b/gcn/notices/svom/eclgrm/refined.example.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/refined.schema.json", + "mission": "SVOM", + "instrument": "ECLGRM", + "messenger": "EM", + "alert_datetime": "2024-02-22T08:52:55", + "alert_tense": "current", + "alert_type": "update", + "trigger_time": "2024-02-22T08:51:31.310000", + "id": ["sb24022203"], + "hardness_ratio": 0.07, + "hardness_ratio_error": [0.01], + "energy_range_soft": [4.0, 20.0], + "energy_range_hard": [300.0, 700.0], + "classification": { "short_grb": 26.0, "long_grb": 74.0 }, + "slew_status": "accepted", + "ra": 143.2488, + "dec": -68.0299, + "ra_dec_error": 0.1 +} diff --git a/gcn/notices/svom/grm/refined.example.json b/gcn/notices/svom/grm/refined.example.json new file mode 100644 index 00000000..11e4c565 --- /dev/null +++ b/gcn/notices/svom/grm/refined.example.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/refined.schema.json", + "mission": "SVOM", + "instrument": "GRM", + "messenger": "EM", + "alert_datetime": "2024-02-22T08:52:55", + "alert_tense": "current", + "alert_type": "update", + "trigger_time": "2024-02-22T08:51:31.310000", + "id": ["sb24022203"], + "t90": 4.48, + "t90_error": [0.06, 0.07], + "hardness_ratio": 0.07, + "hardness_ratio_error": [0.01], + "energy_range_soft": [50.0, 300.0], + "energy_range_hard": [300.0, 700.0], + "classification": { "short_grb": 26.0, "long_grb": 74.0 }, + "slew_status": "not-requested" +} diff --git a/gcn/notices/svom/refined.schema.json b/gcn/notices/svom/refined.schema.json new file mode 100644 index 00000000..1f60ff6f --- /dev/null +++ b/gcn/notices/svom/refined.schema.json @@ -0,0 +1,26 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/refined.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "unevaluatedProperties": false, + "title": "T90 and HR parameters of a burst candidate", + "description": "Burst parameter and classification derived from a subset of ECLAIRs and GRM data, or a joint ECLGRM analysis", + "allOf": [ + { "$ref": "../core/AdditionalInfo.schema.json" }, + { "$ref": "../core/Alert.schema.json" }, + { "$ref": "../core/DateTime.schema.json" }, + { "$ref": "../core/Event.schema.json" }, + { "$ref": "../core/Localization.schema.json" }, + { "$ref": "../core/Reporter.schema.json" }, + { "$ref": "../core/Statistics.schema.json" }, + { "$ref": "../core/Duration.schema.json" }, + { "$ref": "../core/HardnessRatio.schema.json" } + ], + "properties": { + "$schema": true, + "slew_status": { + "enum": ["accepted", "rejected", "not-requested"], + "description": "Spacecraft slew status" + } + } +} From 4599a8c0b5eb9e7388f101c1a7d6bbf86685a301 Mon Sep 17 00:00:00 2001 From: Timothe Roland Date: Thu, 25 Jul 2024 13:42:19 +0200 Subject: [PATCH 3/5] add SVOM/MXT localization notices (N2m) --- .../svom/mxt/localization.example.json | 18 +++++++++++ gcn/notices/svom/mxt/localization.schema.json | 32 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 gcn/notices/svom/mxt/localization.example.json create mode 100644 gcn/notices/svom/mxt/localization.schema.json diff --git a/gcn/notices/svom/mxt/localization.example.json b/gcn/notices/svom/mxt/localization.example.json new file mode 100644 index 00000000..43af1722 --- /dev/null +++ b/gcn/notices/svom/mxt/localization.example.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/mxt/localization.schema.json", + "mission": "SVOM", + "instrument": "MXT", + "messenger": "EM", + "alert_datetime": "2024-02-22T08:51:55", + "alert_tense": "current", + "alert_type": "initial", + "id": ["sb24022203"], + "record_number": 1, + "trigger_time": "2024-02-22T08:51:31.320000", + "image_snr": 25.67, + "mean_flux": 5.1, + "flux_error": 0.2, + "ra": 143.2478, + "dec": -68.0289, + "ra_dec_error": 0.1 +} diff --git a/gcn/notices/svom/mxt/localization.schema.json b/gcn/notices/svom/mxt/localization.schema.json new file mode 100644 index 00000000..dde2f392 --- /dev/null +++ b/gcn/notices/svom/mxt/localization.schema.json @@ -0,0 +1,32 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/mxt/localization.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "unevaluatedProperties": false, + "title": "SVOM/MXT localisation parameters", + "description": "MXT refined localisation after a slew of the SVOM platform on an ECLAIRs triggered source", + "allOf": [ + { "$ref": "../../core/AdditionalInfo.schema.json" }, + { "$ref": "../../core/Alert.schema.json" }, + { "$ref": "../../core/DateTime.schema.json" }, + { "$ref": "../../core/Event.schema.json" }, + { "$ref": "../../core/Localization.schema.json" }, + { "$ref": "../../core/Reporter.schema.json" }, + { "$ref": "../../core/Statistics.schema.json" } + ], + "properties": { + "$schema": true, + "mean_flux": { + "type": "number", + "description": "Mean flux of the detection [erg.cm^-2]" + }, + "flux_error": { + "type": "number", + "description": "Error on the mean flux of the detection [erg.cm^-2]" + }, + "use_VT_attitude": { + "type": "boolean", + "description": "Whether the platform stabilisation process uses the VT instead of the standard star tracker. This leads to an improved localization." + } + } +} From 20704c227e32233f64656247968f122493b9b635 Mon Sep 17 00:00:00 2001 From: Timothe Roland Date: Tue, 17 Sep 2024 18:26:46 +0200 Subject: [PATCH 4/5] little fixes in all notices --- gcn/notices/svom/eclairs/refined.example.json | 1 + .../svom/eclairs/trigger.catalog.example.json | 1 + .../svom/eclairs/trigger.not-slewing.example.json | 1 + .../svom/eclairs/trigger.slewing.example.json | 1 + .../svom/eclairs/trigger.wakeup.example.json | 3 ++- gcn/notices/svom/eclgrm/refined.example.json | 2 +- gcn/notices/svom/grm/refined.example.json | 3 ++- gcn/notices/svom/grm/trigger.example.json | 1 + gcn/notices/svom/mxt/localization.example.json | 8 +++++--- gcn/notices/svom/mxt/localization.schema.json | 13 +++---------- 10 files changed, 18 insertions(+), 16 deletions(-) diff --git a/gcn/notices/svom/eclairs/refined.example.json b/gcn/notices/svom/eclairs/refined.example.json index e9e0ed7f..34f4ae53 100644 --- a/gcn/notices/svom/eclairs/refined.example.json +++ b/gcn/notices/svom/eclairs/refined.example.json @@ -8,6 +8,7 @@ "alert_type": "update", "trigger_time": "2024-02-22T08:51:31.310000", "id": ["sb24022203"], + "record_number": 3, "t90": 4.48, "t90_error": [0.06, 0.07], "hardness_ratio": 0.07, diff --git a/gcn/notices/svom/eclairs/trigger.catalog.example.json b/gcn/notices/svom/eclairs/trigger.catalog.example.json index 46352d82..ee58e7b9 100644 --- a/gcn/notices/svom/eclairs/trigger.catalog.example.json +++ b/gcn/notices/svom/eclairs/trigger.catalog.example.json @@ -5,6 +5,7 @@ "alert_tense": "test", "alert_type": "initial", "id": ["sb24022203"], + "record_number": 1, "event_name": ["M1"], "trigger_time": "2024-02-22T08:51:31.320000", "ra": 143.2478, diff --git a/gcn/notices/svom/eclairs/trigger.not-slewing.example.json b/gcn/notices/svom/eclairs/trigger.not-slewing.example.json index d8a0eb86..2f35ce14 100644 --- a/gcn/notices/svom/eclairs/trigger.not-slewing.example.json +++ b/gcn/notices/svom/eclairs/trigger.not-slewing.example.json @@ -5,6 +5,7 @@ "alert_tense": "test", "alert_type": "update", "id": ["sb24022203"], + "record_number": 2, "trigger_time": "2024-02-22T08:51:31.320000", "ra": 143.2478, "dec": -68.0289, diff --git a/gcn/notices/svom/eclairs/trigger.slewing.example.json b/gcn/notices/svom/eclairs/trigger.slewing.example.json index bb2e5ac5..a37bf508 100644 --- a/gcn/notices/svom/eclairs/trigger.slewing.example.json +++ b/gcn/notices/svom/eclairs/trigger.slewing.example.json @@ -5,6 +5,7 @@ "alert_tense": "test", "alert_type": "update", "id": ["sb24022203"], + "record_number": 2, "trigger_time": "2024-02-22T08:51:31.320000", "ra": 143.2478, "dec": -68.0289, diff --git a/gcn/notices/svom/eclairs/trigger.wakeup.example.json b/gcn/notices/svom/eclairs/trigger.wakeup.example.json index 60996bf7..457621a5 100644 --- a/gcn/notices/svom/eclairs/trigger.wakeup.example.json +++ b/gcn/notices/svom/eclairs/trigger.wakeup.example.json @@ -5,12 +5,13 @@ "alert_tense": "test", "alert_type": "initial", "id": ["sb24022203"], + "record_number": 1, "trigger_time": "2024-02-22T08:51:31.320000", "ra": 143.2478, "dec": -68.0289, "ra_dec_error": 0.1, "image_snr": 25.67, - "image_duration": 0, + "image_duration": 0.2, "image_energy_range": [4, 20], "trigger_type": "rate", "slew_status": "not_requested" diff --git a/gcn/notices/svom/eclgrm/refined.example.json b/gcn/notices/svom/eclgrm/refined.example.json index a35fb79a..e4e209c0 100644 --- a/gcn/notices/svom/eclgrm/refined.example.json +++ b/gcn/notices/svom/eclgrm/refined.example.json @@ -6,8 +6,8 @@ "alert_datetime": "2024-02-22T08:52:55", "alert_tense": "current", "alert_type": "update", - "trigger_time": "2024-02-22T08:51:31.310000", "id": ["sb24022203"], + "trigger_time": "2024-02-22T08:51:31.310000", "hardness_ratio": 0.07, "hardness_ratio_error": [0.01], "energy_range_soft": [4.0, 20.0], diff --git a/gcn/notices/svom/grm/refined.example.json b/gcn/notices/svom/grm/refined.example.json index 11e4c565..d390d05f 100644 --- a/gcn/notices/svom/grm/refined.example.json +++ b/gcn/notices/svom/grm/refined.example.json @@ -6,8 +6,9 @@ "alert_datetime": "2024-02-22T08:52:55", "alert_tense": "current", "alert_type": "update", - "trigger_time": "2024-02-22T08:51:31.310000", "id": ["sb24022203"], + "record_number": 2, + "trigger_time": "2024-02-22T08:51:31.310000", "t90": 4.48, "t90_error": [0.06, 0.07], "hardness_ratio": 0.07, diff --git a/gcn/notices/svom/grm/trigger.example.json b/gcn/notices/svom/grm/trigger.example.json index c202db67..828f275d 100644 --- a/gcn/notices/svom/grm/trigger.example.json +++ b/gcn/notices/svom/grm/trigger.example.json @@ -5,6 +5,7 @@ "alert_tense": "test", "alert_type": "initial", "id": ["sb24022203"], + "record_number": 1, "trigger_time": "2024-02-22T08:51:31.320000", "ra": 143.2478, "dec": -68.0289, diff --git a/gcn/notices/svom/mxt/localization.example.json b/gcn/notices/svom/mxt/localization.example.json index 43af1722..db9a0168 100644 --- a/gcn/notices/svom/mxt/localization.example.json +++ b/gcn/notices/svom/mxt/localization.example.json @@ -10,9 +10,11 @@ "record_number": 1, "trigger_time": "2024-02-22T08:51:31.320000", "image_snr": 25.67, - "mean_flux": 5.1, - "flux_error": 0.2, + "image_duration": 30, + "energy_flux": 5.1, + "energy_flux_error": 0.2, "ra": 143.2478, "dec": -68.0289, - "ra_dec_error": 0.1 + "ra_dec_error": 0.1, + "use_VT_attitude": true } diff --git a/gcn/notices/svom/mxt/localization.schema.json b/gcn/notices/svom/mxt/localization.schema.json index dde2f392..c893f97b 100644 --- a/gcn/notices/svom/mxt/localization.schema.json +++ b/gcn/notices/svom/mxt/localization.schema.json @@ -12,21 +12,14 @@ { "$ref": "../../core/Event.schema.json" }, { "$ref": "../../core/Localization.schema.json" }, { "$ref": "../../core/Reporter.schema.json" }, - { "$ref": "../../core/Statistics.schema.json" } + { "$ref": "../../core/Statistics.schema.json" }, + { "$ref": "../../core/spectral/GammaRay.schema.json" } ], "properties": { "$schema": true, - "mean_flux": { - "type": "number", - "description": "Mean flux of the detection [erg.cm^-2]" - }, - "flux_error": { - "type": "number", - "description": "Error on the mean flux of the detection [erg.cm^-2]" - }, "use_VT_attitude": { "type": "boolean", - "description": "Whether the platform stabilisation process uses the VT instead of the standard star tracker. This leads to an improved localization." + "description": "If True, the platform uses the VT quaternions instead of the standard star tracker. This leads to an improved localization." } } } From 375c9b3ab552c9c91deff2144b26fa24b16ea5d1 Mon Sep 17 00:00:00 2001 From: Timothe Roland Date: Wed, 13 Nov 2024 18:22:52 +0100 Subject: [PATCH 5/5] simplify trigger example and topics --- .../eclairs/trigger.not-slewing.example.json | 18 ------------------ ....example.json => trigger.slew.example.json} | 0 gcn/notices/svom/mxt/localization.schema.json | 2 +- gcn/notices/svom/refined.schema.json | 4 ++-- gcn/notices/svom/trigger.schema.json | 2 +- 5 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 gcn/notices/svom/eclairs/trigger.not-slewing.example.json rename gcn/notices/svom/eclairs/{trigger.slewing.example.json => trigger.slew.example.json} (100%) diff --git a/gcn/notices/svom/eclairs/trigger.not-slewing.example.json b/gcn/notices/svom/eclairs/trigger.not-slewing.example.json deleted file mode 100644 index 2f35ce14..00000000 --- a/gcn/notices/svom/eclairs/trigger.not-slewing.example.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json", - "instrument": "ECLAIRs", - "alert_datetime": "2024-02-22T08:51:55", - "alert_tense": "test", - "alert_type": "update", - "id": ["sb24022203"], - "record_number": 2, - "trigger_time": "2024-02-22T08:51:31.320000", - "ra": 143.2478, - "dec": -68.0289, - "ra_dec_error": 0.1, - "image_snr": 25.67, - "image_duration": 0, - "image_energy_range": [4, 20], - "trigger_type": "rate", - "slew_status": "rejected" -} diff --git a/gcn/notices/svom/eclairs/trigger.slewing.example.json b/gcn/notices/svom/eclairs/trigger.slew.example.json similarity index 100% rename from gcn/notices/svom/eclairs/trigger.slewing.example.json rename to gcn/notices/svom/eclairs/trigger.slew.example.json diff --git a/gcn/notices/svom/mxt/localization.schema.json b/gcn/notices/svom/mxt/localization.schema.json index c893f97b..b7f78a2d 100644 --- a/gcn/notices/svom/mxt/localization.schema.json +++ b/gcn/notices/svom/mxt/localization.schema.json @@ -19,7 +19,7 @@ "$schema": true, "use_VT_attitude": { "type": "boolean", - "description": "If True, the platform uses the VT quaternions instead of the standard star tracker. This leads to an improved localization." + "description": "If True, the platform is in high stability mode (uses the VT quaternions instead of the standard star tracker, which leads to an improved localization)." } } } diff --git a/gcn/notices/svom/refined.schema.json b/gcn/notices/svom/refined.schema.json index 1f60ff6f..58c6a900 100644 --- a/gcn/notices/svom/refined.schema.json +++ b/gcn/notices/svom/refined.schema.json @@ -3,7 +3,7 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "unevaluatedProperties": false, - "title": "T90 and HR parameters of a burst candidate", + "title": "Automatic analysis of a burst candidate light curve", "description": "Burst parameter and classification derived from a subset of ECLAIRs and GRM data, or a joint ECLGRM analysis", "allOf": [ { "$ref": "../core/AdditionalInfo.schema.json" }, @@ -20,7 +20,7 @@ "$schema": true, "slew_status": { "enum": ["accepted", "rejected", "not-requested"], - "description": "Spacecraft slew status" + "description": "Whether the platform accepted or rejected a slew requested by ECLAIRs (to its best localisation). If the detection is not significant enough, this value can remain to 'not_requested'" } } } diff --git a/gcn/notices/svom/trigger.schema.json b/gcn/notices/svom/trigger.schema.json index 24bbfbcc..cc50ff5a 100644 --- a/gcn/notices/svom/trigger.schema.json +++ b/gcn/notices/svom/trigger.schema.json @@ -18,7 +18,7 @@ "$schema": true, "slew_status": { "enum": ["accepted", "rejected", "not_requested"], - "description": "Spacecraft slew status" + "description": "Whether the platform accepted or rejected a slew requested by ECLAIRs (to its best localisation). If the detection is not significant enough, this value can remain to 'not_requested'" }, "triggered_GRDs": { "type": "array",