File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ from functools import cached_property
2+
3+ import numpy as np
4+ import numpy .typing as npt
5+
16from .. import abc
27
38
@@ -6,4 +11,23 @@ class Pulse(abc.Pulse):
611 General pulse [Not implemented yet].
712 """
813
9- pass
14+ def waveform (self , t : npt .ArrayLike ) -> npt .NDArray [np .floating ]:
15+ raise NotImplementedError
16+
17+ def spectrum (self , f : npt .ArrayLike ) -> npt .NDArray [np .complexfloating ]:
18+ raise NotImplementedError
19+
20+ def autocorrelation (self , tau : npt .ArrayLike ) -> npt .NDArray [np .floating ]:
21+ raise NotImplementedError
22+
23+ def energy_density_spectrum (self , f : npt .ArrayLike ) -> npt .NDArray [np .floating ]:
24+ raise NotImplementedError
25+
26+ @cached_property
27+ def support (self ) -> tuple [float , float ]:
28+ raise NotImplementedError
29+
30+ def taps (
31+ self , samples_per_symbol : int , span : tuple [int , int ] | None = None
32+ ) -> npt .NDArray [np .floating ]:
33+ return super ().taps (samples_per_symbol , span )
You can’t perform that action at this time.
0 commit comments