Open nfcarl opened 1 year ago
@nfcarl Which version of pyuvdata are you seeing this?
The most recent version.
To clarify, the main issue is that it should detect a change in spline_opts
and perhaps provide an error message, rather than just running the program. If we have reuse_spline=True
, then we probably want it to tell you if you are trying to change the spline_opts
it won't use the new options.
This isn't intrinsically a bug, if the reuse_spline keyword is set, it should reuse the old spline. But the docstrings should be clarified to say that spline_opts is ignored if reuse_spline is True.
It appears that
.interp()
function will not adjust to changes made inspline_opts
ifresuse_spline=True
. In order forspline_opts
to work, it needsreuse_spline=False
, which is not ideal. This should be fixed so that the parameter will reuse the spline unless there are changes made to the spline options.Thank you!