read_fits

read_fits(name, ugts_standard=0)[source]

Read an array from a fits file

Warning

The structure of the fits file must be simple: data into hdu[0].data

Parameters:
  • name (string) – PATH/name of the fits file
  • ugts_standard (bool) – flag to read from ugts Idet,Jdet orientation and make the transformation to Yecl,Zecl
Returns:

the data from the fits file

Return type:

array