Changes
Page history
Update subtraction_arbitrary_pred
authored
Mar 16, 2021
by
Kentaro Mogushi
Hide whitespace changes
Inline
Side-by-side
home/subtraction_arbitrary_pred.md
View page @
e53ec895
...
...
@@ -2,4 +2,16 @@
Because the subtraction is made by dividing the segments and find the amplitude and phase by the least square method,I am concern with what if I use an arbitrary predicted waveform. Do I get no subtraction?
# test waveform 0
```
t = np.linspace(0, 8, pred_test_ts.shape[-1])
a = np.sin(t)
plt.plot(t, a)
plt.savefig('test.png')
plt.close()
```
