craftutils.wrap.galfit.extract_fit_params(header: Header)

Extract the fitted parameters for all components from a GALFIT imgblock header.

Parameters
header: Header

the GALFIT-generated image header, as read by astropy.io.fits.

Returns

nested dict, with keys being the component name (COMP_1, COMP_2…) and values being another level of dicts; for this second level, keys are the model parameter names and values are the best-fitting values,