parse_SpectrumMod Module

routine to parse the spectrum entry in the source table from the input Toml file.


Uses


Subroutines

public subroutine parse_spectrum(table, spectrum, dict, context, error)

Parse spectrums to be used

Arguments

Type IntentOptional Attributes Name
type(toml_table), pointer :: table
type(spectrum_t), intent(out) :: spectrum

Polymorphic spectrum type

type(toml_table), intent(inout) :: dict

Dictionary of metadata

type(toml_context), intent(inout) :: context

Context handle for error reporting.

type(toml_error), intent(out), allocatable :: error

Error messages that are raised in the routine