Last modified: December 2023

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/sm.html
AHELP for CIAO 4.16 Sherpa

sm

Context: models

Synopsis

Galactic extinction: the Savage & Mathis model.

Syntax

sm

Description

The interstellar extinction is calculated using the formula from [1] . This model is intended to be used to modify another model (e.g. by multiplying the two together). It is for use when the independent axis is in Angstrom.


Example

>>> create_model_component("sm", "mdl")
>>> print(mdl)

Create a component of the sm model and display its default parameters. The output is:

mdl
   Param        Type          Value          Min          Max      Units
   -----        ----          -----          ---          ---      -----
   mdl.ebv      thawed          0.5 -3.40282e+38  3.40282e+38           

ATTRIBUTES

The attribute for this object is:

Attribute Definition
ebv E(B-V)

Notes

When evaluated on a binned grid, the lower-edges of the bins are used for the calculation.

References


Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

models
ccm, fm, lmc, seaton, smc, xgal