{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / util / _convert_array

function

astropy.io.fits.util:_convert_array

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

Signature

def   _convert_array ( array dtype )

Summary

Converts an array to a new dtype--if the itemsize of the new dtype is the same as the old dtype and both types are not numeric, a view is returned. Otherwise a new array must be created.

Aliases

  • astropy.io.fits.column._convert_array