{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / hdu / base / _BaseHDU / _writedata_internal

function

astropy.io.fits.hdu.base:_BaseHDU._writedata_internal

source: /astropy/io/fits/hdu/base.py :678

Signature

def   _writedata_internal ( self fileobj )

Summary

The beginning and end of most _writedata() implementations are the same, but the details of writing the data array itself can vary between HDU types, so that should be implemented in this method.

Extended Summary

Should return the size in bytes of the data written.

Aliases

  • astropy.io.fits.convenience._BaseHDU._writedata_internal