default_channel_name()#

default_channel_name(path: str) → str[source]#

Return the channel name the inspection rules give an attribute path.

pymeasure channel attributes ch_<id> become ch<id> to match instro’s naming, and any character outside [A-Za-z0-9_] becomes _.

Parameters:

path

Attribute path, e.g. "ch_1.voltage_setpoint".

Returns:

Dotted channel name, e.g. "ch1.voltage_setpoint".