[AstroPy] modifying FITS data

Jean-Luc Menut jeanluc.menut at free.fr
Wed Jun 1 11:01:26 EDT 2011


Le 31/05/2011 18:17, Erik Bray a écrit :
> orig['OI_VIS'].data['VISAMP'][:] = the_value

Thanks a lot to you and Frédéric.

I actually must type :
orig['OI_VIS'].data.field('VISAMP')[:] = the_value

But it works.

Thanks again

Jean-Luc



More information about the AstroPy mailing list