uf3.representation.angles.get_symmetry_weights

get_symmetry_weights(symmetry: int, l_space: numpy.ndarray, m_space: numpy.ndarray, n_space: numpy.ndarray, trailing_trim: int = 3) numpy.ndarray[source]
Parameters
  • symmetry (int) – Symmetry considered in system. Default is 2, resulting in one mirror plane along the l=m plane.

  • {l (np.ndarray) – knot sequences along three dimensions.

  • m (np.ndarray) – knot sequences along three dimensions.

  • n}_space (np.ndarray) – knot sequences along three dimensions.

  • trailing_trim (int) – number of basis functions at trailing edge to suppress. Useful for ensuring smooth cutoffs.

Returns

array of weights for basis functions,

shaped in three dimensions.

Return type

template (np.ndarray)