get_SED_names

simcado.source.get_SED_names(path=None)[source]

Return a list of the SEDs installed in the package directory

Looks for files that follow the naming convention SED_<name>.dat. For example, SimCADO contains an SED for an elliptical galaxy named SED_elliptical.dat

Parameters
pathstr, optional

Directory to look in for filters

Returns
sed_nameslist

A list of names for the SED files available

See also

SED()

Examples

Names returned here can be used with the function SED() to call up

>>> from simcado.source import SED, get_SED_names
>>> print(get_SED_names())
['elliptical', 'interacting', 'spiral', 'starburst', 'ulirg']
>>> SED("spiral")
(array([ 0.3  ,  0.301,  0.302, ...,  2.997,  2.998,  2.999]),
 array([        0.        ,         0.        ,  26055075.98709349, ...,
          5007498.76444208,   5000699.21993188,   4993899.67542169]))