{ } Raw JSON

bundles / astropy latest / astropy / io / fits / column / _parse_tdisp_format

function

astropy.io.fits.column:_parse_tdisp_format

source: /astropy/io/fits/column.py :2600

Signature

def   _parse_tdisp_format ( tdisp )

Summary

Parse the TDISPn keywords for ASCII and binary tables into a (format, width, precision, exponential) tuple (the TDISP values for ASCII and binary are identical except for 'Lw', which is only present in BINTABLE extensions.

Parameters

tdisp : str

TDISPn FITS Header keyword. Used to specify display formatting.

Returns

: formatc: str

The format characters from TDISPn

: width: str

The width int value from TDISPn

: precision: str

The precision int value from TDISPn

: exponential: str

The exponential int value from TDISPn

Aliases

  • astropy.io.fits.column._parse_tdisp_format