.TDMS 파일을 읽으려면 npTDMS 패키지 (http://nptdms.readthedocs.org/en/latest/)를 사용합니다. 문제는 내가 구문을 사용하여 채널 데이터를 얻고 싶은 것입니다 :nptdms로 채널 이름을 얻으십시오.
from nptdms import TdmsFile
tdms_file = TdmsFile("path_to_file.tdms")
channel = tdms_file.object('Group', 'Channel1')
나는 또한 데이터를 얻을 수 있습니다 알고있는 것처럼 :
TdmsFile.channel_data('Group', 'Channel1')
내가 함께 'Chanel1'를 얻을 수
:
TdmsFile.group_channels(group)
하지만이 반환
[<TdmsObject with path /'name_of_the_group'/'name_of_the_channel'>]
question7problem은 다음과 같습니다 어떻게 위의 출력에서만
name_of_the_channel
받을 수 있나요?