tracts.driver_utils.OutputConfig#

class OutputConfig(**data)#

Bases: BaseModel

Configuration for the output of the inference process.

output_directory#

The directory where the output files will be saved.

Type:

str | None

output_filename_format#

The format of the output filenames. If not specified, defaults to “{driver_stem}_{{label}}”, where driver_stem is the name of the driver yaml file, without its extension.

Type:

str, Optional

log_filename#

The filename of the log file to write to. If not specified, defaults to “{driver_stem}.log”, where driver_stem is the name of the driver yaml file, without its extension.

Type:

str, Optional

verbose_log#

The verbosity level for logging. Defaults to 1.

Type:

int

verbose_screen#

The verbosity level for screen prints. Defaults to 30.

Type:

int

log_scale#

Whether to use log scale to plot the tract length distribution. Defaults to True.

Type:

bool