Welcome to JCMsuite’s Python guide!

This document shows how to use JCMsuite together with the high-level scripting language Python [1]. This allows to setup complicated problems in a scripting-like manner and presents a simple and flexible way to define parameter dependent problems and to run parameter scans, optimizations or sensitivity analyses.

One major concept to combine JCMsuite with Python is called Embedded Scripting. In a nutshell, the structure of the solver input is still based on .jcm files. As an extension, these input files are allowed to contain placeholders (keys) for keyword substitution. Additionally, it is allowed to embed Python code snippets into the input files for looping over .jcm blocks, or to dynamically update the key-value specification. A step-by-step tutorial is given here.

JCMsuite contains several numerical tools to perform efficient parameter optimizations, sensitivity analyses, and more. The domumentation of the Analysis and Optimization Toolkit explains how to use these tools within Python.

[1]Python is free to use. See http://www.python.org/. For license details see also Legal information (search for Python).

Table Of Contents