MapFunctions Class Reference

methods for helping the mapping of generic SLIMpy commands to a specific plug-in command More...

Inheritance diagram for MapFunctions:

Converter sfConverter mig_converter fftX_Converter noiseX_Converter smoothgradientX_Converter fftX_Converter imospray_Converter imospray_Converter cmpfixture all.add.weightoper.sub.div.neg.pow.real all.add.weightoper.sub.div.neg.pow.real.create all.add.weightoper.sub.div.neg.pow.real.create_noise all.add.weightoper.sub.div.neg.pow.real.create_noise.fdct2vects all.add.weightoper.sub.div.neg.pow.real.create_noise.thr all.add.weightoper.sub.div.neg.pow.real.create_noise.thr.cmplx all.add.weightoper.sub.div.neg.pow.real.create_noise.thr.cmplx.cat all.add.weightoper.sub.div.neg.pow.real.create_noise.thr.cmplx.cat.spike all.add.weightoper.sub.div.neg.pow.real.create_noise.thr.cmplx.reshape all.add.weightoper.sub.div.neg.pow.real.create_noise.thr.noise sfmathFixture create_meta_header_converter ghost_taper_converter scatter_mpi_converter

List of all members.

Public Member Functions

def pack
 pack a source, command and target into a CommandPack instance
def keep
 keeps only the keywords in cmnd
def discard
 discards all of keywords found in cmnd
def keywordmap
 maps keys in the kparams dictionary to the the value of the key in the mapDict note that if the key 'a' maps to 'b' and 'b' is already defined then the behavior becomes unpredictable
def split
 split the command into 2 identical copies
def truefalseHelper
 convert python boolean True/False values to 'y'/'n' strings


Detailed Description

methods for helping the mapping of generic SLIMpy commands to a specific plug-in command

Definition at line 146 of file Converter.py.


Member Function Documentation

def pack (   cls,
  command,
  stdin = True,
  stdout = True 
)

pack a source, command and target into a CommandPack instance

Returns:
: CommandPack instance

Definition at line 155 of file Converter.py.

def keep (   cls,
  command,
  keywords 
)

keeps only the keywords in cmnd

Definition at line 182 of file Converter.py.

def discard (   cls,
  command,
  keywords 
)

discards all of keywords found in cmnd

Definition at line 193 of file Converter.py.

def keywordmap (   cls,
  command,
  Dict 
)

maps keys in the kparams dictionary to the the value of the key in the mapDict note that if the key 'a' maps to 'b' and 'b' is already defined then the behavior becomes unpredictable

Definition at line 208 of file Converter.py.

def split (   cls,
  command 
)

split the command into 2 identical copies

Definition at line 224 of file Converter.py.

def truefalseHelper (   cls,
  command,
  true = 'y',
  false = 'n' 
)

convert python boolean True/False values to 'y'/'n' strings

Definition at line 235 of file Converter.py.


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

Generated on Sun Aug 10 09:11:10 2008 for SLIMpy by  doxygen 1.5.6