Map¶
-
class
Data_Reduction.GAVRT.
Map
(parent, raster_cfg_id, name=None)¶ Bases:
Data_Reduction.GAVRT.Observation
Class for all the data and methods associated with a raster scan map
Public attributes:
cfg - raster configuration cfg_id - entry in the raster configuration tableshape channels - list of channels which took tlog data map_data - dict of data from tlog table; 'tsrc' is dict keyed on channel logger - logging.Logger object name - map identifier raster_data - data from the raster table regrid - computes map data onto a rectangular grid rss_cfg - receiver configuration session - observing session to which this map belongs start - UNIX time at start of map end - UNIX time at end of map
Public methods:
get_map_config - returns a dict with the raster map configuration get_raster_data - gets the data for a raster scan map used for Zplot get_raster_keys - returns rasters associated with a given configuration
Methods Summary
returns a dict with the raster map configuration
gets the data for a raster scan map extracted for Zplot
Returns the rasters associated with a given configuration
Methods Documentation
-
get_map_config
()¶ returns a dict with the raster map configuration
This is the map generated for display during the observing session. The observer selects a channel. Other channel data are recorded in the t-logs for the channels enabled.
Example:
In [9]: map56.get_map_config() Out[9]: {'chan': 4.0, 'doy': 233.0, 'epoch': 1503329279.0, 'freq': 8000.0, 'raster_cfg_id': 56.0, 'rate': 0.035000000000000003, 'rss_cfg_id': 109708.0, 'source_id': 66.0, 'step': 0.035000000000000003, 'utc': datetime.timedelta(0, 55679), 'year': 2017.0}
-
get_raster_data
()¶ gets the data for a raster scan map extracted for Zplot
-
get_raster_keys
()¶ Returns the rasters associated with a given configuration
-