{ } Raw JSON

bundles / astropy latest / astropy / io / fits / util / _extract_number

function

astropy.io.fits.util:_extract_number

source: /astropy/io/fits/util.py :809

Signature

def   _extract_number ( value default )

Summary

Attempts to extract an integer number from the given value. If the extraction fails, the value of the 'default' argument is returned.

Aliases

  • astropy.io.fits.util._extract_number