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.

Type:

str

log_filename#

The filename of the log file to write to. If None, no log file will be created. Defaults to “tracts.log”.

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

plot_migration_matrices#

Whether to plot the final mean migration matrix together with the sex-bias values per pulse.

Type:

bool

model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

plot_migration_matrices: bool#