TwiceAsNice
2019-02-18
|
Public Member Functions | |
def | __init__ (self) |
def | initVar (self) |
def | initNice (self) |
def | initUI (self) |
def | yelXmm (self) |
def | setXmm (self) |
def | yelYmm (self) |
def | setYmm (self) |
def | yelZmm (self) |
def | setZmm (self) |
def | yelXst (self) |
def | setXst (self) |
def | yelYst (self) |
def | setYst (self) |
def | yelZst (self) |
def | setZst (self) |
def | goX (self) |
Go X. More... | |
def | goY (self) |
Go Y. More... | |
def | goZ (self) |
Go Z. More... | |
def | goAll (self) |
def | stopAll (self) |
def | GoXhome (self) |
def | GoXlim1 (self) |
def | GoXlim2 (self) |
def | FFxLeft (self) |
def | FxLeft (self) |
def | Xleft (self) |
def | Xright (self) |
def | FxRight (self) |
def | FFxRight (self) |
def | trackXslider (self) |
def | readXslider (self) |
def | GoYhome (self) |
def | GoYlim1 (self) |
def | GoYlim2 (self) |
def | FFyUp (self) |
def | FyUp (self) |
def | Yup (self) |
def | Ydown (self) |
def | FyDown (self) |
def | FFyDown (self) |
def | trackYslider (self) |
def | readYslider (self) |
def | GoZhome (self) |
def | GoZlim1 (self) |
def | GoZlim2 (self) |
def | FfocIn (self) |
def | FocIn (self) |
def | FocOut (self) |
def | FfocOut (self) |
def | trackZslider (self) |
def | readZslider (self) |
def | setSliderValues (self) |
def | setAZ1 (self) |
def | yelAZ1 (self) |
def | setAZ2 (self) |
def | yelAZ2 (self) |
def | zTrackSwitch (self) |
def | loadSolution (self) |
def | goZtrack (self) |
def | togCart (self) |
def | useP1 (self) |
def | entX0 (self) |
def | entY0 (self) |
def | entZ0 (self) |
def | updateZeroPt (self) |
def | storePreset1 (self) |
Store Preset. More... | |
def | storePreset2 (self) |
def | storePreset3 (self) |
def | storePreset4 (self) |
def | storePreset5 (self) |
def | storePreset6 (self) |
def | goPreset1 (self) |
Go Preset. More... | |
def | goPreset2 (self) |
def | goPreset3 (self) |
def | goPreset4 (self) |
def | goPreset5 (self) |
def | goPreset6 (self) |
def | clearPreset1 (self) |
Clear Preset. More... | |
def | clearPreset2 (self) |
def | clearPreset3 (self) |
def | clearPreset4 (self) |
def | clearPreset5 (self) |
def | clearPreset6 (self) |
def | loadPresets (self) |
def | savePresets (self) |
def | togPSunits (self) |
def | startup (self) |
def | shutdown (self) |
def | enableButtons (self) |
def | getCurMotor (self) |
def | doActMm (self) |
def | updateSetStepMm (self) |
def | calcSetSteps (self, which, yell) |
def | calcSetMM (self, which, yell) |
def | goAbsSteps (self, which) |
def | testPrint (self) |
Public Attributes | |
started | |
safeStartup | |
safeShutdown | |
zTrack | |
gotSol | |
cartesian | |
setSteps | |
actSteps | |
minSt | |
maxSt | |
setMM | |
actMM | |
zSolution | |
setZ1 | |
setZ2 | |
Z1set | |
Z2set | |
zZero | |
fRad | |
Conversion mm <==> Kilosteps via mm = mpks * Steps + mm0 The X-Y stages are 5 micron per full step, or 0.2 kiloSteps per mm The Z stage is 10 microns per full step, or 0.1 kiloSteps per mm NOTE - Used only in this subroutine...don't need to be "self". More... | |
mpks | |
mm0 | |
minMM | |
maxMM | |
setSlider | |
slowSteps | |
fastSteps | |
FfastSteps | |
preset | |
Preset positions ==> NOTE Stored as KILOSTEPS!!! Need 6 sets of XYZ...When undefined, use NaN. More... | |
NaNvec | |
motorX | |
motorY | |
motorZ | |
ui | |
xyPlot | |
Set up matplotlib canvases. More... | |
xzPlot | |
This is the main application window. The user interface elements are gathered into the variable ui, which is in turn loaded from the MLG.ui file generated by QT Designer.
def MLG.AppWin.__init__ | ( | self | ) |
def MLG.AppWin.calcSetMM | ( | self, | |
which, | |||
yell | |||
) |
def MLG.AppWin.calcSetSteps | ( | self, | |
which, | |||
yell | |||
) |
def MLG.AppWin.clearPreset1 | ( | self | ) |
Clear Preset.
def MLG.AppWin.clearPreset2 | ( | self | ) |
def MLG.AppWin.clearPreset3 | ( | self | ) |
def MLG.AppWin.clearPreset4 | ( | self | ) |
def MLG.AppWin.clearPreset5 | ( | self | ) |
def MLG.AppWin.clearPreset6 | ( | self | ) |
def MLG.AppWin.doActMm | ( | self | ) |
def MLG.AppWin.enableButtons | ( | self | ) |
This routine switches on the various buttons and widgets to run the program. They start off disabled in order to force the user to execute the Startup routine
def MLG.AppWin.entX0 | ( | self | ) |
def MLG.AppWin.entY0 | ( | self | ) |
def MLG.AppWin.entZ0 | ( | self | ) |
def MLG.AppWin.FfocIn | ( | self | ) |
def MLG.AppWin.FfocOut | ( | self | ) |
def MLG.AppWin.FFxLeft | ( | self | ) |
def MLG.AppWin.FFxRight | ( | self | ) |
def MLG.AppWin.FFyDown | ( | self | ) |
def MLG.AppWin.FFyUp | ( | self | ) |
def MLG.AppWin.FocIn | ( | self | ) |
def MLG.AppWin.FocOut | ( | self | ) |
def MLG.AppWin.FxLeft | ( | self | ) |
def MLG.AppWin.FxRight | ( | self | ) |
def MLG.AppWin.FyDown | ( | self | ) |
def MLG.AppWin.FyUp | ( | self | ) |
def MLG.AppWin.getCurMotor | ( | self | ) |
def MLG.AppWin.goAbsSteps | ( | self, | |
which | |||
) |
def MLG.AppWin.goAll | ( | self | ) |
def MLG.AppWin.goPreset1 | ( | self | ) |
Go Preset.
def MLG.AppWin.goPreset2 | ( | self | ) |
def MLG.AppWin.goPreset3 | ( | self | ) |
def MLG.AppWin.goPreset4 | ( | self | ) |
def MLG.AppWin.goPreset5 | ( | self | ) |
def MLG.AppWin.goPreset6 | ( | self | ) |
def MLG.AppWin.goX | ( | self | ) |
Go X.
def MLG.AppWin.GoXhome | ( | self | ) |
def MLG.AppWin.GoXlim1 | ( | self | ) |
def MLG.AppWin.GoXlim2 | ( | self | ) |
def MLG.AppWin.goY | ( | self | ) |
Go Y.
def MLG.AppWin.GoYhome | ( | self | ) |
def MLG.AppWin.GoYlim1 | ( | self | ) |
def MLG.AppWin.GoYlim2 | ( | self | ) |
def MLG.AppWin.goZ | ( | self | ) |
Go Z.
def MLG.AppWin.GoZhome | ( | self | ) |
def MLG.AppWin.GoZlim1 | ( | self | ) |
def MLG.AppWin.GoZlim2 | ( | self | ) |
def MLG.AppWin.goZtrack | ( | self | ) |
def MLG.AppWin.initNice | ( | self | ) |
def MLG.AppWin.initUI | ( | self | ) |
def MLG.AppWin.initVar | ( | self | ) |
Initializes important variables (i.e. current stage positions, limits)
def MLG.AppWin.loadPresets | ( | self | ) |
def MLG.AppWin.loadSolution | ( | self | ) |
def MLG.AppWin.readXslider | ( | self | ) |
def MLG.AppWin.readYslider | ( | self | ) |
def MLG.AppWin.readZslider | ( | self | ) |
def MLG.AppWin.savePresets | ( | self | ) |
Save presets. Note: we check the Go button to see if the Preset is valid!
def MLG.AppWin.setAZ1 | ( | self | ) |
def MLG.AppWin.setAZ2 | ( | self | ) |
def MLG.AppWin.setSliderValues | ( | self | ) |
Sets X,Y,Z mm values (doesn't move yet)
def MLG.AppWin.setXmm | ( | self | ) |
Sets X mm value (doesn't move yet)
def MLG.AppWin.setXst | ( | self | ) |
Sets X motor step value (doesn't move yet)
def MLG.AppWin.setYmm | ( | self | ) |
Sets Y mm value (doesn't move yet)
def MLG.AppWin.setYst | ( | self | ) |
Sets Y step value (doesn't move yet)
def MLG.AppWin.setZmm | ( | self | ) |
Sets Z mm value (doesn't move yet)
def MLG.AppWin.setZst | ( | self | ) |
Sets Z step value (doesn't move yet)
def MLG.AppWin.shutdown | ( | self | ) |
def MLG.AppWin.startup | ( | self | ) |
def MLG.AppWin.stopAll | ( | self | ) |
def MLG.AppWin.storePreset1 | ( | self | ) |
Store Preset.
def MLG.AppWin.storePreset2 | ( | self | ) |
def MLG.AppWin.storePreset3 | ( | self | ) |
def MLG.AppWin.storePreset4 | ( | self | ) |
def MLG.AppWin.storePreset5 | ( | self | ) |
def MLG.AppWin.storePreset6 | ( | self | ) |
def MLG.AppWin.testPrint | ( | self | ) |
def MLG.AppWin.togCart | ( | self | ) |
def MLG.AppWin.togPSunits | ( | self | ) |
def MLG.AppWin.trackXslider | ( | self | ) |
def MLG.AppWin.trackYslider | ( | self | ) |
def MLG.AppWin.trackZslider | ( | self | ) |
def MLG.AppWin.updateSetStepMm | ( | self | ) |
Useful after pressing Go on a preset
def MLG.AppWin.updateZeroPt | ( | self | ) |
def MLG.AppWin.useP1 | ( | self | ) |
def MLG.AppWin.Xleft | ( | self | ) |
def MLG.AppWin.Xright | ( | self | ) |
def MLG.AppWin.Ydown | ( | self | ) |
def MLG.AppWin.yelAZ1 | ( | self | ) |
def MLG.AppWin.yelAZ2 | ( | self | ) |
def MLG.AppWin.yelXmm | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.yelXst | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.yelYmm | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.yelYst | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.yelZmm | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.yelZst | ( | self | ) |
Sets editor to pink until CR
def MLG.AppWin.Yup | ( | self | ) |
def MLG.AppWin.zTrackSwitch | ( | self | ) |
MLG.AppWin.actMM |
MLG.AppWin.actSteps |
MLG.AppWin.cartesian |
MLG.AppWin.fastSteps |
MLG.AppWin.FfastSteps |
MLG.AppWin.fRad |
Conversion mm <==> Kilosteps via mm = mpks * Steps + mm0 The X-Y stages are 5 micron per full step, or 0.2 kiloSteps per mm The Z stage is 10 microns per full step, or 0.1 kiloSteps per mm NOTE - Used only in this subroutine...don't need to be "self".
Focal Plane Curvature
MLG.AppWin.gotSol |
MLG.AppWin.maxMM |
MLG.AppWin.maxSt |
MLG.AppWin.minMM |
MLG.AppWin.minSt |
MLG.AppWin.mm0 |
MLG.AppWin.motorX |
MLG.AppWin.motorY |
MLG.AppWin.motorZ |
MLG.AppWin.mpks |
MLG.AppWin.NaNvec |
MLG.AppWin.preset |
Preset positions ==> NOTE Stored as KILOSTEPS!!! Need 6 sets of XYZ...When undefined, use NaN.
MLG.AppWin.safeShutdown |
MLG.AppWin.safeStartup |
MLG.AppWin.setMM |
MLG.AppWin.setSlider |
MLG.AppWin.setSteps |
MLG.AppWin.setZ1 |
MLG.AppWin.setZ2 |
MLG.AppWin.slowSteps |
MLG.AppWin.started |
MLG.AppWin.ui |
MLG.AppWin.xyPlot |
Set up matplotlib canvases.
MLG.AppWin.xzPlot |
MLG.AppWin.Z1set |
MLG.AppWin.Z2set |
MLG.AppWin.zSolution |
MLG.AppWin.zTrack |
MLG.AppWin.zZero |