Subject: Proposal for smart event selection (AI30_18) T Hi, here's a first attempt to define how 'smart' selection could work. Comments are welcome, as usual: * If radiusLimit > 0 it is used as a fixed cut on radius. Other selections are still applied as explained below, if the program has suitable parameters. * radiusLimit < 0 is used as an alias for "try best selection". * The following parameters are used to set which cases of bad events to ignore (based on j_src_spectra.par, new ones marked by #): skipDeadAnode,b,h,y skipNearDeadAnode,b,h,y skipHotSpot,b,h,y skipBadOBT,b,h,y # skipBadGain,b,h,y # These exclusions would then be encoded into a total STATUS flag for bitwise comparison. In my view, the other known problems flagged at the event level should always be skipped. Otherwise additional parameters would be needed. * In addition to the above, I'd propose to allow to skip zones of high background. My problem is that I'm not quite sure how to best define them in an energy dependent fashion. I mean one could calculate the bkg flux per pixel in a given band and then make some sort of cut, but this could turn out to be heavy. Any ideas? regards, Peter