isofit.configs.sections.implementation_config

Classes

ImplementationConfig

Base Configuration Section from which all Configuration Sections inherit. Handles shared functionality like getting,

Module Contents

class ImplementationConfig(sub_configdic: dict = None)[source]

Bases: isofit.configs.base_config.BaseConfigSection

Base Configuration Section from which all Configuration Sections inherit. Handles shared functionality like getting, setting, and cleaning configuration options.

_mode_type[source]
mode = 'inversion'[source]

inversion, inversion_mcmc, and ‘simulation’.

Type:

str

Type:

Defines the operating mode for isofit. Current options are

_inversion_type[source]
inversion: isofit.configs.sections.inversion_config.InversionConfig = None[source]

optional config for running in inversion mode.

Type:

InversionConfig

_n_cores_type[source]
n_cores = None[source]

number of cores to use.

Type:

int

_task_inflation_factor_type[source]
task_inflation_factor = 10[source]

Submit task_inflation_factor*n_cores number of tasks.

Type:

int

_ip_head_type[source]
ip_head = None[source]

Ray - parameter. IP-head (for multi-node runs).

Type:

str

_redis_password_type[source]
redis_password = None[source]

Ray - parameter. Redis-password (for multi-node runs).

Type:

str

_ray_include_dashboard_type[source]
ray_include_dashboard = False[source]

Ray - parameter. Boolean to include dashboard.

Type:

str

_ray_temp_dir_type[source]
ray_temp_dir = '/tmp/ray'[source]

Overrides the standard ray temporary directory. Useful for multiuser systems.

Type:

str

_ray_ignore_reinit_error_type[source]
ray_ignore_reinit_error = True[source]

Boolean to tell ray to ignore re-initilaization. Can be convenient for multiple Isofit instances.

Type:

bool

_io_buffer_size_type[source]
io_buffer_size = 100[source]

Integer indicating how large (how many spectra) of chunks to read/process/write. A buffer size of 1 means pixels are processed independently. Large buffers can help prevent IO choke points, especially if the

Type:

bool

_max_hash_table_size_type[source]
max_hash_table_size = 50[source]

The maximum size of inversion hash tables. Can provide speedups with redundant surfaces, but comes with increased memory costs.

Type:

int

_debug_mode_type[source]
debug_mode = False[source]

A flag to run the code in debug mode, which circumvents ray.

Type:

bool

_isofit_version_type[source]
isofit_version = '3.6.1'[source]

ISOFIT version used.

Type:

str

_check_config_validity() List[str][source]