public class SpillSignal extends PropertyContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
SpillSignal.Background |
static class |
SpillSignal.Closest |
static class |
SpillSignal.Growth
We start from a small rectangle and grow
|
static class |
SpillSignal.Single |
static class |
SpillSignal.Twin |
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
SpillSignal(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
static Vector2D |
background(MImageHDU f,
Rectangle box,
int thick,
double maxdev)
Tries to estimate the background and its error.
|
private static Pair<Integer,Vector3D> |
brightestBlob(MImageHDU f,
Rectangle around,
double back,
double maxdev,
Point2D pinhole,
int twinpix,
int nmin) |
static int |
brightestBlob(MImageHDU f,
Rectangle pinframe,
double back,
double maxdev,
Point2D pinhole,
int twinpix,
int nmin,
Vector3D into) |
private static Pair<Integer,Vector3D> |
centerOfGravity(MImageHDU f,
Rectangle around,
double back,
double maxdev)
Fills the 3d vector with the CoG of the image ADUs minus background
within the boxing rectangle, using the background plus the maximum
deviation as threshold.
|
static int |
centerOfGravity(MImageHDU f,
Rectangle around,
double back,
double maxdev,
Vector3D into)
Fills the 3d vector with the CoG of the image ADUs minus background
within the boxing rectangle, using the background plus the maximum
deviation as threshold.
|
private static Pair<Integer,Vector3D> |
centerOfGravityPlusTwin(MImageHDU f,
Rectangle around,
double back,
double maxdev,
int twinpix) |
static int |
centerOfGravityPlusTwin(MImageHDU adu,
Rectangle around,
double back,
double maxdev,
int twinpix,
Vector3D into) |
augment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static int centerOfGravity(MImageHDU f, Rectangle around, double back, double maxdev, Vector3D into) throws BasicFitsException
f - The image HDUaround - Only within this rectangle ADUs are considered.back - The expected background level, subtracted from ADUs on
calculation.maxdev - The expected maximum deviation in background counts for
threshold.into - The results are saved in this parameterFitsExceptionBasicFitsExceptionprivate static Pair<Integer,Vector3D> centerOfGravity(MImageHDU f, Rectangle around, double back, double maxdev) throws BasicFitsException
f - The image HDUaround - Only within this rectangle ADUs are considered.back - The expected background level, subtracted from ADUs on
calculation.maxdev - The expected maximum deviation in background counts for
threshold.FitsExceptionBasicFitsExceptionpublic static int centerOfGravityPlusTwin(MImageHDU adu, Rectangle around, double back, double maxdev, int twinpix, Vector3D into) throws BasicFitsException
BasicFitsExceptionprivate static Pair<Integer,Vector3D> centerOfGravityPlusTwin(MImageHDU f, Rectangle around, double back, double maxdev, int twinpix) throws BasicFitsException
BasicFitsExceptionpublic static int brightestBlob(MImageHDU f, Rectangle pinframe, double back, double maxdev, Point2D pinhole, int twinpix, int nmin, Vector3D into) throws BasicFitsException
BasicFitsExceptionprivate static Pair<Integer,Vector3D> brightestBlob(MImageHDU f, Rectangle around, double back, double maxdev, Point2D pinhole, int twinpix, int nmin) throws BasicFitsException
BasicFitsExceptionpublic static Vector2D background(MImageHDU f, Rectangle box, int thick, double maxdev) throws BasicFitsException
FitsExceptionBasicFitsException