aces.beamset.beammeasure

Defines the BeamMeasure subclass of BeamSet Defines the BeamModel subclass of BeamSet (or BeamMeasure?) Copyright (C) CSIRO 2017

Module Contents

Classes

BeamMeasure

This is the base class for subclasses that hold sets of beams in various

BeamModel

This is the base class for subclasses that hold sets of beams in various

class aces.beamset.beammeasure.BeamMeasure(metadata=None, data=None, flags=None)[source]

Bases: aces.beamset.beamset.BeamSet

This is the base class for subclasses that hold sets of beams in various formats - measurements and models.

Classes of BeamSet share the basic structure for holding data and flags that are organised by antenna, beam, polarization, frequency channel, and time. The container for data and flags has these five dimensions. Subclasses may add extra dimensions, depending on the shape of their data “payloads”. For example, a Map subclass would have a payload with shape (Nx,Ny) for an Nx by Ny grid.

The data and flag structures are numpy.ndarray objects (and their h5py equivalents), defined so that: containerShape = (Nt, Na, Nb, Np, Nf) where

  • t: time

  • a: antenna

  • b: beam

  • p: polarization

  • f: frequency.

Iteration. The class provides facilties for iterating over subspaces of the 5-dimensional data volume. See comments for methods get_selector and get_selector_subshape.

class aces.beamset.beammeasure.BeamModel(metadata=None, data=None, flags=None)[source]

Bases: aces.beamset.beamset.BeamSet

This is the base class for subclasses that hold sets of beams in various formats - measurements and models.

Classes of BeamSet share the basic structure for holding data and flags that are organised by antenna, beam, polarization, frequency channel, and time. The container for data and flags has these five dimensions. Subclasses may add extra dimensions, depending on the shape of their data “payloads”. For example, a Map subclass would have a payload with shape (Nx,Ny) for an Nx by Ny grid.

The data and flag structures are numpy.ndarray objects (and their h5py equivalents), defined so that: containerShape = (Nt, Na, Nb, Np, Nf) where

  • t: time

  • a: antenna

  • b: beam

  • p: polarization

  • f: frequency.

Iteration. The class provides facilties for iterating over subspaces of the 5-dimensional data volume. See comments for methods get_selector and get_selector_subshape.