fusion-flap / flap

Fusion Library of Analysis Programs
MIT License
11 stars 5 forks source link

Cross-correlation function calculation #72

Closed thelampire closed 3 years ago

thelampire commented 4 years ago

When cross-correlation functions are calculated, the covariance should be divided by both autocorrelation functions, the plot channel's and the reference channel's.

sandorzoletnik commented 4 years ago

Look for calc_acf in the code. This is a flag and tells that the ACFs should be calculated separately. This is the case then there is a ref input. Then look for "if (norm)", there you can see how the ACFs are used.

Unfortunately the photon peak correction is not there. Could be done as is was in FLIPP.

thelampire commented 3 years ago

Issue raised separately for the photon peak subtraction, the rest is answered. I am closing this issue.