stella.util
Class FocusSpindleFit.Drift

java.lang.Object
  extended by stella.util.FocusSpindleFit.AbstractPosition
      extended by stella.util.FocusSpindleFit.Drift
All Implemented Interfaces:
FocusSpindleFit.PositionModel, Multidimensional, PrintMultidimensional
Enclosing class:
FocusSpindleFit

private class FocusSpindleFit.Drift
extends FocusSpindleFit.AbstractPosition

Simple model, center plus linear drift.


Constructor Summary
FocusSpindleFit.Drift()
           
 
Method Summary
 int dimension()
          If we also fit for the lead, we return nine, otherwise eight.
 Point2D getModelPoint(double f, VectorG params)
          We evaluate the formular from above, using the pre-set values of the pixel and focus positions.
 
Methods inherited from class stella.util.FocusSpindleFit.AbstractPosition
evaluate, evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusSpindleFit.Drift

public FocusSpindleFit.Drift()
Method Detail

dimension

public int dimension()
If we also fit for the lead, we return nine, otherwise eight.


getModelPoint

public Point2D getModelPoint(double f,
                             VectorG params)
We evaluate the formular from above, using the pre-set values of the pixel and focus positions. The following order is assumed:
  • constant position x, x_0
  • constant position y, y_0<
  • linear with focus in x, v_x
  • linear with focus in y, v_y