matlab.io.fits.readBTblHdr
현재 Binary 테이블에서 헤더 정보 읽기
구문
[nrows,ttype,tform,tunit,extname,pcount] = readBTblHdr(fptr)
설명
[nrows,ttype,tform,tunit,extname,pcount] = readBTblHdr(fptr)
은 현재 Binary 테이블의 헤더 정보를 읽습니다.
이 함수는 CFITSIO 라이브러리 C API의 fits_read_btblhdrll (ffghbnll)
함수에 대응합니다.
예제
import matlab.io.* fptr = fits.openFile('tst0012.fits'); fits.movAbsHDU(fptr,2); [nrows,ttype,tform,tunit,extname,pcount] = fits.readBTblHdr(fptr); fits.closeFile(fptr);