def _make_interp_function(self):
'''Generates an interpolation function for this instance of MTF, used to
procure MTF at exact frequencies.`
Args:
none
Returns:
:class:`MTF`, this instance of an MTF object.
'''
if not hasattr(self, 'interpf'):
self.interpf = interpolate.RegularGridInterpolator((self.unit_x, self.unit_y), self.data)
return self
评论列表
文章目录