pyHarm.DynamicOperator ====================== .. py:module:: pyHarm.DynamicOperator Functions --------- .. autoapisummary:: pyHarm.DynamicOperator.get_array_nh pyHarm.DynamicOperator.get_block_anh pyHarm.DynamicOperator.compute_DFT pyHarm.DynamicOperator.nabla Module Contents --------------- .. py:function:: get_array_nh(nh: int | list[int]) -> tuple[numpy.ndarray, bool, int] .. py:function:: get_block_anh(anh: numpy.ndarray, is_h0: bool, h_block: int) .. py:function:: compute_DFT(nti: int, nh: int | list[int]) -> dict[str:np.ndarray] Builds the Discrete Fourier Transform (DFT) operator adapted to the desired number of time samples and harmonics. :param nti: Number of time steps. :type nti: int :param nh: Number of harmonics. :type nh: int :returns: Dictionary containing DFT and DTF operators. :rtype: dict[np.ndarray] .. py:function:: nabla(nh: int | list[int]) -> numpy.ndarray Builds the Derivation operator. :param nh: Number of harmonics. :type nh: int :returns: Derivation operator in the frequency domain. :rtype: np.ndarray