I've been manipulating some data and I tried to plot it, with results that didn't make sense.
dif_fl
is an array with the dimension 4500, and dif_num
is a float.
derivative = dif_fl/dif_num
with open('der.txt', 'w') as fout:
derivative_str = str(derivative)
fout.write(derivative_str)
The file der.txt
looks like this:
[1.48088146e-38 1.59775424e-38 1.59922651e-38 ... 1.89016384e-16
1.91981531e-16 1.92202686e-16]
This should be another 4500 array, shouldn't it? Is there something, I'm missing?