Observation

class Data_Reduction.GAVRT.Observation(parent=None, name=None)

Bases: Data_Reduction.Observation, Data_Reduction.GriddingMixin

Class for any group of data for a single purpose.

Attributes::

channels - (numpy array) list of active channels conv_cfg - converter configuration data - result of get_data_from_tlogs() end - provided by the subclasses logger - logging.Logger instance parent - a collection or group of observations rss_cfg - receiver configuration start - provided by the subclasses

Methods::

get_conv_config get_data_channels make_channels get_data_from_tlogs get_channel_attenuation

Methods Summary

get_channel_attenuation(time, channel)

get last configuration change for this channel

get_conv_config(time, converter)

get last configuration change for this converter

get_data_channels()

returns the receiver channels that were active between ‘start’ and ‘end’

get_data_from_tlogs()

Gets the data for the specified channel and polarization for this observation

make_channels(channels)

Methods Documentation

get_channel_attenuation(time, channel)

get last configuration change for this channel

get_conv_config(time, converter)

get last configuration change for this converter

get_data_channels()

returns the receiver channels that were active between ‘start’ and ‘end’

This requires attributes ‘start’ and ‘end’ to be defined which happens during ‘BoresightScan’ or ‘Map’ initialization

Example::

In [5]: map56.get_active_channels() Out[5]: [2, 4]

get_data_from_tlogs()

Gets the data for the specified channel and polarization for this observation

make_channels(channels)