Bins 2 lists into a 1 or 2 dimensional object
CALL EVPOLAR( STATUS )
A binned polar dataset is produced from 2 lists from the input dataset.
The azimuthal axis is always regularly spaced, and is specified by the number of bins. The radial axis may be regularly or irregularly spaced. If regular, bin width and number of bins are specified : if irregular, the bin bounds.
All bins are INCLUSIVE of their lower bound and EXCLUSIVE of their upper bound.
The way QUALITY lists are handled is controlled by 2 parameters QVAL, and QKEEP. Values present in the quality list > QVAL are treated as bad quality values. If QKEEP is true, then bad events are written to the output DATA_ARRAY, and the corresponding element of the output QUALITY array is set to bad (i.e.1). If QKEEP is false, then all bad events are simply ignored, and no output QUALITY array is produced.