ContactEngineering / SurfaceTopography

Read and analyze surface topographies
https://contactengineering.github.io/SurfaceTopography/
MIT License
17 stars 10 forks source link

Is interolate bicubic compatible with nonperiodic topographies ? #347

Open sannant opened 10 months ago

sannant commented 10 months ago

https://github.com/ContactEngineering/SurfaceTopography/blob/b036215c57887c41186ec57565ef97c31dd1ca73/SurfaceTopography/Uniform/Interpolation.py#L100-L108

From the docstring it seems that with the finite differences derivatives it is.

However, the function raises an error when the provided topography is not periodic

pastewka commented 5 days ago

It should be compatible with it. The bicubic interpolation itself does not support periodicity.

pastewka commented 5 days ago

I have to correct myself. The bicubic interpolation does support periodicity.