## Line integral under surface defined by meshgrid values – Python

I need to calculate the line integral between two points (x1,y1) and (x2,y2) under a surface defined by values on a meshgrid. I’m not exactly sure on the best tool/approach to use for this process …