Closed rjassef closed 9 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
d3d7842
) 55.33% compared to head (dd23b23
) 55.33%.
Files | Patch % | Lines |
---|---|---|
rubin_sim/maf/metrics/qso_number_counts_metric.py | 50.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The code used an interpolation scheme from a pre-calculated table to obtain the expected QSO number counts as a function of redshift and magnitude.
The original code used scipy.interpolate.interp2d with a cubic spline, but this routine is being deprecated. I have updated the code to instead use scipy.interpolate.RectBivariateSpline also with a cubic spline. Testing shows that the results are the same for a range of redshift and magnitudes between the two methods.