routine to parse the source table from the input Toml file.
Parse sources any updates here MUST be reflected in docs/config.md
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(toml_table), | intent(inout) | :: | table |
Input Toml table |
||
type(photon), | intent(out) | :: | packet |
Photon packet. Used to store information to save computation |
||
type(toml_table), | intent(inout) | :: | dict |
Dictonary used to store metadata |
||
type(spectrum_t), | intent(out) | :: | spectrum |
Spectrum type. |
||
type(toml_context) | :: | context |
Context handle for error reporting |
|||
type(toml_error), | intent(out), | allocatable | :: | error |
Error message |