[Last Change: 15 Feb 2012 (rev 1)]
flat
Spectrum Function
The
flat
spectrum function generates a flat spectrum with the same flux at each energy. It takes a single argument, a table, with the following recognized named entries:
name |
type |
description |
default |
name |
string |
name of spectrum instance |
|
emin |
number |
lower bound of energy range in keV |
|
emax |
number |
upper bound of energy range in keV |
|
flux |
number |
Source flux in photon/s/cm2 |
1 |
For example
spectrum = flat{ name = "spec for object 1",
emin = 0.1,
emax = 10,
flux = 10 }