neddy._basesearch module ∞
The base class for NED searches
- Author
David Young
- Date Created
May 6, 2015
-
class
_basesearch[source] ∞ Bases:
objectThe base-class for searching NED
-
_parse_the_ned_position_results(ra, dec, nedResults)[source] ∞ parse the results of a NED conesearch and return as python dicts
- Key Arguments:
ra– the search radec– the search dec
- Return:
results– list of result dictionariesresultLen– the number of matches returned
-
_parse_the_ned_list_results()[source] ∞ parse the NED results
- Return:
results–headers– description. Default **. [opt1|opt2]
- @review: when complete, clean _parse_the_ned_results method - @review: when complete add logging
-
_split_incoming_queries_into_batches(sources, searchParams=False)[source] ∞ split incoming queries into batches
- Key Arguments:
sources– sources to split into batchessearchParams– search params associated with batches
- Return:
theseBatches– list of batchestheseBatchParams– params associated with batches
-