With this function, one can only read the header of the standard output fits files of the TIGRE/HEROS automatic data reduction pipeline.
The syntax is:
function ReadSpecHeaderOnly(file [, small=yes])
Input:
file: Name of the fits file
Optional:
small: One use small=yes if one read the small fits file
Returns:
result[0]: Header of the spectrum
result[1]: Header of the image
For the small fits file:
result[0]: Header of the spectrum
Exsample: