ArrayEditor

Inheritance diagram of ArrayEditor
class ArrayEditor(parent=None)[source]

Bases: PyQt4.QtGui.QWidget

changeCPointSelection(newpos)[source]
connectToController(ctrl)[source]
delController(index)[source]
getCorrected()[source]

returns x,c where x and c are numpy arrays representing the abcissas and ordinates for the corrected curve, respectively

getCorrection()[source]

returns xp,cp where xp and cp are numpy arrays representing the abcissas and ordinates for the correction points, respectively

getMaster()[source]

returns x,m where x and m are numpy arrays representing the abcissas and ordinates for the master, respectively

insertController(xp, index=None)[source]
insertControllers(xplist)[source]
loadUi(filename=None, path=None)
makeControllerVisible(ctrl=None)[source]
onAddRegEspCPointsBT()[source]
onAddSingleCPointBT()[source]
onCorrSBChanged(value=None)[source]

recalculates the position and value of the control points (self.xp and self.corrp) as well as the correction curve (self.corr)

onLCopy(checked)[source]
onLScale(checked)[source]
onRCopy(checked)[source]
onRScale(checked)[source]
plot1MouseDoubleClickEvent(event)[source]
plot1MousePressEvent(event)[source]
plot1MouseReleaseEvent(event)[source]
plot2MouseDoubleClickEvent(event)[source]
plot2MousePressEvent(event)[source]
plot2MouseReleaseEvent(event)[source]
plotMouseDoubleClickEvent(event, taurusplot)[source]
plotMousePressEvent(event, taurusplot)[source]
plotMouseReleaseEvent(event, taurusplot)[source]
resetCorrection()[source]
resetMaster()[source]
setCorrection(xp=None, corrp=None)[source]

sets control points at the points specified by xp and with the values specified by corrp. Example:

setCorrection([1,2,8,9], [0,0,0,0])

would set 4 control points with initial value 0 at x=1, 2, 8 and 9s

setMaster(x, y, keepCP=False, keepCorr=False)[source]
showEditCPointsDialog()[source]
updatePlots()[source]