detected_npts_comparison¶
- rubin_sim.maf.run_comparison.detected_npts_comparison(detect_results, npts_results, npts_required=10)¶
Returns an array of the following form where A = detect criteria and B = npts criteria: [[(Yes A and Yes B), (Yes A and No B)], [(No A and Yes B), (No A and No B)]] where Yes A and Yes B are the number of events that pass both the A and B criteria.
- Parameters:
- detect_resultsnumpy array
Array of results from running the detect metric of the microlensing metric
- npts_resultsnumpy array
Array of results from running the Npts metric of the microlensing metric
- npts_requiredint (Default is 10).
Number of poitns within 2tE required for the number of points fraction.