Package slimpy_base.api.linearops.ScatterOperator


Classes

class  Scatter
 Break apart a vector into numblocks. More...
class  EdgeUpdate

Functions

def scatter_gen
 genorator scatter_gen(inspace, numblocks, overlap) yeilds pairs of gather,scatter padding keywork arguments.
def Scatterf
 Scatterf(inspace, numblocks,overlap) -> ol_list, padlst.
def apply_along_axis
 Execute func1d(arr[i],*args) where func1d takes 1-D arrays and arr is an N-d array.
def edge_swap

Variables

string __copyright__
 defin an window/ cat operator
string __license__


Function Documentation

def slimpy_base.api.linearops.ScatterOperator.apply_along_axis (   func1d,
  axis,
  arr,
  args 
)

Execute func1d(arr[i],*args) where func1d takes 1-D arrays and arr is an N-d array.

i varies so as to apply the function along the given axis for each 1-d subarray in arr.

Definition at line 257 of file ScatterOperator.py.

def slimpy_base.api.linearops.ScatterOperator.edge_swap (   arry,
  dim 
)

Definition at line 321 of file ScatterOperator.py.

def slimpy_base.api.linearops.ScatterOperator.scatter_gen (   inspace,
  numblocks,
  overlap 
)

genorator scatter_gen(inspace, numblocks, overlap) yeilds pairs of gather,scatter padding keywork arguments.

where gather_kw is

Definition at line 47 of file ScatterOperator.py.

def slimpy_base.api.linearops.ScatterOperator.Scatterf (   inspace,
  numblocks,
  overlap 
)

Scatterf(inspace, numblocks,overlap) -> ol_list, padlst.

Parameters:
numblocks,: number of blocks in each dimention, may be a list no longer than space.shape numblocks: list
overlap,: the total overlap for each adjasent block. overlap: list
Returns:
: ol_list: a list of key word arguments that may be used in a gather operator to window the overlap for each block. padlst: a list of window operators that may operate on the data.

Definition at line 132 of file ScatterOperator.py.


Variable Documentation

string __copyright__

Initial value:

"""
Copyright 2008 Sean Ross-Ross
"""
defin an window/ cat operator

Definition at line 6 of file ScatterOperator.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 9 of file ScatterOperator.py.


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