ImageD11.guipeaksearch | index /sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/guipeaksearch.py

`# ImageD11_v0.4 Software for beamline ID11
# Copyright (C) 2005 Jon Wright
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA`

Classes
`` |  | guipeaksearcher
class guipeaksearcher
`` | `Tkinter wrapper for ImageD11 guipeakmerge object Note that peaksearching is done via the command line All communication should be via parent guicommander object`
| Methods defined here: __init__(self, parent, quiet='No') `Parent is a hook to features of the parent gui sets up peakmerging menu items + message for searching` filter(self) `calls peakmerger.filter (does very little) plots x and y final peak positions TODO implement filters!!!` harvestpeaks(self) `gets range from 2d plot (image numbers and omegas) calls peakmerger.harvestpeaks(image_number_range,omega_range)` mergepeaks(self) `calls peakmerger.mergepeaks and reports number of peaks to user` readpeaks(self, filename=None) `Runs peakmerger.readpeaks gets names for first and last image for plot title gets omega angles and image numbers for plot plots image number versus omega angle to see if you did a scan` savepeaks(self, filename=None) `see peakmerger.savepeaks` searchraw(self) `Explains to user about the command line script`