maka89
- 66
- 4
Hi,
I have a project at uni where I am making an approximate analytical expression for a parameter and comparing the result with more rigorous simulations. The thing is: the parameter I am comparing is the 2d-integral of the results from the simulations over some area, and the simulation results comes out on a regular grid.
I have made a script in python and my procedure is:
1. Aquire a function by interpolating the output of the simulation ( which is on a 101x101 grid ).
2. Integrate this function over the integration area using an adaptive integration routine.
3. Compare result with the analytical expression.
Now, I would like to find out how much error there is in the integral due to the interpolation. Is there any way to do this?
Will happily clarify or give more info if needed.
Thanks =)
I have a project at uni where I am making an approximate analytical expression for a parameter and comparing the result with more rigorous simulations. The thing is: the parameter I am comparing is the 2d-integral of the results from the simulations over some area, and the simulation results comes out on a regular grid.
I have made a script in python and my procedure is:
1. Aquire a function by interpolating the output of the simulation ( which is on a 101x101 grid ).
2. Integrate this function over the integration area using an adaptive integration routine.
3. Compare result with the analytical expression.
Now, I would like to find out how much error there is in the integral due to the interpolation. Is there any way to do this?
Will happily clarify or give more info if needed.
Thanks =)