Skip to content

Is interolate bicubic compatible with nonperiodic topographies ? #347

@sannant

Description

@sannant

def interpolate_bicubic(self, derivative='fourier'):
r"""
Returns a bicubic interpolation function based on the topography's heights
and slopes as obtained using finite-differences (derivative='fd') or Fourier
derivative (derivative='fourier').
Note that for nonperiodic line scans/topographies, interpolation only
works for positions between 0 and sx - sx/nx - i.e. the interpolated
physical domain of the topography is smaller than the nominal domain.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions