Define python enums for normalization and Bessel function types.

Former-commit-id: 2dccf7654eec98ce598f82d2d31479dbab459f28
This commit is contained in:
Marek Nečada 2017-07-19 16:59:33 +03:00
parent 681d3817ff
commit 710efdc533
1 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,21 @@ module.
"""
import collections
import enum
class NormalizationT(enum.IntEnum):
""" Corresponding to the c type qpms_normalization_t from translations.h """
TAYLOR=1
UNDEF=0
class BesselT(enum.IntEnum):
""" Corresponding to the c type qpms_bessel_t from translations.h """
BESSEL_REGULAR = 1
BESSEL_SINGULAR = 2
HANKEL_PLUS = 3
HANKEL_MINUS = 4
UNDEF = 0
'''
The namedtuples below might become classes or other objects in later versions.