Package diffpy :: Package pdfgui :: Package control :: Module pdfguimacros
[hide private]
[frames] | no frames]

Module pdfguimacros

source code

Methods for macros used in pdfgui.



Functions [hide private]
 
makeRSeries(control, fit, maxfirst=None, maxlast=None, maxstep=None, minfirst=None, minlast=None, minstep=None)
Make an series of fits with an increasing r-range.
source code
 
makeTemperatureSeries(control, fit, paths, temperatures)
Make a temperature series.
source code
 
makeDopingSeries(control, fit, base, dopant, paths, doping)
Make a temperature series.
source code
Variables [hide private]
  __id__ = '$Id: pdfguimacros.py 2980 2009-04-02 00:14:33Z juhas $'
Function Details [hide private]

makeRSeries(control, fit, maxfirst=None, maxlast=None, maxstep=None, minfirst=None, minlast=None, minstep=None)

source code 
Make an series of fits with an increasing r-range.

The new fits are appended to the end of any current fits in the control.

control     --  The control object that will contain the fits
fit         --  The prototype fit
maxfirst    --  The first value of the maximum of the fit range
maxlast     --  The last value of the maximum of the fit range
maxstep     --  The step size of the maximum of the fit range
minfirst    --  The first value of the minimum of the fit range
minlast     --  The last value of the minimum of the fit range
minstep     --  The step size of the minimum of the fit range

returns a list of the new fit organization objects

makeTemperatureSeries(control, fit, paths, temperatures)

source code 
Make a temperature series.

control         --  pdguicontrol instance
fit             --  The template fit
paths           --  list of path names of new datasets
temperatures    --  list of temperatures corresponding to the datasets

returns a list of the new fit organization objects

makeDopingSeries(control, fit, base, dopant, paths, doping)

source code 
Make a temperature series.

control         --  pdguicontrol instance
fit             --  The template fit
base            --  Name of the base element
dopant          --  Name of the dopant element
paths           --  list of path names of new datasets
doping          --  list of doping values corresponding to the datasets

returns a list of the new fit organization objects