Update subtraction_arbitrary_pred authored by Kentaro Mogushi's avatar Kentaro Mogushi
......@@ -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()
```
![Screen_Shot_2021-03-16_at_6.44.03_PM](uploads/d9550136ed86e03205ef810bcf287263/Screen_Shot_2021-03-16_at_6.44.03_PM.png)