fusion-flap/flap

Photon peak subtraction

Closed this issue · 3 comments

corr_binned_acf_ref = np.take(corr_binned_acf_ref,zero_ind_out[i],axis=0)

corr_binned_acf = np.take(corr_binned_acf,zero_ind_out[i],axis=corr_dimension_start)

I figured out that the photon peak subtraction should be performed here. However, I don't understand why there is a difference between line 1677 and 1661 at the axis. Shouldn't they both start from axis= corr_dimension_start?

I can't really test this in a general way. I have 1D and 2D data, but nothing complicated.

My bad, the reference channel is shited to the start while the other acf is shifted to the end. I'm still curious why this is happening, though.

This is finished, it needs to be merged.

Merging needs to be approved, otherwise closing the issue.