Main Content

matlab.io.fits.getBColParms

Get binary table information

Syntax

[ttype,tunit,typechar,repeat,scale,zero,nulval,tdisp] = getBColParms(fptr,colnum)

Description

[ttype,tunit,typechar,repeat,scale,zero,nulval,tdisp] = getBColParms(fptr,colnum) gets information about an existing binary table column.

This function corresponds to the fits_get_bcolparms (ffgbcl) function in the CFITSIO library C API.

Examples

Get information about the second column in a binary table.

import matlab.io.*
fptr = fits.openFile('tst0012.fits');
fits.movAbsHDU(fptr,2);
[ttype,tunit,typechar,repeat,scale,zero,nulval,tdisp]= fits.getBColParms(fptr,2);
fits.closeFile(fptr);

See Also