multiwavelength / gleam

Galaxy Line Emission & Absorption Modeling
https://github.com/multiwavelength/gleam
BSD 3-Clause "New" or "Revised" License
25 stars 6 forks source link

Number of zoom in plots does not match number of connected line components #33

Open multiwavelength opened 2 years ago

multiwavelength commented 2 years ago

The zoom-in plots are sometimes too narrow and lots of space is left on the right side. This is because the number of zoom-in plots is calculated as a function of the number of connected line components. However, some of these spectral lines might not be covered by the spectrum (i.e. too low or too high wavelength), so a fit is never attempted for them. The number of plots should thus take into account only the components that are covered by the spectrum.