def field_interpolator(self, celldata):
#Need to turn off bounds errors and fill values to allow extrapolation
fn = RegularGridInterpolator((self.grid[0], self.grid[1], self.grid[2]),
celldata, bounds_error=False, fill_value=None)
return fn
评论列表
文章目录