I changed some lines to make it working without iPython Notebook - but  it still doesnt work the way I like it, probably because variables arent passed from "read_data" to "interpolation"