ReceptorFrame

class ska_sdp_datamodels.science_data_model.ReceptorFrame(name)

Bases: object

Polarisation frames for receptors

This includes circular, linear, and stokesI. The latter is non-physical but useful for some types of testing.

Attributes:

rec_frames: Dictionary containing all the supported polarisations

Attributes Summary

names

Names

nrec

Number of receptors (should be 2)

rec_frames

Methods Summary

from_dict(data_dict)

Returns the polarisationsfor the receptor

to_dict()

Returns the appropriate ReceptorFrame type as a dictionary

valid(name)

Is name a valid rec_frame key?

Attributes Documentation

names

Names

nrec

Number of receptors (should be 2)

rec_frames = {'circular': {'L': 1, 'R': 0}, 'circularnp': {'L': 1, 'R': 0}, 'linear': {'X': 0, 'Y': 1}, 'linearnp': {'X': 0, 'Y': 1}, 'stokesI': {'I': 0}}

Methods Documentation

classmethod from_dict(data_dict)

Returns the polarisationsfor the receptor

to_dict()

Returns the appropriate ReceptorFrame type as a dictionary

valid(name)

Is name a valid rec_frame key?