ZLP integral as an input from other method in hyperspy is calculated using the simpson rule. Now it works this way.