add_SED_to_simcado

simcado.utils.add_SED_to_simcado(file_in, file_out=None, lam_units='um')[source]

Adds the SED given in file_in to the SimCADO data directory

Parameters
file_instr

path to the SED file. Can be either FITS or ASCII format with 2 columns Column 1 is the wavelength, column 2 is the flux

file_outstr, optional

Default is None. The file path to save the ASCII file. If None, the SED is saved to the SimCADO data directory i.e. to <utils.__pkg_dir__>/data/

lam_unitsstr, astropy.Units

Units for the wavelength column, either as a string or as astropy units Default is [um]