Closed thelampire closed 4 years ago
Also, for cross-correlation, the [0,0] pixel has unity or higher correlation probably due to the same reason as the coherency malfunction.
I found the error. There were multiple lines line the following in plot.py for error checking:
try:
d[0,0] += 1
This actually adds 1 to the data object, but otherwise doesn't do any good. In thelampire-patch-3 I fixed it to:
try:
d[0,0]+1
There are three issues:
The first data point in the coherence can have a wrong value.![Screen Shot 2019-11-15 at 6 29 04 PM](https://user-images.githubusercontent.com/52581826/68982723-25fdb080-07d6-11ea-8846-8f3554bd1126.png)
Coherence can have a value > 1
Coherence is not unity when interval_n=1