For an introduction, see Python tutorial > Fitting.

For an informal API documentation, see Reference > Fitting.

The following examples refer to experimental or synthetic data in directory testdata. To make these data findable, the environment variable BA_DATA_DIR must point to the copy of the testdata/ directory in your local BornAgain installation.