nsrdb.utilities.interpolation.parse_method

parse_method(method)[source]

Parse a method string for a numeric option as the last char.

Parameters:

method (str) – Interpolation method string. Can have a numeric option as last char.

Returns:

option (int | None) – Numeric option if present in method, or None if no option is found.