mono Spectrum Function mono spectrum function generates a monochromatic spectrum. It takes a single argument, a table, with the following recognized named entries:
 
| name | type | description | default | 
|---|---|---|---|
| name | string | name of spectrum instance | |
| energy | number | energy in keV | |
| flux | number | Source flux in photon/s/cm2 | 1 | 
spectrum = mono{ name = "spectrum for object",
                 energy = 1.49,
                 flux = 20 }