- craftutils.wrap.galfit.extract_rotation_params(component_n: int, header: Header)
Pull the fitted parameter values for a coordinate-rotated model 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