public interface MSifting
Guiding.| Modifier and Type | Method and Description |
|---|---|
float[] |
gauss(MImageHDU reduced,
double fwhm,
double trunc)
Prepares a reduced image for star detection by applying a truncated
Gaussian filter to it.
|
List<StarDetection> |
getDetectedStars(Rectangle readout,
Dimension binning,
MImageHDU reduced,
float[] gauss,
int datamin,
int datamax,
int searchbox,
int frame,
float[] xstripes,
float[] ystripes)
Detect stars in the images using the reduced (or raw) frame plus the
gaussian-filtered one.If the detector is shutterless, consider also to
look for horizontal or vertical stripes.
|
MImageHDU |
reduce(MImageHDU raw,
double exptime,
MImageHDU bias,
MImageHDU dark,
double darktime,
MImageHDU flat)
Prepares a raw image HDU by applying bias reduction, dark and
flat-field correction.
|
List<StarDetection> |
removeSpurious(List<StarDetection> found)
Removes probably spurious detections.
|
float[] |
xstripes(MImageHDU reduced,
double fwhm,
double trunc)
Prepares a reduced image for star detection by applying a truncated
Gaussian filter parallel to the x-axis.
|
float[] |
ystripes(MImageHDU reduced,
double fwhm,
double trunc)
Prepares a reduced image for star detection by applying a truncated
Gaussian filter parallel to the y-axis.
|
MImageHDU reduce(MImageHDU raw, double exptime, MImageHDU bias, MImageHDU dark, double darktime, MImageHDU flat) throws BasicFitsException
exptime - The exposure time in multiples of the dark nominal exposure timeBasicFitsExceptionfloat[] gauss(MImageHDU reduced, double fwhm, double trunc) throws BasicFitsException
reduced - fwhm - trunc - BasicFitsExceptionfloat[] xstripes(MImageHDU reduced, double fwhm, double trunc) throws BasicFitsException
reduced - fwhm - trunc - BasicFitsExceptionfloat[] ystripes(MImageHDU reduced, double fwhm, double trunc) throws BasicFitsException
reduced - fwhm - trunc - BasicFitsExceptionList<StarDetection> getDetectedStars(Rectangle readout, Dimension binning, MImageHDU reduced, float[] gauss, int datamin, int datamax, int searchbox, int frame, float[] xstripes, float[] ystripes) throws BasicFitsException
reduced - The reduced image, only for photometry.gauss - The convolved image for star center using datamin and maxdatamin - Minimum ADU value to spike star detectiondatamax - Maximum value for a star, can be 65535searchbox - Half-radius of the search box.frame - No stars this close to the edges searched. Must be >= searchbox.stripes - If >0, also check for read-out stripes.BasicFitsExceptionList<StarDetection> removeSpurious(List<StarDetection> found)
found - All detections (ADU above certain threshold in filtered image).