JSON schema and example for Cheetah Configure version 1.2
PSS configuration schema 1.2
Example (PSS Cheetah configuration for scan 1.2)
{
"interface": "https://schema.skao.int/ska-pss-cheetah-configure/1.2",
"beams": [{
"beam": {
"active": true,
"sinks": {
"channels": {
"sps_events": {
"active": true,
"sink": [{
"sink_id": "spccl_files"
}, {
"sink_id": "candidate_files"
}]
}
},
"sink_configs": {
"spccl_files": {
"extension": ".spccl",
"dir": "/tmp/beam1",
"sink_id": "spccl_files"
},
"spccl_sigproc_files": {
"spectra_per_file": 0,
"dir": "/tmp/beam1",
"extension": ".fil",
"candidate_window": {
"ms_before": 500.0,
"ms_after": 1000.0
},
"sink_id": "candidate_files"
}
}
},
"source": {
"sigproc": {
"file": "filterbank1.fil",
"chunk_samples": 1024,
"default-nbits": 8,
"active": true
},
"udp_low": {
"number_of_threads": 2,
"spectra_per_chunk": 2048,
"number_of_channels": 7776,
"max_buffers": 1,
"active": false
}
},
"beam_id": 1
}
}, {
"beam": {
"active": false,
"sinks": {
"channels": {
"sps_events": {
"active": true,
"sink": [{
"sink_id": "spccl_files"
}, {
"sink_id": "candidate_files"
}]
}
},
"sink_configs": {
"spccl_files": {
"extension": ".spccl",
"dir": "/tmp/beam2",
"sink_id": "spccl_files"
},
"spccl_sigproc_files": {
"spectra_per_file": 0,
"dir": "/tmp/beam2",
"extension": ".fil",
"candidate_window": {
"ms_before": 500.0,
"ms_after": 1000.0
},
"sink_id": "candidate_files"
}
}
},
"source": {
"sigproc": {
"file": "filterbank2.fil",
"chunk_samples": 1024,
"default-nbits": 8,
"active": true
},
"udp_low": {
"number_of_threads": 2,
"spectra_per_chunk": 2048,
"number_of_channels": 7776,
"max_buffers": 1,
"active": false
}
},
"beam_id": 2
}
}, {
"beam": {
"active": false,
"sinks": {
"channels": {
"sps_events": {
"active": true,
"sink": [{
"sink_id": "spccl_files"
}, {
"sink_id": "candidate_files"
}]
}
},
"sink_configs": {
"spccl_files": {
"extension": ".spccl",
"dir": "/tmp/beam3",
"sink_id": "spccl_files"
},
"spccl_sigproc_files": {
"spectra_per_file": 0,
"dir": "/tmp/beam3",
"extension": ".fil",
"candidate_window": {
"ms_before": 500.0,
"ms_after": 1000.0
},
"sink_id": "candidate_files"
}
}
},
"source": {
"sigproc": {
"file": "filterbank3.fil",
"chunk_samples": 1024,
"default-nbits": 8,
"active": true
},
"udp_low": {
"number_of_threads": 2,
"spectra_per_chunk": 2048,
"number_of_channels": 7776,
"max_buffers": 1,
"active": false
}
},
"beam_id": 3
}
}],
"cheetah_id": 1
}
type |
object |
|
properties |
||
|
URI of JSON schema for this command’s JSON payload.. |
|
type |
string |
|
|
List of up to 3 beams |
|
type |
array |
|
items |
||
|
Pipeline ID for the cheetah instance. |
|
type |
integer |
|
additionalProperties |
True |
|
PSS_beams_config_1.2
type |
object |
properties |
|
|
|
additionalProperties |
True |
PSS_pss_beam_config_1.2
type |
object |
|
properties |
||
|
enable this beam. |
|
type |
boolean |
|
|
Beam ID |
|
type |
integer |
|
|
||
|
||
additionalProperties |
True |
|
PSS_sinks_config_1.2
type |
object |
properties |
|
|
|
|
|
additionalProperties |
True |
PSS_channels_config_1.2
type |
object |
properties |
|
|
|
additionalProperties |
True |
PSS_sps_events_config_1.2
type |
object |
|||
properties |
||||
|
activate the channel. |
|||
type |
boolean |
|||
|
List of sink ids for sps_events. |
|||
type |
array |
|||
items |
Sink configuration schema 1.2 |
|||
Sink configuration for PSS |
||||
type |
object |
|||
properties |
||||
|
Sink ID |
|||
type |
string |
|||
additionalProperties |
True |
|||
additionalProperties |
True |
|||
PSS_sink_configs_config_1.2
type |
object |
properties |
|
|
|
|
|
additionalProperties |
True |
PSS_spccl_files_config_1.2
type |
object |
|
properties |
||
|
extension. |
|
type |
string |
|
|
directory. |
|
type |
string |
|
|
Sink ID |
|
type |
string |
|
additionalProperties |
True |
|
PSS_spccl_sigproc_files_config_1.2
type |
object |
|
properties |
||
|
spectra per file. |
|
type |
integer |
|
|
directory. |
|
type |
string |
|
|
extension. |
|
type |
string |
|
|
||
|
Sink ID |
|
type |
string |
|
additionalProperties |
True |
|
PSS_candidate_window_config_1.2
type |
object |
|
properties |
||
|
Number of milliseconds before the candidate start. |
|
type |
number |
|
|
Number of milliseconds after the candidate end time. |
|
type |
number |
|
additionalProperties |
True |
|
PSS_source_config_1.2
type |
object |
properties |
|
|
|
|
|
additionalProperties |
True |
PSS_sigproc_config_1.2
type |
object |
|
properties |
||
|
specify the sigproc file(s) to read as input data. |
|
type |
string |
|
|
the number of time samples in each chunk. |
|
type |
integer |
|
|
specify the default number of bits to use. |
|
type |
integer |
|
|
enable udp low |
|
type |
boolean |
|
additionalProperties |
True |
|
PSS_UDP_config_1.2
type |
object |
|
properties |
||
|
the number of threads to run LOW ingest services |
|
type |
integer |
|
|
the number of time slices in each chunk. |
|
type |
integer |
|
|
Total number of frequency channels. |
|
type |
integer |
|
|
the max number of udp packet buffers to use. |
|
type |
integer |
|
|
enable udp low |
|
type |
boolean |
|
additionalProperties |
True |
|