- craftutils.wrap.galfit.extract_sersic_params(component_n: int, header: Header)
Pull the fitted parameter values for a Sersic profile from a GALFIT imgblock header. :param component_n: Component number (In header: COMP_N, where N is component_n) :param header: the GALFIT-generated image header, as read by astropy.io.fits. :return: dict with keys being parameter names and values fitted parameter values