pyatran.params.load_json

pyatran.params.load_json(filename)[source]

Load SCIATRAN configuration from JSON file.

This function loads a SCIATRAN configuration from a JSON file. No checking whatsoever of the validity of the file’s contents is done.

Parameters:

filename : str

File name of the JSON file holding the SCIATRAN configuration.

Returns:

cfg : collections.OrderedDict

The SCIATRAN configuration