1#!/usr/bin/env python
2# The pyfftw namespace
3
4''' The core of ``pyfftw`` consists of the :class:`FFTW` class,
5:ref:`wisdom functions <wisdom_functions>` and a couple of
6:ref:`utility functions <utility_functions>` for dealing with aligned
7arrays.
8
9This module represents the full interface to the underlying `FFTW
10library <http://www.fftw.org/>`_. However, users may find it easier to
11use the helper routines provided in :mod:`pyfftw.builders`. Default values
12used by the helper routines can be controlled as via
13:ref:`configuration variables <configuration_variables>`.
14'''
15
16import os
17
18from .pyfftw import (
19        FFTW,
20        export_wisdom,
21        import_wisdom,
22        forget_wisdom,
23        simd_alignment,
24        n_byte_align_empty,
25        n_byte_align,
26        is_n_byte_aligned,
27        byte_align,
28        is_byte_aligned,
29        empty_aligned,
30        ones_aligned,
31        zeros_aligned,
32        next_fast_len,
33        _supported_types,
34        _supported_nptypes_complex,
35        _supported_nptypes_real,
36        _all_types_human_readable,
37        _all_types_np,
38        _threading_type
39)
40
41from . import config
42from . import builders
43from . import interfaces
44
45
46# clean up the namespace
47del builders.builders
48
49from ._version import get_versions
50__version__ = get_versions()['version']
51del get_versions
52