isofit.configs.sections.implementation_config ============================================= .. py:module:: isofit.configs.sections.implementation_config Classes ------- .. autoapisummary:: isofit.configs.sections.implementation_config.ImplementationConfig Module Contents --------------- .. py:class:: ImplementationConfig(sub_configdic: dict = None) Bases: :py:obj:`isofit.configs.base_config.BaseConfigSection` Base Configuration Section from which all Configuration Sections inherit. Handles shared functionality like getting, setting, and cleaning configuration options. .. py:attribute:: _mode_type .. py:attribute:: mode :value: 'inversion' inversion, inversion_mcmc, and 'simulation'. :type: str :type: Defines the operating mode for isofit. Current options are .. py:attribute:: _inversion_type .. py:attribute:: inversion :type: isofit.configs.sections.inversion_config.InversionConfig :value: None optional config for running in inversion mode. :type: InversionConfig .. py:attribute:: _n_cores_type .. py:attribute:: n_cores :value: None number of cores to use. :type: int .. py:attribute:: _task_inflation_factor_type .. py:attribute:: task_inflation_factor :value: 10 Submit task_inflation_factor*n_cores number of tasks. :type: int .. py:attribute:: _ip_head_type .. py:attribute:: ip_head :value: None Ray - parameter. IP-head (for multi-node runs). :type: str .. py:attribute:: _redis_password_type .. py:attribute:: redis_password :value: None Ray - parameter. Redis-password (for multi-node runs). :type: str .. py:attribute:: _ray_include_dashboard_type .. py:attribute:: ray_include_dashboard :value: False Ray - parameter. Boolean to include dashboard. :type: str .. py:attribute:: _ray_temp_dir_type .. py:attribute:: ray_temp_dir :value: '/tmp/ray' Overrides the standard ray temporary directory. Useful for multiuser systems. :type: str .. py:attribute:: _ray_ignore_reinit_error_type .. py:attribute:: ray_ignore_reinit_error :value: True Boolean to tell ray to ignore re-initilaization. Can be convenient for multiple Isofit instances. :type: bool .. py:attribute:: _io_buffer_size_type .. py:attribute:: io_buffer_size :value: 100 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 .. py:attribute:: _max_hash_table_size_type .. py:attribute:: max_hash_table_size :value: 50 The maximum size of inversion hash tables. Can provide speedups with redundant surfaces, but comes with increased memory costs. :type: int .. py:attribute:: _debug_mode_type .. py:attribute:: debug_mode :value: False A flag to run the code in debug mode, which circumvents ray. :type: bool .. py:attribute:: _isofit_version_type .. py:attribute:: isofit_version :value: '3.6.1' ISOFIT version used. :type: str .. py:method:: _check_config_validity() -> List[str]