gausspyplus icon indicating copy to clipboard operation
gausspyplus copied to clipboard

spectra position identification

Open lpagani91 opened this issue 3 years ago • 0 comments

I met two problems with the finalized list of gaussians returned by gausspy+:

  1. the CROTA value in the fits header of my data was ignored and therefore the absolute coordinates of the pixels got wrong. Of course, one can provide data only in the Ra-Dec frame or Galactic frame with no rotation but sometimes it is not convenient.

  2. the pixel numbering differs by 1 unit between the file and the fits file (most - all ? - fits handlers outside Python, like ds9, count pixels starting from 1 and not from 0). I suggest that an option be set in the gausspy+.ini file to decide whether the user wants a pixel count starting from 0 or from 1.

lpagani91 avatar Feb 12 '21 17:02 lpagani91