| Home | Trees | Indices | Help |
|
|---|
|
|
PDFGuiControl holds all the data GUI needs to access or change It has a container of Calculation and Fitting instances. Each Calculation and Fitting has a unique name.
|
|||
| QueueManager | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
initialize gui: main panel of GUI |
enqueue or dequeue fittings fits -- list of fittings to be queued/dequeued enter -- True to queue, False to dequeue |
close a project force -- if exit forciably |
exit when program finished
|
insert a new instance of Fitting name -- unique name for this Fitting position -- where Fitting is inserted, default is last place return: Fitting reference |
insert a new instance of Calculation to a Fitting targetID -- reference to Fitting name -- unique name for this Calculation position -- where Calculation is inserted, default is last place return: Calculation reference |
add blank structure to a Fitting targetID -- reference to Fitting name -- name of the new Structure position -- where the structure is to be inserted, default is last return: Structure reference |
add blank structure to a Fitting targetID -- reference to Fitting name -- name of the new Structure, default is file basename return: Structure reference |
load Dataset from a file to a Fitting targetID -- reference to Fitting name -- name of the new Dataset, default is file basename position -- where the dataset is to be inserted, default is last return: Dataset reference |
add fitting/calculation to internal list Id -- reference to the object to be inserted position -- where the object is to be inserted, default is last |
find where the ID belongs ID -- object which can be Fitting,Calculation,FitDataSet or FitStructure return: a PDFList holding that object |
rename Fitting, Calculation, Dataset or Structure identified by ID ID: reference to the object to be renamed new_name: new name to be given to the object |
remove Fitting, Calculation, Dataset or Structure identified by ID ID: reference to the object to be removed return: removed object |
return position index of an object in its owner list ID -- ID of object return: index |
copy src object src -- reference to the source object return: reference to the copy |
paste copied object to target under new_name, the default new_name will be name of src dup -- reference to the copied object target -- target object where the copy should be inserted new_name -- new name to be given to the copy position -- where in the target object should the copy be inserted return: reference to the pasted object |
add fits and calculations from pdffit2 script scriptfile -- path to old pdffit2 script args -- optional arguments passed to scriptfile returns list of imported fits |
load project from projfile. projfile -- a zip file of everything |
Save project to projfile, default projfile is self.projfile This method first writes to a temporary file and only when successful, it overwrites projfile with the temporary file content. These steps prevent corruption of existing projects should something go wrong in the middle of save. As an added benefit, all permissions and ownership flags in an existing projfile are preserved. |
Make a 2D plot xItem -- x data item name yItems -- list of y data item names Ids -- Objects where y data items are taken from shift -- y displacement for each curve dry -- not a real plot, only check if plot is valid |
stop all Fittings
|
set the host machine to be used for fitting
hostCfg -- configuration dictionary of remote host. If it is blank or None,
self.host will be set to None.
|
get current host to be used. It can be None if we choose localhost return value: proxy instance |
Redirect standard out. This redirect engine output to cStringIO if not done yet. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:11:01 2009 | http://epydoc.sourceforge.net |