isofit.utils.algebraic_line =========================== .. py:module:: isofit.utils.algebraic_line Classes ------- .. autoapisummary:: isofit.utils.algebraic_line.Worker Functions --------- .. autoapisummary:: isofit.utils.algebraic_line.algebraic_line isofit.utils.algebraic_line.cli Module Contents --------------- .. py:function:: algebraic_line(rdn_file: str, loc_file: str, obs_file: str, isofit_dir: str, isofit_config: str = None, segmentation_file: str = None, num_neighbors: list = None, atm_sigma: list = None, n_cores: int = -1, num_iter: int = 1, output_rfl_file: str = None, atm_file: str = None, logging_level: str = 'INFO', log_file: str = None) -> None Run pixel-wise algebraic inversions, using provided atmosphere file. If no atmosphere file is provided, it will be created via interpolation from the state solution. :param rdn_file: Path to the radiance file :param loc_file: Path to the location file :param obs_file: Path to the observation file :param isofit_dir: Path to the isofit directory :param isofit_config: Path to the isofit configuration file :param segmentation_file: Path to the segmentation file (optional) :param num_neighbors: Number of atmospheric neighbors to use for interpolation :param atm_sigma: Smoothing sigma for the atmospheric interpolation :param n_cores: Number of cores to use for parallel processing :param num_iter: Number of iterations for the inversion :param output_rfl_file: Path to the output reflectance file :param atm_file: Path to the atmosphere file :param logging_level: Logging level (default: INFO) :param log_file: Path to the log file (default: None) :returns: None .. py:class:: Worker(config: isofit.configs.configs.Config, fm: isofit.core.forward.ForwardModel, RT_state_file: str, algebraic_rfl_file: str, rdn_file: str, loc_file: str, obs_file: str, subs_state_file: str, lbl_file: str, num_iter: int, logging_level: str, log_file: str) Bases: :py:obj:`object` .. py:attribute:: config .. py:attribute:: fm .. py:attribute:: iv .. py:attribute:: rfl_bounds .. py:attribute:: completed_spectra :value: 0 .. py:attribute:: hash_table .. py:attribute:: hash_size :value: 500 .. py:attribute:: RT_state_file .. py:attribute:: rdn_file .. py:attribute:: loc_file .. py:attribute:: obs_file .. py:attribute:: algebraic_rfl_file .. py:attribute:: subs_state_file .. py:attribute:: lbl_file .. py:attribute:: atm_bands :value: [] .. py:attribute:: num_iter .. py:method:: run_lines(startstop: tuple) -> None Run the algebraic line algorithm for a set of lines. :param startstop: tuple of (start_line, stop_line) to process :returns: None .. py:function:: cli(**kwargs) Execute the algebraic line algorithm