pcdsdevices.mpod.get_card_number

pcdsdevices.mpod.get_card_number(channel)

Helper function for creating the card prefix for HV channels.

For channels [0-7] - it will return ‘’ For channels [000-015] - it will return `0 For channels [100-107] - it will return `10 FOr channels [200-207] - it will return `20 and so on…

Parameters:

channel (str)

Returns:

channel (int or empty string) – Number to use for the MPOD card.