필터 지우기
필터 지우기

Import data from *.ch file

조회 수: 4 (최근 30일)
Davide Masiello
Davide Masiello 2024년 4월 23일
편집: Austin M. Weber 2024년 5월 11일
Hello - has anyone ever tried to import gas chromatograph data from files with .ch extension?
  댓글 수: 2
Mathieu NOE
Mathieu NOE 2024년 4월 23일
편집: Mathieu NOE 2024년 4월 30일
I am not really in that business but just in case it would help :
Austin M. Weber
Austin M. Weber 2024년 5월 11일
편집: Austin M. Weber 2024년 5월 11일
I downloaded the chemstation_130.ch file from the chromConverter repository and it looks like it's possible to extract the data using fread:
file_name = 'chemstation_130.ch';
fid = fopen(file_name);
data = fread(fid);
fclose(fid)
figure
area(data,'EdgeColor','none')
xlim([0 500])
However, while it appears to be a GC spectrum, this method doesn't provide any metadata so I can't be sure what the units are. @Davide Masiello, you might try opening your own files using fread to see if the data match what you would expect.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by