RAVE
Lib.acqva_cluttermap_generator.acqva_cluttermap_generator Class Reference
Inheritance diagram for Lib.acqva_cluttermap_generator.acqva_cluttermap_generator:

Public Member Functions

 __init__ (self, configfile=None)
 
 parse_config (self, configfile)
 
 parse_float_tuple (self, values)
 
 parse_int_tuple (self, values)
 
 jsonmap_to_volumecfg (self, config)
 
 jsonmap_to_coordinatecfg (self, config)
 
 copy_volume (self, volume, source)
 
 create (self, volume, nod=None)
 

Public Attributes

float _coordinatecfg = c.lon * math.pi / 180.0
 

Protected Attributes

 _configfile = configfile
 
 _volumeconfig = self._volumeconfig[nod]
 
 _coordinatecfg = self.parse_config(self._configfile)
 

Detailed Description

Support for creating static cluttermaps from a json configuration file. The format of the json file should be according to acqva_static.json.

Member Function Documentation

◆ jsonmap_to_coordinatecfg()

Lib.acqva_cluttermap_generator.acqva_cluttermap_generator.jsonmap_to_coordinatecfg ( self,
config )
 Translates a json map according to format definition into a structure of objects..
:config: a json structure according to spec
:return: the coordinate cfg
:throws: Exception if there are problems with configuration

◆ jsonmap_to_volumecfg()

Lib.acqva_cluttermap_generator.acqva_cluttermap_generator.jsonmap_to_volumecfg ( self,
config )
 Translates a json map according to format definition into a structure of objects..
:config: a json structure according to spec
:return: the object mapping
:throws: Exception if there are problems with configuration

◆ parse_config()

Lib.acqva_cluttermap_generator.acqva_cluttermap_generator.parse_config ( self,
configfile )
 Loads and validates the acqva static cluttermap definition. 
:param configfile: The file to load
:return: the config on success
:throws: Exception if configuration not according to allowed format.

The documentation for this class was generated from the following file: