Single_CSV_SED

class snappl.sed.Single_CSV_SED(csv_file, sed_wave_type='Angstrom', sed_flux_type='flambda')[source]

Bases: SED_collection

Initialize the SED collection with a single SED from a CSV file. The CSV file should have two columns: the first column is the wavelength, and the second column is the flux. The file can be comma separated or space separated, and can have comment lines starting with #. Inputs: csv_file: the path to the CSV file containing the SED sed_wave_type: the type of the wavelength in the SED (default is “Angstrom”) sed_flux_type: the type of the flux in the SED (default is “flambda”)

Methods Summary

get_sed(**kwargs)

Return a galsim SED.

Methods Documentation

get_sed(**kwargs)[source]

Return a galsim SED.