{ } Raw JSON

bundles / astropy latest / astropy / io / fits / column / _scalar_to_format

function

astropy.io.fits.column:_scalar_to_format

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

Signature

def   _scalar_to_format ( value )

Summary

Given a scalar value or string, returns the minimum FITS column format that can represent that value. 'minimum' is defined by the order given in FORMATORDER.

Aliases

  • astropy.io.fits.column._scalar_to_format