def get_line_profile(self, array):
"""Retrieve line profile of data on a 2D array
:param ndarray array: the data array
"""
# Extract the values along the line, using cubic interpolation
zi = map_coordinates(array, self.profile_coords)
return zi
评论列表
文章目录