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?