@@ -14,7 +14,8 @@ Code in the [functions folder](https://ict.inaf.it/gitlab/heag-oar/scsearch/-/tr
### powdist.m (Poissonian and crosstalk noise distribution check for visual inspection)
powdist.m defines a function which briefly analyses a light curve to search for crosstalk signatures.It plots the light curve together with a simple Leahy-normalized power spectrum (PS) of the data and the same PS rebinned onto a quasi-logarithmic grid. Then, assuming that the observation is mostly composed of Poissonian noise modified by crosstalk, it generates the expected distribution in three different crosstalk models, and plots the counts-per-bin distribution both in the data and the models.
powdist.m defines a function which briefly analyses a light curve to search for crosstalk signatures.
It plots the light curve together with a simple Leahy-normalized power spectrum (PS) of the data and the same PS rebinned onto a quasi-logarithmic grid. Then, assuming that the observation is mostly composed of Poissonian noise modified by crosstalk, it generates the expected distribution in three different crosstalk models, and plots the counts-per-bin distribution both in the data and the models.
Plots are produced both with and without the `-nodesktop` option, but in the second case an interactive window will open too.
The function takes five arguments as input (NyqFreq,LC,Binned,PSname,Noisename) and returns three (extrVoverE,CrossTalkProb,HalfMeanPow).