conesearch (class) ∞
-
class
conesearch(log, ra=False, dec=False, radiusArcsec=False, nearestOnly=False, unclassified=False, quiet=False, listOfCoordinates=False, outputFilePath=False, verbose=False, redshift=False)[source] ∞ Bases:
neddy._basesearch._basesearchThe NED conesearch object
Key Arguments
log– loggerra– radec– decradiusArcsec– the search radius in arcsecsnearestOnly– return only the nearest object from NEDunclassified– include the unclassified sources in the search resultsquiet– don’t print to stdoutlistOfCoordinates– a list ofra,dec, andradiusArcsec(multiple sources)outputFilePath– path of file to print results to. Default False (don’t print to file)verbose– return more metadata for matchesredshift– require a redshift for a source to appear in search results
Usage
from neddy import conesearch search = conesearch( log=log, ra=0.000, dec=0.000, radiusArcsec=5.0, nearestOnly=False, unclassified=True, outputFilePath=False, verbose=True, redshift=False ) results = search.get()
Methods
get()return results of a NED conesearch
get_crossmatch_names([listOfCoordinates, …])return a list of NED sources found within the conesearch radius
-
get_crossmatch_names(listOfCoordinates=False, radiusArcsec=False)[source] ∞ return a list of NED sources found within the conesearch radius
Key Arguments
listOfCoordinates– list of the coordinates to conesearchradiusArcsec– the search radius
Return
names– the names of the sources matched within the search radiussearchParams– the parameters of the search as read from the command-line/method call