Ask Your Question
0

Is there a way to save the object returned by Rbf?

asked 2011-05-05 01:36:01 +0200

Shashank gravatar image

I am trying to use Rbf from scipy to interpolate scattered data. Is there a way to save the returned object (the function returned by Rbf command) rather than constructing the Rbf everytime I run the program. I saw this comment in rbf.py

attach anything left in kwargs to self for use by any user-callable function or to save on the object returned.

But I am not sure how to use it or whether it is actually what I am trying to do.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-05-05 06:09:37 +0200

Shashank gravatar image

Sorry about not googling enough before posting the question. There is something called a "pickle" to do this.

http://docs.python.org/library/pickle.html

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-05-05 01:36:01 +0200

Seen: 138 times

Last updated: May 05 '11