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.psiTango, profileTango)
profileGene = interpolate(self.psiGene)
return profileGene
评论列表
文章目录