Acoular 25.03 documentation

acoular.environments.cylToCart

«  acoular.environments.dist_mat   ::   environments   ::   acoular.environments.cartToCyl  »

acoular.environments.cylToCart

acoular.environments.cylToCart(x, Q=None)

Return cartesian coordinate representation of an input array in cylindrical coordinate.

Return the cartesian coordinate representation of a input position which was before transformed into a cylindrical coordinate, which has flow into positive z direction.

Parameters:
xnumpy.ndarray of floats

Cylindrical coordinates of N points, shape (3, N).

Qnumpy.ndarray of floats, optional

Orthogonal transformation matrix, shape (3, 3). If provided, the positional vectors are transformed via new_x = Q * x before transforming those modified coordinates into cartesian ones. Default is the identity matrix.

Returns:
numpy.ndarray of floats

Cartesian representation of given N points in cylindrical coodrinates as an array of shape (3, N) with coodinates \((x, y, z)\).

«  acoular.environments.dist_mat   ::   environments   ::   acoular.environments.cartToCyl  »