Package SLIMutils.RSFpipeOpers


Functions

def GenThreshLandweber
 Generalized Thresholded Landweber method using RSF commands.

Variables

string __copyright__
string __license__


Function Documentation

def SLIMutils.RSFpipeOpers.GenThreshLandweber (   ForwardOper,
  AdjointOper,
  lambdaMax,
  lambdaMin,
  lambdaN,
  InnerN,
  DataIn,
  DataOut,
  TMPDIR = None,
  VERBOSE = False 
)

Generalized Thresholded Landweber method using RSF commands.

Requires: RSFROOT environment has to be specified, such that $RSFROOT/bin is the path to RSF commands. SLIM python modules: Steppers and MultiPipe Parameters: ForwardOper: list of strings containing complete definition of forward operator AdjointOper: list of strings containing complete definition of adjoint operator (For both above, each string has to be a complete RSF command working on the stdin and stdout.) lambdaMax: maximum lambda lambdaMin: minimum lambda lambdaN: number of steps in iteration from lambdaMax to lambdaMin InnerN: number of iterations for any lambda DataIn: RSF file with input data DataOut: RSF file for output data Keyword parameters (optional): TMPDIR: temporary directory (system default if not specified) VERBOSE: verbose if set to True Returns: 0 if successful, positive number otherwise Notes: The function generates a number of temporary files that will have to be cleaned manually if it is forced to stop before it finishes. Bugs: None so far, but keep trying. It is not fool-proof. So, you have to know what you are doing; i.e., how to use RSF.

Definition at line 59 of file RSFpipeOpers.py.


Variable Documentation

string __copyright__

Initial value:

"""
Copyright 2008 Henryk Modzelewski
"""

Definition at line 1 of file RSFpipeOpers.py.

string __license__

Initial value:

"""
This file is part of SLIMpy .

SLIMpy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SLIMpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with SLIMpy . If not, see <http://www.gnu.org/licenses/>.
"""

Definition at line 4 of file RSFpipeOpers.py.


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