TH2D Spline, how?

Hello, i have a TH2 (x,y and a “weight”) and i need to do a spline, how can i do that in root? (i attach here the th2 in lego2z) Thanks!

Hi,

We don’t have in ROOT the implementation for 2D splines. We have only lineament interpolation for 2D histograms, see ROOT: TH2 Class Reference
or Delauney interpolation for irregular spaced points in case off TGraph2D, see
ROOT: TGraph2D Class Reference

cheers

Lorenzo

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.