parse_function

pyarts.workspace.workspace.parse_function(func, arts, allow_callbacks, set_agenda)[source]

Parse python method as ARTS agenda

Parameters:
  • func – The function object to parse.

  • allow_callbacks – Whether to allow callbacks in the agenda.

Returns:

An ‘Agenda’ object containing the code in the given function.