doit_conv_flagLsq

Workspace.doit_conv_flagLsq(self: pyarts.arts._Workspace, doit_conv_flag: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.doit_conv_flag, doit_iteration_counter: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.doit_iteration_counter, cloudbox_field_mono: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor6]] = self.cloudbox_field_mono, cloudbox_field_mono_old: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor6]] = self.cloudbox_field_mono_old, f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_grid, f_index: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.f_index, epsilon: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector], max_iterations: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 100, nonconv_return_nan: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

DOIT convergence test (least squares).

As doit_conv_flagAbsBT() but applies a least squares convergence test between two successive iteration fields.

Warning: This method is not recommended because this kind of convergence test is not sufficiently strict, so that the DOIT result might be wrong.

Author(s): Claudia Emde

Parameters:
  • doit_conv_flag (Index, optional) – Flag for the convergence test. See doit_conv_flag, defaults to self.doit_conv_flag [INOUT]

  • doit_iteration_counter (Index, optional) – Counter for number of iterations. See doit_iteration_counter, defaults to self.doit_iteration_counter [INOUT]

  • cloudbox_field_mono (Tensor6, optional) – Monochromatic radiation field inside the cloudbox. See cloudbox_field_mono, defaults to self.cloudbox_field_mono [INOUT]

  • cloudbox_field_mono_old (Tensor6, optional) – As cloudbox_field_mono but from previous iteration. See cloudbox_field_mono_old, defaults to self.cloudbox_field_mono_old [IN]

  • f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See f_grid, defaults to self.f_grid [IN]

  • f_index (Index, optional) – Frequency index. See f_index, defaults to self.f_index [IN]

  • epsilon (Vector) – Limits for convergence. A vector with length matching stokes_dim with unit [K]. [IN]

  • max_iterations (Index, optional) – Maximum number of iterations allowed to reach convergencelimit. Defaults to 100 [IN]

  • nonconv_return_nan (Index, optional) – Flag whether to accept result at max_iterations (0=default)or whether to return NaNs in case of non-convergence atmax_iterations. Defaults to 0 [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]