respace.ResultSet.get_nth_last_params#

ResultSet.get_nth_last_params(res_name: str, n: int = 1) dict[Hashable, Hashable][source]#

Get the dictionary of parameters for the nth last computation of res_name.

Parameters:
res_namestr

Name of the result for which to get the parameters.

nint

Negative index for which to get the parameters, meaning the method will return list_of_parameters[-n]. By default the parameters of the last computation will be returned.

Returns:
dict[Hashable, Hashable]

Dictionary with the parameters of the nth last computation of result res_name.