Example file added

This commit is contained in:
Lukas Klass 2020-05-20 15:33:05 +02:00
parent a5cec39d2c
commit 01360a6095

View File

@ -64,6 +64,7 @@ required structure see section _Reading spectral quantities from files_.
##### StrayLight ##### StrayLight
`<optical_component type="StrayLight" emission="PathToEmissionFile"/>` `<optical_component type="StrayLight" emission="PathToEmissionFile"/>`
This component allows to model generic noise sources like stray light or zodiacal light from a file containing the This component allows to model generic noise sources like stray light or zodiacal light from a file containing the
spectral radiance of the emission. spectral radiance of the emission.
* **`emission` _optional_:** The path to the file containing the spectral radiance of the emission. For details on the * **`emission` _optional_:** The path to the file containing the spectral radiance of the emission. For details on the
@ -173,7 +174,13 @@ Valid ranges are 0.0 - 1.0. The default is 1.
##### Reading spectral quantities from files ##### Reading spectral quantities from files
The format of a file has to be either structured text (e.g. CSV) or astropy ECSV and will be automatically detected. The format of a file has to be either structured text (e.g. CSV) or astropy ECSV and will be automatically detected.
In case of structured text, the units of the columns have to be defined in the column header within square brackets In case of structured text, the units of the columns have to be defined in the column header within square brackets
(e.g. "wavelength [nm]"). The file must contain two columns with units: wavelength and the spectral quantity. (e.g. "wavelength [nm]"). The file must contain two columns with units: wavelength and the spectral quantity:
| wavelength [nm] | emission [W/(nm\*m^2\*sr)] |
|-----------------|--------------------------|
| 200 | 1.345e-15 |
| 201 | 2.234e-15 |
| ... | ... |
## Running ESBO-ETC ## Running ESBO-ETC