Table of Contents

Class: PeakSearcher experiment/peaks.py

PeakSearcher class that will read/write the peak database if allowed

Base Classes   
NoDatabasePeakSearcher
Methods   
__call__
  __call__ 
__call__ (
        self,
        filename,
        force=0,
        )

Read the image in filename, and return a peak list.

This is the normal way to use this object. This version will look up the filename in the peak database to see if there is a match that we can use (compatible features). If there is a match, it will be used, and no actual peak search will be performed.

If a peak search is performed, the results are also stored in the peak database for later reference.

if force==1, the current peak database contents will be bypassed.

Exceptions   
IOError( "File does not exist" )

Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING