Skip to content
Snippets Groups Projects
Commit 513d9bd5 authored by Jan David Mol's avatar Jan David Mol
Browse files

Update LOFAR2 station spec for HBA and dithering settings

parent 03b8a70f
Branches
Tags
1 merge request!1167Update LOFAR2 station spec for HBA and dithering settings
......@@ -82,7 +82,7 @@ def convert_to_l2stationspecs_dict(subtask: models.Subtask) -> dict:
l2stationspecs['stop_time'] = subtask.scheduled_stop_time.isoformat()
l2stationspecs['antenna_field'] = antenna_field
l2stationspecs['antenna_set'] = antenna_set_mapping[antenna_set][station_type]
l2stationspecs['tile_beam'] = subtask.specifications_doc["stations"]["analog_pointing"]
l2stationspecs['HBA']['tile_beam'] = subtask.specifications_doc["stations"]["analog_pointing"]
l2stationspecs['filter'] = subtask.specifications_doc["stations"]["filter"]
l2stationspecs['SAPs'] = [{'pointing' : dp['pointing'], 'subbands' : dp['subbands'] } for dp in subtask.specifications_doc["stations"]["digital_pointings"]]
......
......@@ -90,9 +90,53 @@
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/datetime/10#/definitions/timestamp",
"default": "2100-01-01T00:00:00Z"
},
"tile_beam": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/pointing/9#/definitions/pointing",
"default": {}
"HBA": {
"type": "object",
"additionalProperties": false,
"default": {},
"properties": {
"tile_beam": {
"$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/pointing/9#/definitions/pointing",
"default": {}
},
"DAB_filter": {
"type": "boolean",
"default": false,
"description": "Enable hardware filter on DAB frequencies"
},
"element_selection": {
"type": "string",
"default": "ALL",
"description": "Which element(s) to enable in each tile",
"enum": [
"ALL",
"GENERIC_201512"
]
}
}
},
"dithering": {
"type": "object",
"additionalProperties": false,
"default": {},
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"power": {
"type": "number",
"description": "Power of dithering signal, in dBm",
"minimum": -25.0,
"maximum": -4.0,
"default": -4.0
},
"frequency": {
"type": "number",
"description": "Frequency of dithering signal, in Hz",
"default": 102000000
}
}
}
},
"required": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment