ska_oso_pdm.builders

class ICRSObject(name: str, ra: str, dec: str)[source]

Specifies a target using ICRS coordinates.

Parameters:
  • name – Name of the object, will be used as the target ID

  • ra – Right ascension of the object

  • dec – Declination of the object

class ICRSObjectFivePoint(name: str, ra: str, dec: str, offset: float)[source]

* NOTE: Not yet implemented, the current builders do not support five-point observing patterns. *

Specifies a target using ICRS coordinates using a five-point observing pattern.

Parameters:
  • name – Name of the object, will be used as the target ID

  • ra – Right ascension of the object

  • dec – Declination of the object

  • offset – Offset from the reference position

class SolarSystemObject(name: SolarSystemObjectName)[source]

Specifies a target using the Solar System Object name.

Parameters:

name – Name of the object, must be one of the predefined PDM SolarSystemObjectName enumerations

low_imaging_sb(stations: List[int] | None = None, targets: List[ICRSObject | SolarSystemObject] | None = None, scan_duration: float | List[float] | None = None) SBDefinition[source]

Creates an SBDefinition PDM object for SKA-Low with a single scan and AA0.5-compatible MCCS and CSP set-ups by default. The default configuration can be modified by passing in additional parameters.

Parameters:
  • stations – A list of integer station IDs to include in the MCCS allocation. One aperture will be created for each station for subarray beam ID 1 with ‘uniform’ weighting key and sub-station ID 1.

  • targets – A list of targets for the observation. For each specified target, a scan referencing the target ID is added to the SB.

  • scan_duration – Either a single value to set for all scans or multiple values to specify different duration for each specified target. If multiple values are specified, the number of values should match the number of specified targets.

mid_imaging_sb(dishes: List[str] | None = None, targets: List[ICRSObject | ICRSObjectFivePoint | SolarSystemObject] | None = None, scan_duration: float | List[float] | None = None) SBDefinition[source]

Creates an SBDefinition PDM object for SKA-Mid with a single scan and AA0.5-compatible Dish and CSP set-ups by default. The default configuration can be modified by passing in additional parameters.

Parameters:
  • dishes – A list of dish IDs to include in the receptor ID list for the SB.

  • targets – A list of targets for the observation. For each specified target, a scan referencing the target ID is added to the SB.

  • scan_duration – Either a single value to set for all scans or multiple values to specify different duration for each specified target. If multiple values are specified, the number of values should match the number of specified targets.