aces.obsplan.config

Module Contents

Classes

ACESConfig

Functions

get_footprint(→ askap.footprint.Footprint)

Obtain the footprint layout for a given observation

get_footprint_pa_zero(→ askap.footprint.Footprint)

Returns a footprint instance based on a footprint name, with

Attributes

logger

aces.obsplan.config.logger[source]
class aces.obsplan.config.ACESConfig(clear_footprint_cache=False)[source]

Bases: object

aces.obsplan.config.get_footprint(sb: int | aces.askapdata.schedblock.SchedulingBlock) askap.footprint.Footprint[source]

Obtain the footprint layout for a given observation

Args:

sb (Union[int,SchedulingBlock]): Information of the schedule block that corresponds to an observation. If int, an instance of SchedularBlock is created.

Returns:

Footprint: A layout of the footprint of an observation

aces.obsplan.config.get_footprint_pa_zero(name: str, pitch: float) askap.footprint.Footprint[source]

Returns a footprint instance based on a footprint name, with a user provided pitch angle. No care or facility is given to tie it to a particular schedule block / SBID.

Args:

name (str): Name of the footprint to use pitch (float): Rotation of the PAF (in degrees)

Returns:

Footprint: Instance of PAF footprint layout