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.
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.
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.