Package opendx :: Module base_map :: Class Base_Map
[hide private]
[frames] | no frames]

Class Base_Map

source code


The space mapping base class.

Instance Methods [hide private]
 
__init__(self, params, spin_id, inc, lower, upper, axis_incs, file_prefix, dir, point, point_file, remap)
Map the space upon class instantiation.
source code
 
create_config(self)
Function for creating the OpenDX .cfg program configuration file.
source code
 
create_general(self)
Function for creating the OpenDX .general file.
source code
 
create_map(self)
Function for creating the map.
source code
 
create_point(self)
Function for creating a sphere at a given position within the 3D map.
source code
 
create_program(self)
Function for creating the OpenDX .net program file.
source code
 
get_date(self)
Function for creating a date string.
source code
 
get_param_names(self)
Function for retrieving the parameter names.
source code
 
map_axes(self)
Function for creating labels, tick locations, and tick values for an OpenDX map.
source code
Method Details [hide private]

create_point(self)

source code 

Function for creating a sphere at a given position within the 3D map.

The formula used to calculate the coordinate position is:

                   V - L
   coord =   Inc * -----
                   U - L

where:

  • V is the coordinate or parameter value.
  • L is the lower bound value.
  • U is the upper bound value.
  • Inc is the number of increments.

Both a data file and .general file will be created.