Skip to content

Commit 4fcf5be

Browse files
committed
Add required metadata for "insmode" and "vph" (fixes #327)
1 parent 06962bb commit 4fcf5be

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "vph_wheel",
3+
"description": "Properties of the VPHs",
4+
"type": "component",
5+
"date_start": null,
6+
"date_end": null,
7+
"uuid": "3d24fe52-f28d-4162-9124-f447daded7d5",
8+
"properties": [
9+
{"id": "current", "limits": [], "key": "VPH", "ext": 0}
10+
]
11+
}

src/megaradrp/instrument/configs/component-78f6d437-85d6-4d7a-bdb7-1e043368b442.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"date_end": null,
77
"uuid": "78f6d437-85d6-4d7a-bdb7-1e043368b442",
88
"properties": [
9+
{"id": "insmode", "one_of": ["LCB", "MOS"], "key": "INSMODE", "ext": 0},
910
{"id": "boxes", "uuid": "86a6e968-8d3d-456f-89f8-09ff0c7f7c57"},
1011
{"id": "boxes_positions", "uuid": "86a6e968-8d3d-456f-89f8-09ff0c7f7c57"}
1112
]

src/megaradrp/instrument/configs/instrument-ca3558e3-e50d-4bbc-86bd-da50a0998a48.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@
55
"date_end": null,
66
"type": "instrument",
77
"name": "MEGARA",
8+
"properties":[
9+
{"id": "insmode", "references": "pseudoslit.insmode"},
10+
{"id": "vph", "references": "vph_wheel.current"}
11+
],
812
"components":
913
[
1014
{"id": "detector", "uuid": "2e02e135-2325-47c9-9975-466b445b0b8b"},
15+
{"id": "vph_wheel", "uuid": "3d24fe52-f28d-4162-9124-f447daded7d5"},
1116
{"id": "pseudoslit", "uuid": "78f6d437-85d6-4d7a-bdb7-1e043368b442"}
1217
]
1318
}

0 commit comments

Comments
 (0)