Open pmelchior opened 2 months ago
Perhaps I am misunderstanding, for the fitting, do I not want to git a Gaussian morphology based on the deconvolution? I.e --> steps 1-5 identical -- >step 5.5: get the deconvolved moments from #48 --> proceed to step 6
Or, do you mean get the moments from the originally fitted Gaussian, then deconvolve those moments, then build a new Gaussian discarding the previous one made with steps 1-10?
PR #47 brings a single Gaussian morphology that is measured from the data in the largest box we deem safe. This approach and the multi-component capability from #44 allow for a more capable parameterization.
GaussianMorphology
from these moments.ArraySpectrum
from $F / \mathrm{morph.sum()}$.At the end of this procedure, deconvolve from the PSF as explained in #48.
This procedure creates a list of nested Gaussian components, each with its own spectrum, where the inner ones are piled on top of the outer ones. We should return this source with its multiple components because this is a totally valid parameterization of many complex galaxies. One could enforce that all components are centered at the same place, but I don't think we need to.
One could also flatten them into a free-form
ArrayMorphology
by computing the flux-weighted average morphology of all components.