astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- World Coordinate System (`astropy.wcs`) »
- Reference/API »
- local_partial_pixel_derivatives

# local_partial_pixel_derivatives

astropy.wcs.utils.local_partial_pixel_derivatives(wcs, *pixel, normalize_by_world=False)

  Return a matrix of shape `(world_n_dim, pixel_n_dim)` where each entry `[i, j]` is the partial derivative d(world_i)/d(pixel_j) at the requested pixel position.

  Parameters:
    wcs `WCS`

      The WCS transformation to evaluate the derivatives for.

    *pixel `python:float`

      The scalar pixel coordinates at which to evaluate the derivatives.

    normalize_by_world bool

      If `True`, the matrix is normalized so that for each world entry the derivatives add up to 1.