|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
stella.util.StarAmoeba
public class StarAmoeba
This class takes a good set of image-filtering parameters and uses actual guider images to train.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyContainer |
|---|
PropertyContainer.URLResource |
| Field Summary | |
|---|---|
private static int |
DEFDATAMAX
The data max. |
private static int |
DEFDATAMIN
The data min. |
private static double |
DEFDEVIATION
The default allowed squared deviation in square-pixel. |
private static double |
DEFFAULTPENALTY
The default fault penalty. |
private static File |
DEFFITSDIR
The default fits directory. |
private static double |
DEFGAUSSFWHM
The fwhm of the truncatate gaussian filter. |
private static double |
DEFGAUSSTRUNCATE
The truncation factor in the gaussian filter. |
private static int |
DEFMEDIAN
The radius of the median filter.. |
private static int |
DEFSEARCHBOX
The search box size of the starfinder. |
private static double |
DEFSINCLOWPASS
The length scale of the sinc low-pass filter. |
private static int |
DEFSIZELOWPASS
The size of the low-pass filter. |
private static String |
DEFSPURIOUSFILE
If file is present, it homes serialized spurious from prior analysis. |
private static String |
DEFSTARFILE
If file is present, it contains serialized stars from prior analysis. |
private static double |
DEFSTARPENALTY
The default star penalty. |
static String |
KEY_DATAMAX
The data max. |
static String |
KEY_DATAMIN
The data min. |
static String |
KEY_DEVIATION
The tolerance in position difference. |
static String |
KEY_FAULTPENALTY
The penalty for each non-object identified. |
static String |
KEY_FITSDIR
The fits-files directory. |
static String |
KEY_GAUSSFWHM
The fwhm of the truncatate gaussian filter. |
static String |
KEY_GAUSSTRUNCATE
The truncation factor in the gaussian filter. |
static String |
KEY_MEDIAN
The radius of the median filter.. |
static String |
KEY_SEARCHBOX
The search box size of the starfinder. |
static String |
KEY_SINCLOWPASS
The length scale of the sinc low-pass filter. |
static String |
KEY_SIZELOWPASS
The size of the low-pass filter. |
static String |
KEY_SPURIOUSFILE
If file is present, it homes serialized spurious from prior analysis. |
static String |
KEY_STARFILE
If file is present, it contains serialized stars from prior analysis. |
static String |
KEY_STARPENALTY
The penalty for stars not found. |
private List |
spurious
The spurious detections. |
private List |
star
The stars. |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR, KEY_NOINITONCREATE, KEY_RESOURCEBUNDLES |
| Fields inherited from interface util.PropertyBearing |
|---|
CONFIG, KEY_CLASS, KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Constructor Summary | |
|---|---|
StarAmoeba(Map prop)
Constructs a new star amoeba and defaults all parameters. |
|
| Method Summary | |
|---|---|
int |
dimension()
Returns the dimension of the amoeba-fit. |
double |
evaluate(VectorG param)
Evaluates the amoeba. |
double |
evaluate(VectorG param,
boolean printout)
Evaluates the amoeba. |
private double |
getChi(Guiding.RawStar raw,
VectorG param)
Evaluates the chi on an inidividual detection. |
void |
init()
Reads the directory with the fits files to do the initial image reduction on all of them. |
private void |
init(boolean update)
Reads the directory with the fits files to do the initial image reduction on all of them. |
static void |
main(String[] arg)
If we supplied an argument, this is treated as the properties of the image amoeba, otherwise we use all default values. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY_STARPENALTY
public static final String KEY_FAULTPENALTY
public static final String KEY_SIZELOWPASS
public static final String KEY_SINCLOWPASS
public static final String KEY_MEDIAN
public static final String KEY_GAUSSFWHM
public static final String KEY_GAUSSTRUNCATE
public static final String KEY_SEARCHBOX
public static final String KEY_DATAMIN
public static final String KEY_DATAMAX
public static final String KEY_DEVIATION
public static final String KEY_FITSDIR
public static final String KEY_STARFILE
public static final String KEY_SPURIOUSFILE
private static final double DEFSTARPENALTY
private static final double DEFFAULTPENALTY
private static final int DEFSIZELOWPASS
private static final double DEFSINCLOWPASS
private static final int DEFMEDIAN
private static final double DEFGAUSSFWHM
private static final double DEFGAUSSTRUNCATE
private static final int DEFSEARCHBOX
private static final int DEFDATAMIN
private static final int DEFDATAMAX
private static final double DEFDEVIATION
private static final String DEFSTARFILE
private static final String DEFSPURIOUSFILE
private static final File DEFFITSDIR
private List star
private List spurious
| Constructor Detail |
|---|
public StarAmoeba(Map prop)
| Method Detail |
|---|
public void init()
init in interface Initializableinit in class PropertyContainerprivate void init(boolean update)
public int dimension()
dimension in interface Multidimensionalpublic double evaluate(VectorG param)
chi(rawstar)=a_0+a_1*sharp+a_2*elong+a_3*fwhm+a_4*(sky/area)
error = Σchi&pow2;(stars)/Σchi&pow2;(nonstars)
evaluate in interface Multidimensional
public double evaluate(VectorG param,
boolean printout)
chi(rawstar)=a_0+a_1*sharp+a_2*elong+a_3*fwhm+a_4*(sky/area)
error = Σchi&pow2;(stars)/Σchi&pow2;(nonstars)
private double getChi(Guiding.RawStar raw,
VectorG param)
public static void main(String[] arg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||