Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 779 Bytes

backend_module.md

File metadata and controls

28 lines (21 loc) · 779 Bytes
title keywords sidebar permalink summary tags toc editdoc
backend_module()
spherical harmonics software package, spherical harmonic transform, legendre functions, multitaper spectral analysis, Python, gravity, magnetic field
mydoc_sidebar
backend_module.html
python
false
pydoc

Return the specified backend module used for the spherical harmonic transforms in pyshtools.

Usage

module = backend_module([backend, nthreads])

Parameters

backend : str, optional, default = preferred_backend() : Name of the preferred backend, either 'shtools' or 'ducc'.

nthreads : int, optional, default = 1 : Number of threads to use for the 'ducc' backend. Setting this parameter to 0 will use as many threads as there are hardware threads on the system.