urn in case of pasring errors, by default 0

    Returns
    -------
    `int`
        the parsed value
    &#34;&#34;&#34;
    try:
        return int(value)
    except ValueError:
        return default


# TODO get file from config


class Transmission:
    &#34;&#34;&#34;
    Calculate the energy dependant transmission of X-ray through the instrument
    &#34;&#34;&#34;
    def __init__(self, solarblack=&#39;solarblack_carbon&#39;):
        &#34;&#34;&#34;
        Create a new instance of the transmissi