Fix typo & types
This commit is contained in:
parent
2283a9a778
commit
73914bbac5
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
from science_signal.signal import Signal
|
from science_signal.signal import Signal # type: ignore[reportMissingTypeStubs]
|
||||||
from backscattering_analyzer import logger
|
from backscattering_analyzer import logger
|
||||||
|
|
||||||
from numpy.typing import NDArray
|
from numpy.typing import NDArray
|
||||||
|
@ -22,7 +22,7 @@ def process_movement(
|
||||||
- mirror * calibrations["mirror"]
|
- mirror * calibrations["mirror"]
|
||||||
)
|
)
|
||||||
.detrend("constant")
|
.detrend("constant")
|
||||||
.filter(end=5 * vibration_frequency)
|
.filter(end=1)
|
||||||
.detrend("constant")
|
.detrend("constant")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -46,4 +46,4 @@ def compute_light(
|
||||||
sqrt(pre_scatter_factor)
|
sqrt(pre_scatter_factor)
|
||||||
/ phase
|
/ phase
|
||||||
* (coupling_n * factor_n + coupling_d * factor_d).y
|
* (coupling_n * factor_n + coupling_d * factor_d).y
|
||||||
)
|
) # type: ignore[reportAny]
|
||||||
|
|
Loading…
Reference in a new issue