Class checkOrders will help visually determine a possible shift. More...
Public Member Functions | |
def | __init__ |
CheckOrders first looks for command line parameters. More... | |
def | checkRefPositions |
determine the position of the given shift | |
def | checkTheOrders |
Shows the graphical result. | |
def | doSomeGui |
Initiate the GUI. | |
def | yesItsAFile |
always set the variable self.inFile to a real file name More... | |
def | doRun |
This is the run when file is choosed. | |
def | evnmt_delete |
close the window | |
def | destroy |
go out | |
Public Attributes | |
inFile | |
args is the list of command line arguments More... | |
weHaveTheGUI | |
Do we have the GUI ? | |
shift | |
the shift value More... | |
results | |
A fresh resultdict. More... | |
fig | |
self.fig is a standalone matplotlib figure when no GUI was found More... | |
fenetre | |
We have the GTK engine, we may GUI. More... | |
boiteV | |
Let the user terminate correctly. More... | |
boiteH | |
Hor box for the labels. | |
frame | |
Frame to group the labels. | |
LabelShift | |
self.LabelShift informs the user | |
spinner | |
spinner is an integer selector | |
launchButton | |
set the launch button | |
chooser | |
File chooser. | |
frame2 | |
we want to apply filters to select files | |
Class checkOrders will help visually determine a possible shift.
That shift has to be known in next steps of reduction.
def hermes.pipeline.run.checkOrders.checkOrders.__init__ | ( | self | ) |
CheckOrders first looks for command line parameters.
When none, ptries to provide some GUI.
def hermes.pipeline.run.checkOrders.checkOrders.yesItsAFile | ( | self, | |
widget | |||
) |
always set the variable self.inFile to a real file name
happens at every line change in the file chooser.
hermes.pipeline.run.checkOrders.checkOrders.boiteV |
Let the user terminate correctly.
Give a normal aspect accepted by any computer Vertical Box for frame
hermes.pipeline.run.checkOrders.checkOrders.fenetre |
We have the GTK engine, we may GUI.
hermes.pipeline.run.checkOrders.checkOrders.fig |
self.fig is a standalone matplotlib figure when no GUI was found
self.fig is an image contained in the GUI when there is one.
hermes.pipeline.run.checkOrders.checkOrders.inFile |
args is the list of command line arguments
input file mentioned in parameter -i
ar is the number of command-line arguments we are receiving If we do NOT receive any, we show a GUI to get them. The filename
hermes.pipeline.run.checkOrders.checkOrders.results |
A fresh resultdict.
if no input file, do nothing
Create and fill the instrument model
hermes.pipeline.run.checkOrders.checkOrders.shift |
the shift value
input file mentioned in parameter -i was not found.
tell the user and stop. no parameter -i on command line, ask user to check his input. shift was given on command line