Skip to content

Analytical line

source module isofit.utils.analytical_line

Classes

  • Worker — Worker class to help run a subset of spectra. Args: fm: isofit forward_model loglevel: output logging level logfile: output logging file

Functions

source retrieve_winidx(config)

source analytical_line(rdn_file: str, loc_file: str, obs_file: str, isofit_dir: str, isofit_config: str = None, segmentation_file: str = None, n_atm_neighbors: list = [20], n_cores: int = -1, num_iter: int = 1, smoothing_sigma: list = [2], output_rfl_file: str = None, output_unc_file: str = None, atm_file: str = None, skyview_factor_file: str = None, bgrfl_file: str = None, loglevel: str = 'INFO', logfile: str = None, initializer: str = 'algebraic', segmentation_size: int = 40) → None

TODO: Description

source class Worker(config: Config, fm: ForwardModel, surface_class_str: str, class_idx_pairs: np.array, full_statevector: list, full_idx_surface: np.array, full_idx_surf_rfl: np.array, full_idx_atmosphere: np.array, rdn_file: str, loc_file: str, obs_file: str, atm_file: str, subs_state_file: str, lbl_file: str, rfl_output: str, unc_output: str, non_rfl_output: str, non_rfl_unc_output: str, num_iter: int, loglevel: str, logfile: str, initializer: str, skyview_factor_file: str, bgrfl_file: str)

Bases : object

Worker class to help run a subset of spectra. Args: fm: isofit forward_model loglevel: output logging level logfile: output logging file

Methods

source method Worker.run_chunks(line_breaks: tuple, fill_value: float = -9999.0) → None

TODO: Description

Raises

  • ValueError

source cli(**kwargs)

Execute the analytical line algorithm