Pre-compile numba based core routines (cmomy.compile)

Pre-compile numba based core routines (cmomy.compile)#

This can be called from python using :func:load_numba_modules or from the command line with

python -m cmomy.compile [--help]

Functions:

load_numba_modules([include_all, ...])

Compile numba modules by loading them.

cmomy.compile.load_numba_modules(include_all=True, include_cov=None, include_parallel=None, include_vec=None, include_resample=None, include_indexed=None, include_convert=None)[source]#

Compile numba modules by loading them.

Default is to include all submodules. To override, set include_all=False, and select other packages manually. For example, to only load resampling with with co-moments, use load_numba_modules(include_all=False, include_cov=True, include_resample=True).