Basis.make_subbasis

Basis.make_subbasis(argument, *, metric=None, name=None, orthonormal=False)[source]

Make a new basis with coefficients or indices in reference to the current basis.

Parameters
  • argument (BasisArgument) – Sequence, slice, or array defining the sub-basis with respect to the parent basis.

  • metric (np.ndarray | None) – Metric of the sub-basis. Default: None.

  • name (str | None) – Name of sub-basis. Default: None.

  • orthonormal (bool) – True if the sub-basis is orthonormal. Default: False.

Returns

Sub-basis of parent.

Return type

Basis