Closed henrikef closed 2 years ago
Merging #188 (057acf9) into dev (751f206) will not change coverage. The diff coverage is
0.00%
.
@@ Coverage Diff @@
## dev #188 +/- ##
=======================================
Coverage 81.86% 81.86%
=======================================
Files 66 66
Lines 8119 8119
=======================================
Hits 6647 6647
Misses 1472 1472
@henrikef maybe with a np.power call? or some numba? otherwise looks good.
Fix the super-exponential cutoff PL in the numba functions.
The log of the value needs to be
instead of
In the latter, xc and gamma were degenerate (so this was equivalent to an exponential cutoff PL with cutoff energy xc/gamma, not a true superexponential cutoff PL).
In the distant past, the function looked like this:
@grburgess please let me know if there's anyhing you'd like to do to speed up the
(x[i] / xc)**gamma
term.