simbad.util.simbad_results module

class FileCollection[source]

Bases: object

Class for holding results files and annotations

class SimbadResults(work_dir)[source]

Bases: object

Class to handle the results from a SIMBAD search

Attributes

work_dir (str) The SIMBAD work directory where SIMBAD was run
lattice_results (:Pandas dataframe:) Dataframe containing the results of the lattice search
lattice_mr_results (:Pandas dataframe:) Dataframe containing the results of the MR

Methods

get_files(search_type[, num_results]) Return the best num_results results files from search_type
top_files([num_results]) Return a list of num_results FileCollection objects with the results of the best MR steps
get_files(search_type, num_results=10)[source]

Return the best num_results results files from search_type

Parameters:

search_type : str

The type of search undertaken

top_files(num_results=3)[source]

Return a list of num_results FileCollection objects with the results of the best MR steps