craftutils.wrap.galfit.spiral_from_model_dict(model_dict: dict, r: Quantity, **kwargs)

A wrapper for spiral_log_tanh() that does the work of unpacking the model dict returned by extract_fit_params. :param model_dict: dict containing output model param names as keys; the dictionaries generated by

extract_fit_params corresponding to “COMP_N” will work as they are, so long as they have rotation parameters.

Parameters
r: Quantity

r coordinate of point(s); distance from the centre of the spiral model, in pixels.

**kwargs

Any other keywords you wish to pass to the spiral_log_tanh function. Warning: if keys overlap with model_dict, the model_dict entries will be overwritten by the kwargs entries.

Returns