cuperiod.get_method

cuperiod.get_method(name)[source]

Look up a registered method by name.

Matching ignores case and any non-alphanumeric characters, so "String-Length", "StringLength" and "STRINGLENGTH" all resolve to the same method.

Raises:

UnknownMethodError – If no method is registered under name.

Parameters:

name (str)

Return type:

PeriodogramMethod