to_intrinsic_n_rosy#
- iskra.directional.to_intrinsic_n_rosy(v: Tensor, tangents: Tensor, binormals: Tensor, n: int) Tensor[SOURCE]#
Constructs an N-RoSy field from a 3D vector.
Important
This function assumes that
vis already in the plane spanned by the basis vectors.- Parameters:
v (
Tensor[Float, [B, 3]]) – Vector to be projected. It can be any of the vectors in the N-RoSy field. The rest follow from the degree of symmetry.tangents (
Tensor[Float, [B, 3]]) – First basis vector.binormals (
Tensor[Float, [B, 3]]) – Second basis vector.n (int) – The degree of symmetry of the N-RoSy field.
- Returns:
(
Tensor[Complex, [B]]) – Intrinsic N-RoSy field withvas one of its roots.