skued.change_basis_mesh

skued.change_basis_mesh(xx, yy, zz, basis1, basis2)

Changes the basis of meshgrid arrays.

Parameters:
  • xx (ndarrays) – Arrays of equal shape, such as produced by numpy.meshgrid.

  • yy (ndarrays) – Arrays of equal shape, such as produced by numpy.meshgrid.

  • zz (ndarrays) – Arrays of equal shape, such as produced by numpy.meshgrid.

  • basis1 (list of ndarrays, shape(3,)) – Basis of the mesh

  • basis2 (list of ndarrays, shape(3,)) – Basis in which to express the mesh

Returns:

XX, YY, ZZ

Return type:

~numpy.ndarray