Configs#

PyAutoLens uses a number of configuration files that customize the default behaviour of the non-linear searches, visualization and other aspects of PyAutoLens.

Descriptions of every configuration file and their input parameters are provided in the README.rst in the config directory of the workspace

Setup#

By default, PyAutoLens looks for the config files in a config folder in the current working directory, which is why we run autolens scripts from the autolens_workspace directory.

The configuration path can also be set manually in a script using the project PyAutoConf and the following command (the path to the output folder where the results of a non-linear search are stored is also set below):

from autoconf import conf

conf.instance.push(
    config_path="path/to/config",
    output_path=f"path/to/output"
)