SAH-1764: TMC schema changes for PST Scan 3.0
- For TMC to support PST Configure Scan 3.0 version following changes have been done:
- TMC low configure version has been upgraded to 5.0.
- RTD changes and compatibility matrix has been updated to reflect these changes.
Below table reflects the version changes
| TMC Low Configure | CSP Low Configure | lowcbf | pss | pst |
|---|---|---|---|---|
| 5.0 | 5.0 | 0.2 | 0.0 | 3.0 |
| 4.1 | 3.2 | 0.2 | 0.0 | 2.5 |
Old schema:
{
"interface": "https://schema.skao.int/ska-low-tmc-configure/4.1",
"csp": {
"interface": "https://schema.skao.int/ska-low-csp-configure/3.2",
"common": {
"config_id": "sbi-mvp01-20200325-00001-science_A",
"eb_id": "eb-test-20220916-00000"
},
"lowcbf": {
"stations": {
"stns": [
[
1,
0
],
[
2,
0
],
[
3,
0
],
[
4,
0
],
[
5,
0
],
[
6,
0
]
],
"stn_beams": [
{
"beam_id": 1,
"freq_ids": [
400
]
}
]
},
"vis": {
"fsp": {
"firmware": "vis",
"fsp_ids": [
1
]
},
"stn_beams": [
{
"stn_beam_id": 1,
"integration_ms": 849
}
]
},
"timing_beams": {
"fsp": {
"firmware": "pst",
"fsp_ids": [
2
]
},
"beams": [
{
"pst_beam_id": 1,
"field": {
"target_id": "PSR J0024-7204R",
"reference_frame": "icrs",
"attrs": {
"c1": 6.023625,
"c2": -72.08128333,
"pm_c1": 4.8,
"pm_c2": -3.3
}
},
"stn_beam_id": 1,
"stn_weights": [
0.9,
1,
1,
1,
0.9,
1
]
},
{
"pst_beam_id": 2,
"field": {
"target_id": "PSR J0024-7204R",
"reference_frame": "icrs",
"attrs": {
"c1": 6.023625,
"c2": -72.08128333,
"pm_c1": 4.8,
"pm_c2": -3.3
}
},
"stn_beam_id": 2,
"stn_weights": [
0.9,
1,
1,
1,
0.9,
1
]
}
]
}
},
"pst": {
"beams": [
{
"beam_id": 1,
"scan": {
"activation_time": "2022-01-19T23:07:45Z",
"bits_per_sample": 32,
"num_of_polarizations": 2,
"udp_nsamp": 32,
"wt_nsamp": 32,
"udp_nchan": 24,
"num_frequency_channels": 432,
"centre_frequency": 200000000,
"total_bandwidth": 1562500,
"observation_mode": "VOLTAGE_RECORDER",
"observer_id": "jdoe",
"project_id": "project1",
"pointing_id": "pointing1",
"source": "J1921+2153",
"itrf": [
5109360.133,
2006852.586,
-3238948.127
],
"receiver_id": "receiver3",
"feed_polarization": "LIN",
"feed_handedness": 1,
"feed_angle": 1.234,
"feed_tracking_mode": "FA",
"feed_position_angle": 10,
"oversampling_ratio": [
8,
7
],
"coordinates": {
"equinox": 2000,
"ra": "19:21:44.815",
"dec": "21:53:02.400"
},
"max_scan_length": 20000,
"subint_duration": 30,
"receptors": [
"receptor1",
"receptor2"
],
"receptor_weights": [
0.4,
0.6
],
"num_channelization_stages": 2,
"channelization_stages": [
{
"num_filter_taps": 1,
"filter_coefficients": [
1
],
"num_frequency_channels": 1024,
"oversampling_ratio": [
32,
27
]
},
{
"num_filter_taps": 1,
"filter_coefficients": [
1
],
"num_frequency_channels": 256,
"oversampling_ratio": [
4,
3
]
}
]
}
}
]
}
},
}
New Schema
{
'interface': 'https://schema.skao.int/ska-low-tmc-configure/5.0',
'csp': {
'interface': 'https://schema.skao.int/ska-low-csp-configure/5.0',
'common': {
'config_id': 'sbi-mvp01-20200325-00001-science_A',
'eb_id': 'eb-test-20220916-00000'
},
'lowcbf': {
'stations': {
'stn_beams': [
{
'beam_id': 1,
'freq_ids': [
400
]
}
],
'stns': [
[
1,
1
],
[
2,
1
],
[
3,
1
],
[
4,
1
],
[
5,
1
],
[
6,
1
]
]
},
'timing_beams': {
'beams': [
{
'field': {
'attrs': {
'c1': 6.023625,
'c2': -72.08128333,
'pm_c1': 4.8,
'pm_c2': -3.3
},
'reference_frame': 'icrs',
'target_name': 'PSR J0024-7204R'
},
'pst_beam_id': 1,
'stn_beam_id': 1,
'stn_weights': [
0.9,
1.0,
1.0,
1.0,
0.9,
1.0
]
},
{
'field': {
'attrs': {
'c1': 6.023625,
'c2': -72.08128333,
'pm_c1': 4.8,
'pm_c2': -3.3
},
'reference_frame': 'icrs',
'target_name': 'PSR J0024-7204R'
},
'pst_beam_id': 2,
'stn_beam_id': 2,
'stn_weights': [
0.9,
1.0,
1.0,
1.0,
0.9,
1.0
]
}
],
'fsp': {
'firmware': 'pst',
'fsp_ids': [
2
]
}
},
'vis': {
'fsp': {
'firmware': 'vis',
'fsp_ids': [
1
]
},
'stn_beams': [
{
'integration_ms': 849,
'stn_beam_id': 1
}
]
}
},
'pst': {
'beams': [
{
'beam_id': 1,
'scan': {
'centre_frequency': 200000000.0,
'max_scan_length': 20000.0,
'observer_id': 'jdoe',
'project_id': 'project1',
'pst_processing_mode': 'VOLTAGE_RECORDER',
'receiver_id': 'receiver3',
'receptor_weights': [
0.4,
0.6
],
'receptors': [
'receptor1',
'receptor2'
],
'rfi_frequency_masks': [],
'subint_duration': 30.0,
'target': {
'attrs': {
'c1': 6.023625,
'c2': -72.08128333,
'epoch': 2000.0
},
'reference_frame': 'icrs',
'target_name': 'J1921+2153'
},
'total_bandwidth': 1562500.0
}
},
{
'beam_id': 2,
'scan': {
'centre_frequency': 200000000.0,
'max_scan_length': 20000.0,
'observer_id': 'jdoe',
'project_id': 'project1',
'pst_processing_mode': 'VOLTAGE_RECORDER',
'receiver_id': 'receiver3',
'receptor_weights': [
0.4,
0.6
],
'receptors': [
'receptor1',
'receptor2'
],
'rfi_frequency_masks': [],
'subint_duration': 30.0,
'target': {
'attrs': {
'c1': 6.023625,
'c2': -72.08128333,
'epoch': 2000.0
},
'reference_frame': 'icrs',
'target_name': 'J1921+2153'
},
'total_bandwidth': 1562500.0
}
}
]
}
},
'transaction_id': 'txn-....-00001'
}
Edited by Abhijeet Deshkar