if(datascr.at(i)>0.25*data.at(i))//corresponds to nit-scores with a high-level of random counts even over the randomized data, i.e. the uninformative range.
{
data_sheared.at(i)=0;
...
...
@@ -302,7 +285,6 @@ void plot_v2::shear_left()
{
data_sheared.at(i)=data.at(i)-datascr.at(i);
}
//cout<<data_sheared.at(i)<<endl;
}
//2) Find the value for the maximum number of counts, and the index for it in data_sheared. Set all counts with nit-scores lower than this max to 0.