MCPcopy Create free account
hub / github.com/PyTTaMaster/PyTTa / __parse_channels

Function __parse_channels

pytta/functions.py:804–814  ·  view source on GitHub ↗
(chDict, chList)

Source from the content-addressed store, hash-verified

802
803
804def __parse_channels(chDict, chList):
805 ch = 1
806 for key in chDict.keys():
807 chList[ch].num = key
808 chList[ch].unit = chDict[key]['unit']
809 chList[ch].name = chDict[key]['name']
810 chList[ch].CF = chDict[key]['calib'][0]
811 chList[ch].calibCheck\
812 = chDict[key]['calib'][1]
813 ch += 1
814 return chList
815
816
817def _h5_save(fileName: str, *PyTTaObjs):

Callers 1

__parse_loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected