|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.DalConeSearcher
uk.ac.starlink.ttools.cone.SsaConeSearcher
public class SsaConeSearcher
ConeSearcher implementation using a VO Simple Spectral Access service. The matches will be available spectra rather than crossmatched objects, but the mechanics are much the same.
Constructor Summary | |
---|---|
SsaConeSearcher(String serviceUrl,
String specFormat,
boolean believeEmpty,
StarTableFactory tfact)
Constructor. |
Method Summary | |
---|---|
void |
close()
Called when this searcher is no longer required. |
int |
getDecIndex(StarTable result)
Returns the index of a column giving the declination in the returned table. |
int |
getRaIndex(StarTable result)
Returns the index of a column giving the right ascension in the returned table. |
StarTable |
performSearch(double ra,
double dec,
double sr)
Returns a table consisting of all the objects within a given search radius of a specified point on the sky. |
Methods inherited from class uk.ac.starlink.ttools.cone.DalConeSearcher |
---|
getConsistentTable, getInconsistentEmptyAdvice, getUcd1DecIndex, getUcd1RaIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SsaConeSearcher(String serviceUrl, String specFormat, boolean believeEmpty, StarTableFactory tfact)
Method Detail |
---|
public StarTable performSearch(double ra, double dec, double sr) throws IOException
ConeSearcher
performSearch
in interface ConeSearcher
ra
- right ascension in degrees of search region centredec
- declination in degrees of search region centresr
- search radius in degrees
IOException
public int getRaIndex(StarTable result)
ConeSearcher
getRaIndex
in interface ConeSearcher
result
- table returned by performSearch
public int getDecIndex(StarTable result)
ConeSearcher
getDecIndex
in interface ConeSearcher
result
- table returned by performSearch
public void close()
ConeSearcher
close
in interface ConeSearcher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |