This page has been generated from the source code of SLIMpy.


SLIMpy is a Python interface that exposes the functionality of seismic data processing packages, such as MADAGASCAR, through operator overloading. SLIMpy provides a concrete coordinate-free implementation of classes for out-of-core linear (implicit matrix-vector), and element-wise operations, including calculation of norms and other basic vector operations. The library is intended to provide the user with an abstract scripting language to program iterative algorithms from numerical linear algebra. These algorithms require repeated evaluation of operators that were initially designed to be run as part of batch-oriented processing flows. The current implementation supports a plugin for Madagascar's out-of-core UNIX pipe-based applications and is extenable to pipe-based collections of programs such as Seismic Un*x, SEPLib, and FreeUSP. To optimize performance, SLIMpy uses an Abstract Syntax Tree that parses the algorithm and optimizes the pipes.



Download and Install

To install SLIMpy check it out of the SLIMpy repository by using the commands:
     [shell]$ git clone ./core 
     [shell]$ git clone ./contrib

Once the files are on your machine from both the core and contrib directories run:

     [shell]$ python install [--prefix=/path/to/mypython]

If you use the --prefix option the path you set must be on your PYTHONPATH.

Quick Start Guide


If you are just browsing the SLIMpy documentation the best place to start is from the groups:


SLIMPy is an academic research code which we share with the community through this alpha release. By releasing SLIMpy as open source, we hope to create an active community to help us further develop this software.

Through this release, we hope that SLIMpy can grow into a widely-used library, supplementing the functionality of currently available processing-flow oriented (seismic) software packages. Please, use SLIMpy-user ( mailing list to report concerns and exchange the ideas. Those of you, who wish to contribute to development, please, subscribe to SLIMpy-devel (


The main features of SLIMpy include:


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

For the full licence, please see the COPYING and COPYING.LESSER files.

Sean Ross-Ross
May 22, 2008

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