Skip to main content

Management of large, hierarchical parameter sets for modelling and simulation

Project description

We consider it to be best practice to cleanly separate the parameters of a model from the model itself. At the least, parameters should be defined in a separate section at the start of a file. Ideally, they should be defined in a separate file entirely. This makes version control easier, since the model code typically changes less often than the parameters, and makes it easier to track a simulation project, since the parameter sets can be stored in a database, displayed in a GUI, etc.

The Parameters package provides Python classes to make it easier to work with parameter sets for complex models. In particular it provides tools for

  • working with parameters for models that have a deep hierarchical structure;

  • specifying that a parameter value should be drawn from a random distribution;

  • specifying a range of values, for example for performing a sensitivity analysis;

  • specifying the physical dimensions and range of permissible values of parameters;

  • defining and iterating over multiple points in a parameter space;

  • validation of parameter sets against a pre-defined schema.

License

Copyright (C) 2008-2013 Andrew Davison, Eilif Muller

Parameters is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

The GNU General Public License does not permit this software to be redistributed in proprietary programs.

See source:LICENSE.txt

Installation

$ pip install parameters

Documentation

https://parameters.readthedocs.org/

Reporting Bugs

https://github.com/NeuralEnsemble/parameters/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parameters-0.2.0.tar.gz (37.5 kB view details)

Uploaded Source

File details

Details for the file parameters-0.2.0.tar.gz.

File metadata

  • Download URL: parameters-0.2.0.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for parameters-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d67202a5687f9d9d1028521d3f8dedaade8d54ead21e8c3c23b46069c26c9541
MD5 61af8c655e11d4125c804a4eb98359de
BLAKE2b-256 f995861e953ffb4e0af5419e6876ee33d1f04813aa22d9eb248d8392eeb52933

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page