We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before pg.interpolate was a high-level Python function, the following worked for a 2D mesh:
pg.interpolate
# interpolate potential to surface x = np.linspace(emesh.xmin(), emesh.xmax(), 100) pot_surface = pg.interpolate(emesh, pot, x=x, y=np.ones_like(x) * height)
now the z argument has to be given explicitly:
z
# interpolate potential to surface x = np.linspace(emesh.xmin(), emesh.xmax(), 100) pot_surface = pg.interpolate(emesh, pot, x=x, y=np.ones_like(x) * height, z=np.zeros_like(x)) ```
The text was updated successfully, but these errors were encountered:
1.0.6, add, static ndim property to pg.Vector, pg.Matrix etc.; fix #131…
07b8106
…, add to tests
61c4a73
carsten-forty2
No branches or pull requests
Before
pg.interpolate
was a high-level Python function, the following worked for a 2D mesh:now the
z
argument has to be given explicitly:The text was updated successfully, but these errors were encountered: