{ } Raw JSON

bundles / astropy latest / astropy / io / fits / file / _File / writearray

function

astropy.io.fits.file:_File.writearray

source: /astropy/io/fits/file.py :432

Signature

def   writearray ( self array )

Summary

Similar to file.write(), but writes a numpy array instead of a string.

Extended Summary

Also like file.write(), a flush() or close() may be needed before the file on disk reflects the data written.

Aliases

  • astropy.io.fits.convenience._File.writearray