Parameter file formats

The parameters module handles different parameter file formats.

The original idea was that all parameter files will be converted to a single internal parameter format, the NeuroTools ParameterSet class. This will allow fancy searching/comparisons based on parameters. However, we don’t do this at the moment, the only methods that are used are update() and save()

Classes

NTParameterSet:

handles parameter files in the NeuroTools parameter set format, based on nested dictionaries.

SimpleParameterSet:

handles parameter files in a simple “name = value” format, with no nesting or grouping.

ConfigParserParameterSet

handles parameter files in traditional config file format, as parsed by the standard Python ConfigParser module.

JSONParameterSet

handles parameter files in JSON format

YAMLParameterSet

handles parameter files in YAML format

copyright:

Copyright 2006-2020, 2024 by the Sumatra team, see doc/authors.txt

license:

BSD 2-clause, see LICENSE for details.