This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| from typing import Any | |
| from nptyping import NDArray, Shape, Float, ComplexFloating | |
| import matplotlib.pyplot as plt | |
| def generateShapingFunction(n_pts: int, | |
| exp: float | |
| ) -> NDArray[Shape['Any'], Float]: | |
| f = np.ones(n_pts) |