​get, comm)[source]

opt_get is used to query the value of options available to supported problem solving functions in submodule fit. Currently, only dim2_spline_ts_sctr() is supported.

For full information please refer to the NAG Library document for e02zl


A string identifying the option whose current value is required. See Other Parameters for dim2_spline_ts_sctr for information on valid options. In addition, the following is a valid option:


opt_get returns the function name supplied to opt_set() when the option arrays [‘iopts’] and [‘opts’] were initialized.

commdict, communication object

Communication structure.

This argument must have been initialized by a prior call to opt_set().


The option-value dict, with the following keys:

'value'float, int or str

The value of the requested option.

'annotation'None or str

Possible additional information about the option value.

(errno )

On entry, the option in was not recognized: .

(errno )

On entry, either the option arrays have not been initialized or they have been corrupted.

(errno )

On entry, indicates a character option, but is too short to hold the stored value. The returned value will be truncated.


opt_get is used to query the current values of options. It is necessary to initalize option arrays using opt_set() before any options are queried.

Information on option names and whether these options are real, integer or character can be found in Other Parameters for dim2_spline_ts_sctr.