namesearch (class)

class namesearch(log, names, quiet=False, verbose=False, searchParams=False, outputFilePath=False)[source]

Bases: neddy._basesearch._basesearch

Perform a NED name-search and return the metadata for the matched sources

Key Arguments

  • log – logger

  • name – name

  • quiet – don’t print to stdout

  • verbose – return more metadata for matches

  • searchParams – list of dictionaries to prepend to results

  • outputFilePath – path to file to output results to

Usage

from neddy import namesearch
search = namesearch(
    log=log,
    names=objectName,
    verbose=True,
    outputFilePath="/path/to/output.csv"
)
results = search.get()

Methods

get()

perform NED name searches and return the results

get()[source]

perform NED name searches and return the results

Return

  • results – the search results (list of dictionaries)