pr_curve_post_processing function

Postprocessing of pr curve data