set_array_and_header_from_file

set_array_and_header_from_file(filename, ugts_standard=0)[source]

read a fits file

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

array of the data, len of the first dim (=size of the square array), header object

Return type:

array, int, HDUList