parse_parameter

autoeis.parser.parse_parameter(p: str) str

Returns the type of a parameter label.

Parameters:

p (str) – String representation of the parameter label.

Returns:

The type of the parameter label from the set {R,C,L,Pn,Pw}.

Return type:

str

Examples

>>> parse_parameter("R1")
'R'
>>> parse_parameter("P2n")
'Pn'