Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

matlab.io.fits.getBColParms

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

Was this topic helpful?