GeneralBrokenLines V03-01-02
gblpy3
|
User supplied measurement at point on (initial) trajectory. More...
Public Member Functions | |
def | __init__ (self, aMeasurement, minPrecision=0.) |
Create new measurement. More... | |
def | hasMeasurement (self) |
Check point for a measurement. More... | |
def | getMeasurement (self) |
Retrieve measurement of a point. More... | |
def | getMeasDim (self) |
Retrieve dimension of measurement of a point. More... | |
def | getMeasMinPrec (self) |
Retrieve minimal precision to accept measurement. More... | |
def | addLocals (self, derivatives) |
Add local derivatives. More... | |
def | addGlobals (self, labels, derivatives) |
Add global derivatives. More... | |
def | getNumLocals (self) |
Get number of local derivatives. More... | |
def | getLocalDerivatives (self) |
Get local derivatives. More... | |
def | getGlobalLabels (self) |
Get global labels. More... | |
def | getGlobalDerivatives (self) |
Get global derivatives. More... | |
def | printMeasurement (self) |
Print Measurement. More... | |
Private Attributes | |
__measurement | |
measurement at point: projection (dm/du), residuals (to initial trajectory), precision; list(matrix(float)) More... | |
__measDim | |
dimension of measurement (2D, 4D or 5D); int More... | |
__measMinPrec | |
minimal precision to accept measurement < More... | |
__measTransformation | |
transformation (to eigen-vectors of precision matrix); matrix(float) More... | |
__localDerivatives | |
local derivatives; matrix(float) More... | |
__globalLabels | |
global labels; matrix(int) More... | |
__globalDerivatives | |
global derivatives; matrix(float) More... | |
User supplied measurement at point on (initial) trajectory.
Must have measurement. May have:
def gblpy3.gblfit.GblMeasurement.__init__ | ( | self, | |
aMeasurement, | |||
minPrecision = 0. |
|||
) |
Create new measurement.
Create measurement with arbitrary precision (inverse covariance) matrix. Will be diagonalized.
aMeasurement | measurement (projection (or None), residuals, precision (diagonal of or full matrix)); list(matrix(float)) |
minPrecision | Minimal precision to accept measurement |
def gblpy3.gblfit.GblMeasurement.addGlobals | ( | self, | |
labels, | |||
derivatives | |||
) |
Add global derivatives.
labels | global labels; matrix(int) |
derivatives | global derivatives; matrix(float) |
Definition at line 129 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__globalDerivatives, gblpy3.gblfit.GblData.__globalDerivatives, gblpy3.gblfit.GblMeasurement.__globalLabels, gblpy3.gblfit.GblData.__globalLabels, gblpy3.gblfit.GblMeasurement.__measDim, and gblpy3.gblfit.GblMeasurement.__measTransformation.
def gblpy3.gblfit.GblMeasurement.addLocals | ( | self, | |
derivatives | |||
) |
Add local derivatives.
derivatives | local derivatives; matrix(float) |
Definition at line 117 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__localDerivatives, gblpy3.gblfit.GblMeasurement.__measDim, and gblpy3.gblfit.GblMeasurement.__measTransformation.
def gblpy3.gblfit.GblMeasurement.getGlobalDerivatives | ( | self | ) |
Get global derivatives.
Definition at line 164 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__globalDerivatives, and gblpy3.gblfit.GblData.__globalDerivatives.
def gblpy3.gblfit.GblMeasurement.getGlobalLabels | ( | self | ) |
Get global labels.
Definition at line 157 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__globalLabels, and gblpy3.gblfit.GblData.__globalLabels.
def gblpy3.gblfit.GblMeasurement.getLocalDerivatives | ( | self | ) |
Get local derivatives.
Definition at line 151 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__localDerivatives.
def gblpy3.gblfit.GblMeasurement.getMeasDim | ( | self | ) |
Retrieve dimension of measurement of a point.
Definition at line 103 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__measDim.
def gblpy3.gblfit.GblMeasurement.getMeasMinPrec | ( | self | ) |
Retrieve minimal precision to accept measurement.
Definition at line 110 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__measMinPrec.
def gblpy3.gblfit.GblMeasurement.getMeasurement | ( | self | ) |
Retrieve measurement of a point.
Definition at line 96 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__measurement.
def gblpy3.gblfit.GblMeasurement.getNumLocals | ( | self | ) |
Get number of local derivatives.
Definition at line 141 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__localDerivatives.
def gblpy3.gblfit.GblMeasurement.hasMeasurement | ( | self | ) |
Check point for a measurement.
Definition at line 88 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__measurement.
def gblpy3.gblfit.GblMeasurement.printMeasurement | ( | self | ) |
Print Measurement.
Definition at line 168 of file gblfit.py.
References gblpy3.gblfit.GblMeasurement.__globalDerivatives, gblpy3.gblfit.GblData.__globalDerivatives, gblpy3.gblfit.GblMeasurement.__localDerivatives, and gblpy3.gblfit.GblMeasurement.__measDim.
|
private |
global derivatives; matrix(float)
Definition at line 69 of file gblfit.py.
Referenced by gblpy3.gblfit.GblData.addDerivatives(), gblpy3.gblfit.GblMeasurement.addGlobals(), gblpy3.gblfit.GblData.fromRecord(), gblpy3.gblfit.GblMeasurement.getGlobalDerivatives(), gblpy3.gblfit.GblData.printData(), gblpy3.gblfit.GblMeasurement.printMeasurement(), and gblpy3.gblfit.GblData.toRecord().
|
private |
global labels; matrix(int)
Definition at line 67 of file gblfit.py.
Referenced by gblpy3.gblfit.GblData.addDerivatives(), gblpy3.gblfit.GblMeasurement.addGlobals(), gblpy3.gblfit.GblData.fromRecord(), gblpy3.gblfit.GblMeasurement.getGlobalLabels(), gblpy3.gblfit.GblData.printData(), and gblpy3.gblfit.GblData.toRecord().
|
private |
local derivatives; matrix(float)
Definition at line 65 of file gblfit.py.
Referenced by gblpy3.gblfit.GblMeasurement.addLocals(), gblpy3.gblfit.GblMeasurement.getLocalDerivatives(), gblpy3.gblfit.GblMeasurement.getNumLocals(), and gblpy3.gblfit.GblMeasurement.printMeasurement().
|
private |
dimension of measurement (2D, 4D or 5D); int
Definition at line 59 of file gblfit.py.
Referenced by gblpy3.gblfit.GblMeasurement.addGlobals(), gblpy3.gblfit.GblMeasurement.addLocals(), gblpy3.gblfit.GblMeasurement.getMeasDim(), and gblpy3.gblfit.GblMeasurement.printMeasurement().
|
private |
minimal precision to accept measurement <
Definition at line 61 of file gblfit.py.
Referenced by gblpy3.gblfit.GblMeasurement.getMeasMinPrec().
|
private |
transformation (to eigen-vectors of precision matrix); matrix(float)
Definition at line 63 of file gblfit.py.
Referenced by gblpy3.gblfit.GblMeasurement.addGlobals(), and gblpy3.gblfit.GblMeasurement.addLocals().
|
private |
measurement at point: projection (dm/du), residuals (to initial trajectory), precision; list(matrix(float))
Definition at line 57 of file gblfit.py.
Referenced by gblpy3.gblfit.GblMeasurement.getMeasurement(), and gblpy3.gblfit.GblMeasurement.hasMeasurement().