Thank for the changes.
It would be nice, if recalculating phot_to and phot_to_params can be avoided by simply making them optional parameters in find_transform().
This line should only be executed under the condition ifnothing(phot_to).
This for aligning many frames to the same reference, this can significantly speed up the calculations as redoing the photometry for the reference image can be skipped.
Luckily these phot_to parameters are already returned.
It is actually eneought to just pass phot_to since the rest seems not to be used anyway.
Thank for the changes.
It would be nice, if recalculating
phot_toandphot_to_paramscan be avoided by simply making them optional parameters infind_transform().This line should only be executed under the condition
ifnothing(phot_to).This for aligning many frames to the same reference, this can significantly speed up the calculations as redoing the photometry for the reference image can be skipped.
Luckily these
phot_toparameters are already returned.It is actually eneought to just pass
phot_tosince the rest seems not to be used anyway.