| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcds.aladin.LocalXMatch
public final class LocalXMatch
This class aims at providing a positionnal cross-match in Java Algorithms have been adapted from Sebastien's C algorithms
| Constructor Summary | |
|---|---|
LocalXMatch()
 | 
|
| Method Summary | |
|---|---|
static XMatchResult[] | 
xID(java.lang.String[] array1,
    java.lang.String[] array2)
Perform cross-id, having 2 array of coordinates  | 
static XMatchResult[] | 
xMatch(double[][] array1,
       double[][] array2,
       boolean[] flag1,
       boolean[] flag2,
       double[] seuil,
       int fmtOut)
Perform positionnal cross-match, having 2 arrays of coordinates  | 
static XMatchResult[] | 
xMatchEllipse(double[][] array1,
              double[][] array2,
              double[] maj1,
              double[] min1,
              double[] pa1,
              double[] maj2,
              double[] min2,
              double[] pa2,
              boolean[] flag1,
              boolean[] flag2,
              double[] seuil,
              int fmtOut)
Positional cross match between two tables, taking into account the positional errors: 'pos1' and 'pos2', are arrays of respective length len1 and len2 We assume that pos1 and pos2 are ALREADY sorted in ascending dec seuil is given as n-sigmas limits fmtOut is the output: 1 = best match, 2 = all matches 4 = non-matches Returns: list of matches stored in 'result', and number of matches Major and minor axis in arcsec Position angle in degrees  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LocalXMatch()
| Method Detail | 
|---|
public static XMatchResult[] xID(java.lang.String[] array1,
                                 java.lang.String[] array2)
array1 - array2 - 
public static XMatchResult[] xMatch(double[][] array1,
                                    double[][] array2,
                                    boolean[] flag1,
                                    boolean[] flag2,
                                    double[] seuil,
                                    int fmtOut)
array1 - array of coordinates for first table array1[i][0] is RA, array1[i][1] is DECarray2 - array of coordinates for second tableseuil - thresholdsfmtOut - output: 1 = best match flag1 - ignore flags for data of the 1st table (ignore data i in table 1 if flag1[i]==trueflag2 - ignore flags for data of the 2nd table
public static XMatchResult[] xMatchEllipse(double[][] array1,
                                           double[][] array2,
                                           double[] maj1,
                                           double[] min1,
                                           double[] pa1,
                                           double[] maj2,
                                           double[] min2,
                                           double[] pa2,
                                           boolean[] flag1,
                                           boolean[] flag2,
                                           double[] seuil,
                                           int fmtOut)
flag1 - ignore flags for data of the 1st table (ignore data i in table 1 if flag1[i]==trueflag2 - ignore flags for data of the 2nd table
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||