Thursday 21 March 2013

1D extrapolation with scipy


from scipy.interpolate import interp1d

f = interp1d(motorExtrap.Frequency.values, 
    motorExtrap['dBP, 72m3perH'].values) # spline coeffs.
plot(motorExtrap.Frequency, motorExtrap['dBP, 72m3perH'], '+-')  # original
plot(powerInMelamine.Freq, f(powerInMelamine.Freq), '+-')        # linearly interpolated.

Thursday 7 March 2013

installing gmsh

At the moment, my favourite method is to download the automated nightly build, extract and run the binary from there.