public interface PinholeShift
#fiberView method, which immediately returns a pixel shift.
Depending on the sophistication of the algorithm, the method
getPinholePosition() may return a fixed value, or a position
determined from the last registered image. Additionally, getFlux() and
getFwhm() might be available. If the
algorithm is not capable of calculating the total flux and the fwhm
of the star on the image fiber, they should return zero on both methods.| Modifier and Type | Method and Description |
|---|---|
Vector2D |
getBackground(MImageHDU pinhole)
This method retrieves an estimate of the background ADU level plus
its ADU sigma.
|
double |
getFlux()
If the algorithm is capable of calculating the total flux of the star,
meaning including also the flux that disappeared into the fiber, it
should be returned here in ADUs.
|
double |
getFwhm()
If the algorithm is capable of calculating the total FWHM of the star
as it would have been without the pinhole, it should return this value
in pixel here.
|
Point2D |
getPinholePosition()
Depending on the implementation, this method may return a fixed
pinhole position, predetermined in its properties, or an estimated/
updated pinhole position from the last image registered.
|
double |
getSignalToNoise(MImageHDU pinhole)
Estimates the signal-to-noise ratio in the fiber view image.
|
Point2D |
initFiberView(MFits pinhole)
An image retrieved from a fiber entrance unit is registered here.
|
Point2D |
solveFiberView()
Finally dolves for the pinhole shift.
|
Point2D initFiberView(MFits pinhole)
getFlux() and getFwhm() have any
meaning.pinhole - The image of the pinhole entrancePoint2D solveFiberView()
initFiberView(MFits) before.Vector2D getBackground(MImageHDU pinhole)
double getSignalToNoise(MImageHDU pinhole)
Point2D getPinholePosition()
double getFlux()
initFiberView(fits.hdu.MFits).double getFwhm()
initFiberView(fits.hdu.MFits).