refactor: numpy as np
This commit is contained in:
parent
2f2e519772
commit
d9ad1e87f7
@ -2,7 +2,7 @@
|
|||||||
This module provides a class for creating a pseudo signal that is computed from other signals.
|
This module provides a class for creating a pseudo signal that is computed from other signals.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import numpy
|
import numpy as np
|
||||||
import scipy
|
import scipy
|
||||||
|
|
||||||
from functools import reduce
|
from functools import reduce
|
||||||
@ -83,7 +83,7 @@ class ComputedSignal(SignalRO):
|
|||||||
@compute_method.setter
|
@compute_method.setter
|
||||||
def compute_method(self, method: str):
|
def compute_method(self, method: str):
|
||||||
"""
|
"""
|
||||||
Set the compute method for the pseudo signal. We import numpy and scipy as packages
|
Set the compute method for the pseudo signal. We import numpy (as np) and scipy as packages
|
||||||
that are also available for user to use in their compute method.
|
that are also available for user to use in their compute method.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user