New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pickling functionality #32
Comments
Seems like it'd be nice to have to me. Does pickling the |
I never checked, actually. All of the data that is actually kept is in NumPy arrays of standard types. The only possible question is the |
Yeah it does seem to work currently, though I agree it storing the Serializing just the arrays/args needed to re-construct the "fitted" spline would be good and avoids some of the usual concerns with pickling. Then you could have |
Another idea would be going back to |
Let's write an instance method I don't remember what the motivation was for |
Closed by #34 |
@ixjlyons Do you think it would be a nice feature to add some pickling functionality? I'm not sure how useful it would be practically, since the least squares and interpolating constructors are relatively fast, deterministic, etc. But it may help the aesthetic "completeness" or self-containment. I might also use it in other projects as a discipline, but it would be easy to add it to the other project if needed. For that project, I could also just store the arguments to the least square/interpolating constructors.
The text was updated successfully, but these errors were encountered: