|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.adapter.StarRegister
public class StarRegister
| Field Summary | |
|---|---|
private double |
deltaPix
The expected uncertainity of the catalog positions in pixels. |
private Point2D.Double[][] |
dPolarDB
Polar coordinates distances for each database stars with respect to all database stars. |
private Point2D.Double[][] |
dPolarIM
Polar coordinates distances for each image stars with respect to all image stars. |
private int[] |
match
Vector with nObj size holding the matched catalog star indexes for each object in the CCD image. |
private int |
nObj
Number of objects found in the image; |
private int |
nRef
Number of reference (catalog) stars found in the database. |
private double[][] |
xyDB
2D vector with the stars' X-Y pixels coordinates in the database. |
private double[][] |
xyIM
2D vector with the stars' X-Y pixels coordinates on the CCD image. |
| Constructor Summary | |
|---|---|
StarRegister(double[][] _xyIM,
double[][] _xyDB)
Constructor. |
|
| Method Summary | |
|---|---|
private int |
calcDistances()
Calculates and stores the polar coordinate distances for each pairs of star in the CCD image and in the catalog. |
int |
findMatches()
Assumption: all the stars can be seen in the image can also be found in the catalog. |
double[] |
getXYShift()
Returns the average x-y shifts calculated from the star matches. |
static void |
main(String[] args)
Test the class. |
void |
setDeltaPix(double _deltaPix)
Sets the expected uncertainity of the catalog positions in pixels. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double[][] xyIM
private double[][] xyDB
private Point2D.Double[][] dPolarIM
private Point2D.Double[][] dPolarDB
private int nObj
private int nRef
private double deltaPix
private int[] match
| Constructor Detail |
|---|
public StarRegister(double[][] _xyIM,
double[][] _xyDB)
| Method Detail |
|---|
private int calcDistances()
public void setDeltaPix(double _deltaPix)
findMatches.
public int findMatches()
public double[] getXYShift()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||