Class ResponseMatrixBumpModel
java.lang.Object
org.scictrl.mp.orbitcorrect.correction.models.AbstractOCModel
org.scictrl.mp.orbitcorrect.correction.models.AbstractSVDBasedModel
org.scictrl.mp.orbitcorrect.correction.models.ResponseMatrixBumpModel
- All Implemented Interfaces:
IOrbitCorrectionModel
,ISVDOrbitCorrectionModel
,IConfigurable
,IOrientationMarker
ResponseMatrixBumpModel class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.mp.orbitcorrect.correction.models.AbstractSVDBasedModel
correctorRMS, eigenvalues, eigenvectorsUsed, maxCorrection, minimalEigenvalue, minimalReductionEigenvalue, reductedBPMChange, reductedCorrectorChange, reductionEigenvalues, reductionEigenvectorsUsed, reductionEnabled, reductionScale, theoreticalBeamRMS
Fields inherited from class org.scictrl.mp.orbitcorrect.correction.models.AbstractOCModel
debug, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateCorrection.int
Getter for the fieldbumpedCount
.Getter for the fieldbumpedElement
.double
Getter for the fieldbumpHeight
.Getter for the fieldexternalResponseMatrix
.boolean
isUseExternalResponseMatrix.protected Correction
makeCorrection
(ElementList<AbstractCorrector> correctors, Orbit orbit, ResponseMatrix responseMatrix, DataBush db, OrbitCorrectionOperator op) makeCorrection.void
setBumpedCount
(int newBumpedCount) Setter for the fieldbumpedCount
.void
setBumpedElement
(BPMonitor newBumpedElement) Setter for the fieldbumpedElement
.void
setBumpHeight
(double newBumpHeight) Setter for the fieldbumpHeight
.void
setExternalResponseMatrix
(ResponseMatrix newExternalResponseMatrix) Setter for the fieldexternalResponseMatrix
.void
setUseExternalResponseMatrix
(boolean newUseExternalResponseMatrix) Setter for the fielduseExternalResponseMatrix
.Methods inherited from class org.scictrl.mp.orbitcorrect.correction.models.AbstractSVDBasedModel
addReduction, configure, getEigenvalues, getEigenvectorsUsed, getMinimalEigenvalue, getMinimalReductionEigenvalue, isReductionEnabled, makeSVDInversion, setMinimalEigenvalue, setMinimalReductionEigenvalue, setReductionEnabled, setReductionScale
Methods inherited from class org.scictrl.mp.orbitcorrect.correction.models.AbstractOCModel
getName, getOrientation, initialize, isHorizontal, isVertical, read, readOther, testCorrectors, testMonitors
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.scictrl.mp.orbitcorrect.correction.IOrbitCorrectionModel
getName, initialize
Methods inherited from interface org.scictrl.mp.orbitcorrect.IOrientationMarker
getOrientation, isHorizontal, isVertical
-
Constructor Details
-
ResponseMatrixBumpModel
public ResponseMatrixBumpModel()RingKeeper constructor comment.
-
-
Method Details
-
getBumpedCount
public int getBumpedCount()Getter for the field
bumpedCount
.- Returns:
- int
-
getBumpedElement
Getter for the field
bumpedElement
.- Returns:
- BPMonitor
-
getBumpHeight
public double getBumpHeight()Getter for the field
bumpHeight
.- Returns:
- double
-
getExternalResponseMatrix
Getter for the field
externalResponseMatrix
.- Returns:
- ResponseMatrix
-
isUseExternalResponseMatrix
public boolean isUseExternalResponseMatrix()isUseExternalResponseMatrix.
- Returns:
- boolean
-
calculateCorrection
public Correction calculateCorrection(OrbitCorrectionOperator engine) throws InconsistentDataException calculateCorrection.
- Parameters:
engine
- aOrbitCorrectionOperator
object- Returns:
- double[]
- Throws:
InconsistentDataException
- if any.
-
makeCorrection
protected Correction makeCorrection(ElementList<AbstractCorrector> correctors, Orbit orbit, ResponseMatrix responseMatrix, DataBush db, OrbitCorrectionOperator op) throws InconsistentDataException makeCorrection.
- Specified by:
makeCorrection
in classAbstractSVDBasedModel
- Parameters:
correctors
- aElementList
objectorbit
- aOrbit
objectresponseMatrix
- aResponseMatrix
objectdb
- aDataBush
objectop
- aOrbitCorrectionOperator
object- Returns:
- a
Correction
object - Throws:
InconsistentDataException
- if any.
-
setBumpedCount
public void setBumpedCount(int newBumpedCount) Setter for the field
bumpedCount
.- Parameters:
newBumpedCount
- int
-
setBumpedElement
Setter for the field
bumpedElement
.- Parameters:
newBumpedElement
- BPMonitor
-
setBumpHeight
public void setBumpHeight(double newBumpHeight) Setter for the field
bumpHeight
.- Parameters:
newBumpHeight
- double
-
setExternalResponseMatrix
Setter for the field
externalResponseMatrix
.- Parameters:
newExternalResponseMatrix
- ResponseMatrix
-
setUseExternalResponseMatrix
public void setUseExternalResponseMatrix(boolean newUseExternalResponseMatrix) Setter for the field
useExternalResponseMatrix
.- Parameters:
newUseExternalResponseMatrix
- boolean
-