scopesim.source.source

scopesim.source.source#

# Use cases: # image + spectrum # images + spectra # table + spectrum # table + spectra # # table columns = x, y, spec_id, weight # table meta keywords = x_unit, y_unit # # image header keywords = WCS, SPEC_ID, WEIGHT # [WCS = CRPIXn, CRVALn = (0,0), CTYPEn, CDn_m, NAXISn, CUNITn

Classes

Source([filename, cube, ext, lam, spectra, ...])

Create a source object from a file or from arrays.