scviva.settings

Contents

scviva.settings#

scviva.settings = <scviva._settings.SCVIVAToolsConfig object>#

Config manager for scviva.

Examples

To set the seed

>>> scviva.settings.seed = 1

To set the batch size for functions like SCVIVA.get_latent_representation

>>> scviva.settings.batch_size = 1024

To set the progress bar style, choose one of “rich”, “tqdm”

>>> scviva.settings.progress_bar_style = "rich"

To set the verbosity

>>> import logging
>>> scviva.settings.verbosity = logging.INFO

To set the number of threads, PyTorch will use

>>> scviva.settings.num_threads = 2