specdash.input.pfs package

Submodules

specdash.input.pfs.driver module

class specdash.input.pfs.driver.FitsDataDriver[source]

Bases: specdash.input.DataDriver

classmethod get_catalog_name()[source]

Gets the name of the catalog which the driver is processing data for. E.g., SDSS

classmethod get_data_from_specid(specid, trace_name=None)[source]
classmethod get_spectrum_path(specid)[source]

returns a non empty string if specid is found in file system. Else, returns an empty string or None

classmethod get_trace_list_from_fits(name, hdulist=None, file_object=None)[source]
classmethod get_visits(trace_name, hdulist=None, file_object=None)[source]
classmethod get_visits2(trace_name, hdulist=None, file_object=None)[source]
classmethod is_file_from_catalog(hdulist)[source]

returns True if the file’s HDLUList can be identified as belonging to this catalog. False otherwise

classmethod is_specid_from_catalog(specid)[source]

returns True if the file’s HDLUList can be identified as belonging to this catalog. False otherwise

Module contents