b1quint / samfp-tools

Short scripts to process data obtained with SAM-FP at SOAR Telecope
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

x2dmaps - Better way to extract the maps #10

Open b1quint opened 7 years ago

b1quint commented 7 years ago

The 2d maps that are usually of interest are:

Most of them can be pretty straightforward to obtain if there is only one line in the cube. The problem raises when we have more than one line in the data-cube. In that case, we will still have a single Continuum map but all the other three will have to be mapped for each line.

In order to identify if the data-cube has one or more lines, I will simply collapse (sum or average) it in x and y and look for the line positions. The window size that will be used to extract each of the maps will depend on the instrumental FWHM or the distance of the lines. This is a decision to be made or to be given as input.

b1quint commented 7 years ago

Now x2dmap reads the data and collapsed it in X and Y when the fitter object is created. It also gets the position of the maximum peak but it still does not separate this peak from other possible existing ones.