def map_profile_onto_turb_grid(self, profileTango):
"""Since Tango's domain is larger than GENE's in both directions, we can use a simple interpolating spline to
resample the profile on GENE's grid.
"""
interpolate = scipy.interpolate.InterpolatedUnivariateSpline(self.xTango, profileTango)
profileTurb = interpolate(self.xTurb)
return profileTurb
评论列表
文章目录