NewLinop Class Reference

The base linear operator object should not be called by itself. More...

Inheritance diagram for NewLinop:

Structure LinearOperator fft_user

List of all members.

Public Member Functions

def __init__
 Initialize the class, checks the inSpace and otuSpace and sets them to voidSpace if needed.
def adj
 Overload the adj command because we now have mor variables to worry about.
def applyop
 applies the operator to other generates a new instance of the type of other

Static Public Attributes

string name = "newlinop"
 command = None
tuple params = ()
 inSpace = None
 outSpace = None
dictionary kparams = {}
 adj_command = None
 adj_params = None
 adj_kparams = None


Detailed Description

The base linear operator object should not be called by itself.

This is an abstract class the newlinop class must be subclassed into a concrete class

for example: the code:

class fft_user(newlinop): command = "fft1" params = ()

def __init__(self,space,opt='y',inv='n'): self.inSpace = space self.kparams = dict(opt=opt,inv=inv) newlinop.__init__(self)

Initialize/Define the User created Linear Operator F = fft_user(vec1.getSpace())

will create a new linear operator that will work on an rsf dataset. the variables may be specified in the __init__ function as well

the variables that must be specified are: command params inSpace outSpace

optional variables for the adjoint are: kparams adj_command adj_params adj_kparams

if the optional variables are not specified then they are assumed to be the same voidSpace.

Definition at line 70 of file NewLinOp.py.


Member Function Documentation

def __init__ (   self  ) 

Initialize the class, checks the inSpace and otuSpace and sets them to voidSpace if needed.

Definition at line 87 of file NewLinOp.py.

def adj (   self  ) 

Overload the adj command because we now have mor variables to worry about.

Definition at line 115 of file NewLinOp.py.

def applyop (   self,
  other 
)

applies the operator to other generates a new instance of the type of other

Reimplemented from LinearOperator.

Definition at line 145 of file NewLinOp.py.


Member Data Documentation

string name = "newlinop" [static]

Reimplemented from Structure.

Definition at line 71 of file NewLinOp.py.

command = None [static]

Reimplemented in fft_user.

Definition at line 72 of file NewLinOp.py.

tuple params = () [static]

Reimplemented from LinearOperator.

Reimplemented in fft_user.

Definition at line 73 of file NewLinOp.py.

inSpace = None [static]

Reimplemented from LinearOperator.

Reimplemented in fft_user.

Definition at line 75 of file NewLinOp.py.

outSpace = None [static]

Reimplemented from LinearOperator.

Reimplemented in fft_user.

Definition at line 76 of file NewLinOp.py.

dictionary kparams = {} [static]

Reimplemented from LinearOperator.

Reimplemented in fft_user.

Definition at line 77 of file NewLinOp.py.

adj_command = None [static]

Definition at line 78 of file NewLinOp.py.

adj_params = None [static]

Definition at line 80 of file NewLinOp.py.

adj_kparams = None [static]

Definition at line 81 of file NewLinOp.py.


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

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