ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
cscripts.csmodelsois.csmodelsois Class Reference
Inheritance diagram for cscripts.csmodelsois.csmodelsois:

Public Member Functions

def __init__
 
def process
 
def save
 
def mapcube
 
def cubemodelname
 
def models
 

Private Member Functions

def _get_parameters
 
def _gen_cubemodel
 

Private Attributes

 _cubegen
 
 _models
 
 _cubemodels
 

Detailed Description

Puts subset of sources in diffuse model cube

The csmodelsois class puts a subset of sources in a model definition
XML file into a model cube and generates a new model definition XML file
in which the subset of sources is replaced by a model of type
DiffuseMapCube.

Definition at line 29 of file csmodelsois.py.

Constructor & Destructor Documentation

def cscripts.csmodelsois.csmodelsois.__init__ (   self,
  argv 
)
Constructor

Parameters
----------
argv : list of parameters

Raises
------
TypeError
    An invalid number of command line arguments was provided.

Definition at line 40 of file csmodelsois.py.

Member Function Documentation

def cscripts.csmodelsois.csmodelsois.cubemodelname (   self)
Return the name to be given to the cube model in the output XML file

Definition at line 227 of file csmodelsois.py.

Referenced by cscripts.csmodelsois.csmodelsois.save().

def cscripts.csmodelsois.csmodelsois.mapcube (   self)
Return the mapcube generated by the underlying 'ctmapcube' object

Definition at line 220 of file csmodelsois.py.

def cscripts.csmodelsois.csmodelsois.models (   self,
  models 
)

Member Data Documentation

cscripts.csmodelsois.csmodelsois._cubegen
private

Definition at line 57 of file csmodelsois.py.

Referenced by cscripts.csmodelsois.csmodelsois._get_parameters().

cscripts.csmodelsois.csmodelsois._cubemodels
private

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