composition.cmindex¶
This module contains built-in complex indices of refraction typically used for astrophysical dust.
API for CmIndex classes¶
class CmIndex (object)
ATTRIBUTEScmtype : string (‘Drude’, ‘Graphite’, or ‘Silicate’)citation : A string containing citation to original source of optical constantsrp : either a function or scipy.interp1d object that can called,e.g. rp(E) where E is in [keV]ip : same as above, ip(E) where E is in [keV]