LMC scan configuration payload example

{
  "interface": "https://schema.skao.int/ska-low-csp-configure/6.0",
  "transaction_id": "txn-....-00001",
  "subarray": {
    "subarray_name": "science period 23"
  },
  "common": {
    "config_id": "sbi-mvp01-20200325-00001-science_A",
    "subarray_id": 1,
    "eb_id": "eb-x449-20231105-34696"
  },
  "lowcbf": {
    "stations": {
      "stns": [
        [
          18,
          1
        ],
        [
          34,
          1
        ],
        [
          21,
          1
        ],
        [
          42,
          1
        ],
        [
          54,
          1
        ],
        [
          72,
          1
        ]
      ],
      "stn_beams": [
        {
          "beam_id": 1,
          "freq_ids": [
            64
          ],
          "delay_poly": "ska_low/tm_leaf_node/csp_subarray01/DelayModel"
        }
      ]
    },
    "vis": {
      "fsp": {
        "firmware": "vis:0.0.6-dev.636d2e14:gitlab",
        "fsp_ids": [
          1
        ]
      },
      "stn_beams": [
        {
          "stn_beam_id": 1,
          "host": [
            [
              0,
              "192.168.2.2"
            ]
          ],
          "mac": [
            [
              0,
              "0c-42-a1-9c-a2-1b"
            ]
          ],
          "port": [
            [
              0,
              20000,
              1
            ]
          ],
          "integration_ms": 849
        }
      ]
    },
    "search_beams": {
      "firmware": "pss",
      "beams": [
        {
          "pss_beam_id": 1,
          "stn_beam_id": 1,
          "stn_weights": [
            0.9,
            1.0,
            1.0,
            1.0,
            0.9,
            1.0
          ],
          "delay_poly": "tango://delays.skao.int/low/stn-beam/1",
          "jones": "tango://jones.skao.int/low/stn-beam/1"
        }
      ]
    }
  },
  "pss": {
    "beam": [
      {
        "beam_id": 1,
        "reference_frame": "ICRS",
        "ra": 82.75,
        "dec": 21,
        "centre_frequency": 1400,
        "beam_delay_centre": 0,
        "dest_host": "192.168.178.25",
        "dest_port": 9021
      },
      {
        "beam_id": 2,
        "reference_frame": "ICRS",
        "ra": 84.25,
        "dec": 21.5,
        "centre_frequency": 1400,
        "beam_delay_centre": 0,
        "dest_host": "192.168.178.26",
        "dest_port": 9021
      }
    ],
    "ddtr": {
      "dedispersion_samples": 131072,
      "cpu": {
        "active": false
      },
      "fpga": {
        "active": false
      },
      "gpu_bruteforce": {
        "active": false,
        "copy_dmtrials_to_host": true
      },
      "klotski": {
        "active": true
      },
      "klotski_bruteforce": {
        "active": false
      },
      "dedispersion": [
        {
          "start": 0,
          "end": 100,
          "step": 0.1
        },
        {
          "start": 100,
          "end": 300,
          "step": 0.2
        },
        {
          "start": 300,
          "end": 700,
          "step": 0.4
        },
        {
          "start": 700,
          "end": 1500,
          "step": 0.8
        },
        {
          "start": 1500,
          "end": 3100,
          "step": 1.6
        }
      ]
    },
    "config_id": 1,
    "spdt": {
      "cpu": {
        "active": false,
        "samples_per_iteration": 1,
        "number_of_widths": 1
      },
      "threshold": 6,
      "klotski": {
        "active": true,
        "pulse_widths": "1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,15000"
      },
      "klotski_bruteforce": {
        "active": false,
        "pulse_widths": "1,2,4,8,16,32,64,128"
      }
    },
    "transaction_id": "txn-....-00001",
    "cheetah": [
      {
        "cheetah_id": 1,
        "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,
                      "ms_after": 1000
                    },
                    "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,
                      "ms_after": 1000
                    },
                    "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,
                      "ms_after": 1000
                    },
                    "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
            }
          }
        ]
      }
    ]
  }
}