DoitWriteIterationFields

Workspace.DoitWriteIterationFields(self: pyarts.arts._Workspace, 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, f_index: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.f_index, iterations: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex]] = std::initializer_list<Index>{-1}, frequencies: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex]] = std::initializer_list<Index>{-1}, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Writes DOIT iteration fields.

This method writes intermediate iteration fields to xml-files. The method can be used as a part of doit_conv_test_agenda.

The iterations to be stored are specified by iterations, e.g.

iterations = [3, 6, 9]

In this case the 3rd, 6th and 9th iterations are stored. If a number is larger than the total number of iterations, this number is ignored. If all iterations should be stored set:

iterations = [-1]

The frequencies to be stored are specified by frequencies in the same way as the iterations. The frequency index corresponds to the order of frequencies in f_grid.

The output files are named doit_iteration_fX_iY.xml with X being the frequency index and iY the iteration counter.

Author(s): Claudia Emde

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

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

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

  • iterations (ArrayOfIndex, optional) – Selection of iterations to store. Defaults to [-1] [IN]

  • frequencies (ArrayOfIndex, optional) – Selection of frequencies to store. Defaults to [-1] [IN]

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