pyHarm.DynamicOperator¶
Functions¶
|
|
|
|
|
Builds the Discrete Fourier Transform (DFT) operator adapted to the desired number of time samples and harmonics. |
|
Builds the Derivation operator. |
Module Contents¶
- pyHarm.DynamicOperator.get_array_nh(nh: int | list[int]) tuple[numpy.ndarray, bool, int]¶
- pyHarm.DynamicOperator.get_block_anh(anh: numpy.ndarray, is_h0: bool, h_block: int)¶
- pyHarm.DynamicOperator.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.
- Parameters:
nti (int) – Number of time steps.
nh (int) – Number of harmonics.
- Returns:
Dictionary containing DFT and DTF operators.
- Return type:
dict[np.ndarray]
- pyHarm.DynamicOperator.nabla(nh: int | list[int]) numpy.ndarray¶
Builds the Derivation operator.
- Parameters:
nh (int) – Number of harmonics.
- Returns:
Derivation operator in the frequency domain.
- Return type:
np.ndarray