Skip to content

Instantly share code, notes, and snippets.

Working from home

Joe Kington joferkington

Working from home
Block or report user

Report or block joferkington

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# -*- coding: utf-8 -*-
Benchmark for spline interpolation of a 3D wind field, using the function map_coordinates.
The spline interpolation is about 46000 times slower than a linear interpolation.
It is also about 10000 times slower than an equivalent program, written in the programming
language Julia.
import time
import numpy as np
from scipy import ndimage
You can’t perform that action at this time.