Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7935519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:56:49+00:00 2026-06-03T21:56:49+00:00

I have a mesh generated from cloudpoint, which could be described as z =

  • 0

I have a mesh generated from cloudpoint, which could be described as z = f(x,y), so I’m using scipy.interpolate.bisplrep and bisplev, with good results.

bisplev can be used with parameters dx=n and/or dy=n so that the results are derivatives of order n at the evaluated points. I plan to use this to calculate mean and gaussian curvatures (called surfature in Matlab), and that should involve getting the second-order partial derivatives of the survace

The results using one of the partial derivatives at a time, say dx are great, clearly representing the gradient as a “shading” effect, as seen in this image from a human back (code first):

    self.spline = inter.bisplrep(self.pointlist[:,1],
                                 self.pointlist[:,0],
                                 self.pointlist[:,2], s=smoothing_factor)
    self.mesh_shadow = inter.bisplev(yy.flat, xx.flat, self.spline, dy=1)

enter image description here

So far, so good. The problem is: I can’t understand (and can’t find any explanation) what’s the meaning of the result when I ask for both partial derivatives at the same time, since there isn’t any obvious numeric or visual meaning. For example, if I use dx AND dy:

self.mesh_shadow = inter.bisplev(yy.flat, xx.flat, self.spline, dx=1, dy=1)

I get this:
enter image description here

So, I wonder:

  1. What’s the mathematical/geometrical meaning of the simultaneous result of first-order partial derivatives of a surface as given by bislplev(..., dx=1, dy=1), if any?
  2. Would there be a way to get the maximum slope (in any direction) from bislplev(..., dx=1, dy=1)?
  3. Are both partial derivatives supposed to be called together, in the first place? I see I can use, say, (..., dx=1, dy=2) and the function seems to produce “valid” results, but would that make any sense?

Every time, the returned value is a (Y,X)-shaped array of single float values (Z or one of its derivative-related values).

Any help?

Thanks for reading

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:56:51+00:00Added an answer on June 3, 2026 at 9:56 pm
    1. The partial derivative you get with dx=n, dy=m is the mathematical object (or rather, its numerical approximation)

      (d/dx)^n (d/dy)^m f(x,y)

    2. You cannot compute the Gaussian curvature just from dx=2,dy=0 and dx=0,dy=2 — you in general also need also the cross-derivative dx=1,dy=1.

    3. Partial derivatives (d/dx)^n (d/dy)^m f(x,y) are mathematically well-defined. With splines, if you go to too high orders, you should start getting zeros or discontinuities.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an irregular mesh which is described by two variables - a faces
Suppose we have some mesh (see the illustrating picture from CorelDraw, which uses the
Does anyone have any pointers to good resources concerning mesh networks? Maybe I'm not
I have a Mesh object returned from Mesh::TextFromFont and I am trying to set
I'm currently having a problem texturing a mesh that is generated using a marching
I have to render mesh array in using libgdx in render(). I used handler
I have a human face mesh that was created using the mirror editing, so
I want to have a mesh that can be animated. I'm loading mesh from
I am working on a piece of software which generated a polygon mesh to
I have a QGLWidget in which I am rendering a dynamic mesh. What I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.