Speed improvements following benchmarks
-
Small improvements related to speed as a result of the benchmarks introduced in v1.7.2:
-
Kernels which do not exist for a given
ab
are now returned asNone
fromkernel.wavenumber
instead of arrays of zeroes. This permits for some time saving in the transforms. This change is backwards incompatible if you directly usedkernel.wavenumber
. Nothing changes for the user-facing routines inmodel
. -
Adjustments in
transform
with regard to theNone
returned bykernel.wavenumber
. The kernels are not checked anymore if they are all zeroes (which can be slow for big arrays). If they are not None, they will be processed. -
Various small improvements for speed to
transform.dlf
(i.e.factAng
;log10
/log
; re-arranging).
-