Skip to content

Instantly share code, notes, and snippets.

@tschoonj
Created December 12, 2016 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tschoonj/888cb289c80c4ce53027a18ea5c12ca6 to your computer and use it in GitHub Desktop.
Save tschoonj/888cb289c80c4ce53027a18ea5c12ca6 to your computer and use it in GitHub Desktop.
Cython clang issue
This file has been truncated, but you can view the full file.
/* Generated by Cython 0.25.2 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
#error Cython requires Python 2.6+ or Python 3.2+.
#else
#define CYTHON_ABI "0_25_2"
#include <stddef.h>
#ifndef offsetof
#define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
#ifndef __stdcall
#define __stdcall
#endif
#ifndef __cdecl
#define __cdecl
#endif
#ifndef __fastcall
#define __fastcall
#endif
#endif
#ifndef DL_IMPORT
#define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
#define DL_EXPORT(t) t
#endif
#ifndef HAVE_LONG_LONG
#if PY_VERSION_HEX >= 0x03030000 || (PY_MAJOR_VERSION == 2 && PY_VERSION_HEX >= 0x02070000)
#define HAVE_LONG_LONG
#endif
#endif
#ifndef PY_LONG_LONG
#define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
#define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
#define CYTHON_COMPILING_IN_PYPY 1
#define CYTHON_COMPILING_IN_PYSTON 0
#define CYTHON_COMPILING_IN_CPYTHON 0
#undef CYTHON_USE_TYPE_SLOTS
#define CYTHON_USE_TYPE_SLOTS 0
#undef CYTHON_USE_ASYNC_SLOTS
#define CYTHON_USE_ASYNC_SLOTS 0
#undef CYTHON_USE_PYLIST_INTERNALS
#define CYTHON_USE_PYLIST_INTERNALS 0
#undef CYTHON_USE_UNICODE_INTERNALS
#define CYTHON_USE_UNICODE_INTERNALS 0
#undef CYTHON_USE_UNICODE_WRITER
#define CYTHON_USE_UNICODE_WRITER 0
#undef CYTHON_USE_PYLONG_INTERNALS
#define CYTHON_USE_PYLONG_INTERNALS 0
#undef CYTHON_AVOID_BORROWED_REFS
#define CYTHON_AVOID_BORROWED_REFS 1
#undef CYTHON_ASSUME_SAFE_MACROS
#define CYTHON_ASSUME_SAFE_MACROS 0
#undef CYTHON_UNPACK_METHODS
#define CYTHON_UNPACK_METHODS 0
#undef CYTHON_FAST_THREAD_STATE
#define CYTHON_FAST_THREAD_STATE 0
#undef CYTHON_FAST_PYCALL
#define CYTHON_FAST_PYCALL 0
#elif defined(PYSTON_VERSION)
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_PYSTON 1
#define CYTHON_COMPILING_IN_CPYTHON 0
#ifndef CYTHON_USE_TYPE_SLOTS
#define CYTHON_USE_TYPE_SLOTS 1
#endif
#undef CYTHON_USE_ASYNC_SLOTS
#define CYTHON_USE_ASYNC_SLOTS 0
#undef CYTHON_USE_PYLIST_INTERNALS
#define CYTHON_USE_PYLIST_INTERNALS 0
#ifndef CYTHON_USE_UNICODE_INTERNALS
#define CYTHON_USE_UNICODE_INTERNALS 1
#endif
#undef CYTHON_USE_UNICODE_WRITER
#define CYTHON_USE_UNICODE_WRITER 0
#undef CYTHON_USE_PYLONG_INTERNALS
#define CYTHON_USE_PYLONG_INTERNALS 0
#ifndef CYTHON_AVOID_BORROWED_REFS
#define CYTHON_AVOID_BORROWED_REFS 0
#endif
#ifndef CYTHON_ASSUME_SAFE_MACROS
#define CYTHON_ASSUME_SAFE_MACROS 1
#endif
#ifndef CYTHON_UNPACK_METHODS
#define CYTHON_UNPACK_METHODS 1
#endif
#undef CYTHON_FAST_THREAD_STATE
#define CYTHON_FAST_THREAD_STATE 0
#undef CYTHON_FAST_PYCALL
#define CYTHON_FAST_PYCALL 0
#else
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_PYSTON 0
#define CYTHON_COMPILING_IN_CPYTHON 1
#ifndef CYTHON_USE_TYPE_SLOTS
#define CYTHON_USE_TYPE_SLOTS 1
#endif
#if PY_MAJOR_VERSION < 3
#undef CYTHON_USE_ASYNC_SLOTS
#define CYTHON_USE_ASYNC_SLOTS 0
#elif !defined(CYTHON_USE_ASYNC_SLOTS)
#define CYTHON_USE_ASYNC_SLOTS 1
#endif
#if PY_VERSION_HEX < 0x02070000
#undef CYTHON_USE_PYLONG_INTERNALS
#define CYTHON_USE_PYLONG_INTERNALS 0
#elif !defined(CYTHON_USE_PYLONG_INTERNALS)
#define CYTHON_USE_PYLONG_INTERNALS 1
#endif
#ifndef CYTHON_USE_PYLIST_INTERNALS
#define CYTHON_USE_PYLIST_INTERNALS 1
#endif
#ifndef CYTHON_USE_UNICODE_INTERNALS
#define CYTHON_USE_UNICODE_INTERNALS 1
#endif
#if PY_VERSION_HEX < 0x030300F0
#undef CYTHON_USE_UNICODE_WRITER
#define CYTHON_USE_UNICODE_WRITER 0
#elif !defined(CYTHON_USE_UNICODE_WRITER)
#define CYTHON_USE_UNICODE_WRITER 1
#endif
#ifndef CYTHON_AVOID_BORROWED_REFS
#define CYTHON_AVOID_BORROWED_REFS 0
#endif
#ifndef CYTHON_ASSUME_SAFE_MACROS
#define CYTHON_ASSUME_SAFE_MACROS 1
#endif
#ifndef CYTHON_UNPACK_METHODS
#define CYTHON_UNPACK_METHODS 1
#endif
#ifndef CYTHON_FAST_THREAD_STATE
#define CYTHON_FAST_THREAD_STATE 1
#endif
#ifndef CYTHON_FAST_PYCALL
#define CYTHON_FAST_PYCALL 1
#endif
#endif
#if !defined(CYTHON_FAST_PYCCALL)
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
#endif
#if CYTHON_USE_PYLONG_INTERNALS
#include "longintrepr.h"
#undef SHIFT
#undef BASE
#undef MASK
#endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
#define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#if PY_MAJOR_VERSION < 3
#define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#define __Pyx_DefaultClassType PyClass_Type
#else
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#define __Pyx_DefaultClassType PyType_Type
#endif
#ifndef Py_TPFLAGS_CHECKTYPES
#define Py_TPFLAGS_CHECKTYPES 0
#endif
#ifndef Py_TPFLAGS_HAVE_INDEX
#define Py_TPFLAGS_HAVE_INDEX 0
#endif
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
#define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#ifndef Py_TPFLAGS_HAVE_FINALIZE
#define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#ifndef METH_FASTCALL
#define METH_FASTCALL 0x80
typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject **args,
Py_ssize_t nargs, PyObject *kwnames);
#else
#define __Pyx_PyCFunctionFast _PyCFunctionFast
#endif
#if CYTHON_FAST_PYCCALL
#define __Pyx_PyFastCFunction_Check(func)\
((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)))))
#else
#define __Pyx_PyFastCFunction_Check(func) 0
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
#define CYTHON_PEP393_ENABLED 1
#define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ?\
0 : _PyUnicode_Ready((PyObject *)(op)))
#define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u)
#define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
#define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) PyUnicode_MAX_CHAR_VALUE(u)
#define __Pyx_PyUnicode_KIND(u) PyUnicode_KIND(u)
#define __Pyx_PyUnicode_DATA(u) PyUnicode_DATA(u)
#define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i)
#define __Pyx_PyUnicode_WRITE(k, d, i, ch) PyUnicode_WRITE(k, d, i, ch)
#define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
#else
#define CYTHON_PEP393_ENABLED 0
#define PyUnicode_1BYTE_KIND 1
#define PyUnicode_2BYTE_KIND 2
#define PyUnicode_4BYTE_KIND 4
#define __Pyx_PyUnicode_READY(op) (0)
#define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_SIZE(u)
#define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
#define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
#define __Pyx_PyUnicode_KIND(u) (sizeof(Py_UNICODE))
#define __Pyx_PyUnicode_DATA(u) ((void*)PyUnicode_AS_UNICODE(u))
#define __Pyx_PyUnicode_READ(k, d, i) ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
#define __Pyx_PyUnicode_WRITE(k, d, i, ch) (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
#define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_SIZE(u))
#endif
#if CYTHON_COMPILING_IN_PYPY
#define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b)
#define __Pyx_PyUnicode_ConcatSafe(a, b) PyNumber_Add(a, b)
#else
#define __Pyx_PyUnicode_Concat(a, b) PyUnicode_Concat(a, b)
#define __Pyx_PyUnicode_ConcatSafe(a, b) ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\
PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
#define PyUnicode_Contains(u, s) PySequence_Contains(u, s)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
#define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
#define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
#define PyObject_Malloc(s) PyMem_Malloc(s)
#define PyObject_Free(p) PyMem_Free(p)
#define PyObject_Realloc(p) PyMem_Realloc(p)
#endif
#if CYTHON_COMPILING_IN_PYSTON
#define __Pyx_PyCode_HasFreeVars(co) PyCode_HasFreeVars(co)
#define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
#else
#define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0)
#define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
#endif
#define __Pyx_PyString_FormatSafe(a, b) ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b) ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyString_Format(a, b) PyUnicode_Format(a, b)
#else
#define __Pyx_PyString_Format(a, b) PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII)
#define PyObject_ASCII(o) PyObject_Repr(o)
#endif
#if PY_MAJOR_VERSION >= 3
#define PyBaseString_Type PyUnicode_Type
#define PyStringObject PyUnicodeObject
#define PyString_Type PyUnicode_Type
#define PyString_Check PyUnicode_Check
#define PyString_CheckExact PyUnicode_CheckExact
#endif
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
#define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
#define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
#define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
#define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
#endif
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
#if PY_MAJOR_VERSION >= 3
#define PyIntObject PyLongObject
#define PyInt_Type PyLong_Type
#define PyInt_Check(op) PyLong_Check(op)
#define PyInt_CheckExact(op) PyLong_CheckExact(op)
#define PyInt_FromString PyLong_FromString
#define PyInt_FromUnicode PyLong_FromUnicode
#define PyInt_FromLong PyLong_FromLong
#define PyInt_FromSize_t PyLong_FromSize_t
#define PyInt_FromSsize_t PyLong_FromSsize_t
#define PyInt_AsLong PyLong_AsLong
#define PyInt_AS_LONG PyLong_AS_LONG
#define PyInt_AsSsize_t PyLong_AsSsize_t
#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask
#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
#define PyNumber_Int PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
#define PyBoolObject PyLongObject
#endif
#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
#ifndef PyUnicode_InternFromString
#define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
#endif
#endif
#if PY_VERSION_HEX < 0x030200A4
typedef long Py_hash_t;
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
#define __Pyx_PyInt_AsHash_t PyInt_AsLong
#else
#define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
#define __Pyx_PyInt_AsHash_t PyInt_AsSsize_t
#endif
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#else
#define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
#if CYTHON_USE_ASYNC_SLOTS
#if PY_VERSION_HEX >= 0x030500B1
#define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
#define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
#else
typedef struct {
unaryfunc am_await;
unaryfunc am_aiter;
unaryfunc am_anext;
} __Pyx_PyAsyncMethodsStruct;
#define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
#endif
#else
#define __Pyx_PyType_AsAsync(obj) NULL
#endif
#ifndef CYTHON_RESTRICT
#if defined(__GNUC__)
#define CYTHON_RESTRICT __restrict__
#elif defined(_MSC_VER) && _MSC_VER >= 1400
#define CYTHON_RESTRICT __restrict
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define CYTHON_RESTRICT restrict
#else
#define CYTHON_RESTRICT
#endif
#endif
#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define CYTHON_UNUSED __attribute__ ((__unused__))
# else
# define CYTHON_UNUSED
# endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
# define CYTHON_UNUSED __attribute__ ((__unused__))
# else
# define CYTHON_UNUSED
# endif
#endif
#ifndef CYTHON_MAYBE_UNUSED_VAR
# if defined(__cplusplus)
template<class T> void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
# else
# define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
# endif
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON
# define CYTHON_NCP_UNUSED
# else
# define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
#ifndef CYTHON_INLINE
#if defined(__clang__)
#define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
#elif defined(__GNUC__)
#define CYTHON_INLINE __inline__
#elif defined(_MSC_VER)
#define CYTHON_INLINE __inline
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define CYTHON_INLINE inline
#else
#define CYTHON_INLINE
#endif
#endif
#if defined(WIN32) || defined(MS_WINDOWS)
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
float value;
memset(&value, 0xFF, sizeof(value));
return value;
}
#endif
#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
#define __Pyx_truncl trunc
#else
#define __Pyx_truncl truncl
#endif
#define __PYX_ERR(f_index, lineno, Ln_error) \
{ \
__pyx_filename = __pyx_f[f_index]; __pyx_lineno = lineno; __pyx_clineno = __LINE__; goto Ln_error; \
}
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y)
#define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y)
#else
#define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
#define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
#endif
#ifndef __PYX_EXTERN_C
#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#else
#define __PYX_EXTERN_C extern
#endif
#endif
#define __PYX_HAVE__xraylib_np
#define __PYX_HAVE_API__xraylib_np
#include "xraylib.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "numpy/arrayobject.h"
#include "numpy/ufuncobject.h"
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */
#ifdef PYREX_WITHOUT_ASSERTIONS
#define CYTHON_WITHOUT_ASSERTIONS
#endif
typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;
#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_uchar_cast(c) ((unsigned char)c)
#define __Pyx_long_cast(x) ((long)x)
#define __Pyx_fits_Py_ssize_t(v, type, is_signed) (\
(sizeof(type) < sizeof(Py_ssize_t)) ||\
(sizeof(type) > sizeof(Py_ssize_t) &&\
likely(v < (type)PY_SSIZE_T_MAX ||\
v == (type)PY_SSIZE_T_MAX) &&\
(!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\
v == (type)PY_SSIZE_T_MIN))) ||\
(sizeof(type) == sizeof(Py_ssize_t) &&\
(is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\
v == (type)PY_SSIZE_T_MAX))) )
#if defined (__cplusplus) && __cplusplus >= 201103L
#include <cstdlib>
#define __Pyx_sst_abs(value) std::abs(value)
#elif SIZEOF_INT >= SIZEOF_SIZE_T
#define __Pyx_sst_abs(value) abs(value)
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
#define __Pyx_sst_abs(value) labs(value)
#elif defined (_MSC_VER) && defined (_M_X64)
#define __Pyx_sst_abs(value) _abs64(value)
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define __Pyx_sst_abs(value) llabs(value)
#elif defined (__GNUC__)
#define __Pyx_sst_abs(value) __builtin_llabs(value)
#else
#define __Pyx_sst_abs(value) ((value<0) ? -value : value)
#endif
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
#if PY_MAJOR_VERSION < 3
#define __Pyx_PyStr_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
#define __Pyx_PyStr_FromString __Pyx_PyUnicode_FromString
#define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyObject_AsSString(s) ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s) ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromCString(s) __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
#if PY_MAJOR_VERSION < 3
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
{
const Py_UNICODE *u_end = u;
while (*u_end++) ;
return (size_t)(u_end - u - 1);
}
#else
#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
#endif
#define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
#define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_ASSUME_SAFE_MACROS
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
#else
#define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x))
#endif
#define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Float(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
PyObject* sys;
PyObject* default_encoding = NULL;
PyObject* ascii_chars_u = NULL;
PyObject* ascii_chars_b = NULL;
const char* default_encoding_c;
sys = PyImport_ImportModule("sys");
if (!sys) goto bad;
default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL);
Py_DECREF(sys);
if (!default_encoding) goto bad;
default_encoding_c = PyBytes_AsString(default_encoding);
if (!default_encoding_c) goto bad;
if (strcmp(default_encoding_c, "ascii") == 0) {
__Pyx_sys_getdefaultencoding_not_ascii = 0;
} else {
char ascii_chars[128];
int c;
for (c = 0; c < 128; c++) {
ascii_chars[c] = c;
}
__Pyx_sys_getdefaultencoding_not_ascii = 1;
ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
if (!ascii_chars_u) goto bad;
ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
PyErr_Format(
PyExc_ValueError,
"This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
default_encoding_c);
goto bad;
}
Py_DECREF(ascii_chars_u);
Py_DECREF(ascii_chars_b);
}
Py_DECREF(default_encoding);
return 0;
bad:
Py_XDECREF(default_encoding);
Py_XDECREF(ascii_chars_u);
Py_XDECREF(ascii_chars_b);
return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
PyObject* sys;
PyObject* default_encoding = NULL;
char* default_encoding_c;
sys = PyImport_ImportModule("sys");
if (!sys) goto bad;
default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
Py_DECREF(sys);
if (!default_encoding) goto bad;
default_encoding_c = PyBytes_AsString(default_encoding);
if (!default_encoding_c) goto bad;
__PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
Py_DECREF(default_encoding);
return 0;
bad:
Py_XDECREF(default_encoding);
return -1;
}
#endif
#endif
/* Test for GCC > 2.95 */
#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
#define likely(x) (x)
#define unlikely(x) (x)
#endif /* __GNUC__ */
static PyObject *__pyx_m;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static PyObject *__pyx_empty_unicode;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;
/* Header.proto */
#if !defined(CYTHON_CCOMPLEX)
#if defined(__cplusplus)
#define CYTHON_CCOMPLEX 1
#elif defined(_Complex_I)
#define CYTHON_CCOMPLEX 1
#else
#define CYTHON_CCOMPLEX 0
#endif
#endif
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
#include <complex>
#else
#include <complex.h>
#endif
#endif
#if CYTHON_CCOMPLEX && !defined(__cplusplus) && defined(__sun__) && defined(__GNUC__)
#undef _Complex_I
#define _Complex_I 1.0fj
#endif
static const char *__pyx_f[] = {
"xraylib_np.pyx",
"__init__.pxd",
"type.pxd",
};
/* BufferFormatStructs.proto */
#define IS_UNSIGNED(type) (((type) -1) > 0)
struct __Pyx_StructField_;
#define __PYX_BUF_FLAGS_PACKED_STRUCT (1 << 0)
typedef struct {
const char* name;
struct __Pyx_StructField_* fields;
size_t size;
size_t arraysize[8];
int ndim;
char typegroup;
char is_unsigned;
int flags;
} __Pyx_TypeInfo;
typedef struct __Pyx_StructField_ {
__Pyx_TypeInfo* type;
const char* name;
size_t offset;
} __Pyx_StructField;
typedef struct {
__Pyx_StructField* field;
size_t parent_offset;
} __Pyx_BufFmt_StackElem;
typedef struct {
__Pyx_StructField root;
__Pyx_BufFmt_StackElem* head;
size_t fmt_offset;
size_t new_count, enc_count;
size_t struct_alignment;
int is_complex;
char enc_type;
char new_packmode;
char enc_packmode;
char is_valid_array;
} __Pyx_BufFmt_Context;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":725
* # in Cython to enable them only on the right systems.
*
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t
*/
typedef npy_int8 __pyx_t_5numpy_int8_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":726
*
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
* ctypedef npy_int32 int32_t
* ctypedef npy_int64 int64_t
*/
typedef npy_int16 __pyx_t_5numpy_int16_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":727
* ctypedef npy_int8 int8_t
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
* ctypedef npy_int64 int64_t
* #ctypedef npy_int96 int96_t
*/
typedef npy_int32 __pyx_t_5numpy_int32_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":728
* ctypedef npy_int16 int16_t
* ctypedef npy_int32 int32_t
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
* #ctypedef npy_int96 int96_t
* #ctypedef npy_int128 int128_t
*/
typedef npy_int64 __pyx_t_5numpy_int64_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":732
* #ctypedef npy_int128 int128_t
*
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t
*/
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":733
*
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
* ctypedef npy_uint32 uint32_t
* ctypedef npy_uint64 uint64_t
*/
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":734
* ctypedef npy_uint8 uint8_t
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
* ctypedef npy_uint64 uint64_t
* #ctypedef npy_uint96 uint96_t
*/
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":735
* ctypedef npy_uint16 uint16_t
* ctypedef npy_uint32 uint32_t
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
* #ctypedef npy_uint96 uint96_t
* #ctypedef npy_uint128 uint128_t
*/
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":739
* #ctypedef npy_uint128 uint128_t
*
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
* ctypedef npy_float64 float64_t
* #ctypedef npy_float80 float80_t
*/
typedef npy_float32 __pyx_t_5numpy_float32_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":740
*
* ctypedef npy_float32 float32_t
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
* #ctypedef npy_float80 float80_t
* #ctypedef npy_float128 float128_t
*/
typedef npy_float64 __pyx_t_5numpy_float64_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":749
* # The int types are mapped a bit surprising --
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t # <<<<<<<<<<<<<<
* ctypedef npy_longlong long_t
* ctypedef npy_longlong longlong_t
*/
typedef npy_long __pyx_t_5numpy_int_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":750
* # numpy.int corresponds to 'l' and numpy.long to 'q'
* ctypedef npy_long int_t
* ctypedef npy_longlong long_t # <<<<<<<<<<<<<<
* ctypedef npy_longlong longlong_t
*
*/
typedef npy_longlong __pyx_t_5numpy_long_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":751
* ctypedef npy_long int_t
* ctypedef npy_longlong long_t
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
*
* ctypedef npy_ulong uint_t
*/
typedef npy_longlong __pyx_t_5numpy_longlong_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":753
* ctypedef npy_longlong longlong_t
*
* ctypedef npy_ulong uint_t # <<<<<<<<<<<<<<
* ctypedef npy_ulonglong ulong_t
* ctypedef npy_ulonglong ulonglong_t
*/
typedef npy_ulong __pyx_t_5numpy_uint_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":754
*
* ctypedef npy_ulong uint_t
* ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<<
* ctypedef npy_ulonglong ulonglong_t
*
*/
typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":755
* ctypedef npy_ulong uint_t
* ctypedef npy_ulonglong ulong_t
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
*
* ctypedef npy_intp intp_t
*/
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":757
* ctypedef npy_ulonglong ulonglong_t
*
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
* ctypedef npy_uintp uintp_t
*
*/
typedef npy_intp __pyx_t_5numpy_intp_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":758
*
* ctypedef npy_intp intp_t
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
*
* ctypedef npy_double float_t
*/
typedef npy_uintp __pyx_t_5numpy_uintp_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":760
* ctypedef npy_uintp uintp_t
*
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
* ctypedef npy_double double_t
* ctypedef npy_longdouble longdouble_t
*/
typedef npy_double __pyx_t_5numpy_float_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":761
*
* ctypedef npy_double float_t
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
* ctypedef npy_longdouble longdouble_t
*
*/
typedef npy_double __pyx_t_5numpy_double_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":762
* ctypedef npy_double float_t
* ctypedef npy_double double_t
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
*
* ctypedef npy_cfloat cfloat_t
*/
typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
/* Declarations.proto */
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
typedef ::std::complex< float > __pyx_t_float_complex;
#else
typedef float _Complex __pyx_t_float_complex;
#endif
#else
typedef struct { float real, imag; } __pyx_t_float_complex;
#endif
static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float);
/* Declarations.proto */
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
typedef ::std::complex< double > __pyx_t_double_complex;
#else
typedef double _Complex __pyx_t_double_complex;
#endif
#else
typedef struct { double real, imag; } __pyx_t_double_complex;
#endif
static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double);
/*--- Type declarations ---*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":764
* ctypedef npy_longdouble longdouble_t
*
* ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<<
* ctypedef npy_cdouble cdouble_t
* ctypedef npy_clongdouble clongdouble_t
*/
typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":765
*
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<<
* ctypedef npy_clongdouble clongdouble_t
*
*/
typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":766
* ctypedef npy_cfloat cfloat_t
* ctypedef npy_cdouble cdouble_t
* ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<<
*
* ctypedef npy_cdouble complex_t
*/
typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":768
* ctypedef npy_clongdouble clongdouble_t
*
* ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew1(a):
*/
typedef npy_cdouble __pyx_t_5numpy_complex_t;
/* "xraylib_np.pyx":1522
*
*
* def XRL_1I(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1530
* return fun
*
* def XRL_1F(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1538
* return fun
*
* def XRL_2IF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1548
* return fun
*
* def XRL_2II(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None):
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1558
* return fun
*
* def XRL_2FF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1568
* return fun
*
* def XRL_3IFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1580
* return fun
*
* def XRL_3FFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1592
* return fun
*
* def XRL_3IIF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None,
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* "xraylib_np.pyx":1604
* return fun
*
* def XRL_4IFFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF {
PyObject_HEAD
PyObject *__pyx_v_fun_wrap;
};
/* --- Runtime support code (head) --- */
/* Refnanny.proto */
#ifndef CYTHON_REFNANNY
#define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
typedef struct {
void (*INCREF)(void*, PyObject*, int);
void (*DECREF)(void*, PyObject*, int);
void (*GOTREF)(void*, PyObject*, int);
void (*GIVEREF)(void*, PyObject*, int);
void* (*SetupContext)(const char*, int, const char*);
void (*FinishContext)(void**);
} __Pyx_RefNannyAPIStruct;
static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname);
#define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
#define __Pyx_RefNannySetupContext(name, acquire_gil)\
if (acquire_gil) {\
PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
__pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
PyGILState_Release(__pyx_gilstate_save);\
} else {\
__pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
}
#else
#define __Pyx_RefNannySetupContext(name, acquire_gil)\
__pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
#define __Pyx_RefNannyFinishContext()\
__Pyx_RefNanny->FinishContext(&__pyx_refnanny)
#define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
#define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
#define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
#define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
#define __Pyx_XINCREF(r) do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
#define __Pyx_XDECREF(r) do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
#define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
#define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
#define __Pyx_RefNannyDeclarations
#define __Pyx_RefNannySetupContext(name, acquire_gil)
#define __Pyx_RefNannyFinishContext()
#define __Pyx_INCREF(r) Py_INCREF(r)
#define __Pyx_DECREF(r) Py_DECREF(r)
#define __Pyx_GOTREF(r)
#define __Pyx_GIVEREF(r)
#define __Pyx_XINCREF(r) Py_XINCREF(r)
#define __Pyx_XDECREF(r) Py_XDECREF(r)
#define __Pyx_XGOTREF(r)
#define __Pyx_XGIVEREF(r)
#endif
#define __Pyx_XDECREF_SET(r, v) do {\
PyObject *tmp = (PyObject *) r;\
r = v; __Pyx_XDECREF(tmp);\
} while (0)
#define __Pyx_DECREF_SET(r, v) do {\
PyObject *tmp = (PyObject *) r;\
r = v; __Pyx_DECREF(tmp);\
} while (0)
#define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
/* PyObjectGetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
PyTypeObject* tp = Py_TYPE(obj);
if (likely(tp->tp_getattro))
return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
if (likely(tp->tp_getattr))
return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
return PyObject_GetAttr(obj, attr_name);
}
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif
/* GetBuiltinName.proto */
static PyObject *__Pyx_GetBuiltinName(PyObject *name);
/* ArgTypeTest.proto */
static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
const char *name, int exact);
/* BufferFormatCheck.proto */
static CYTHON_INLINE int __Pyx_GetBufferAndValidate(Py_buffer* buf, PyObject* obj,
__Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts);
static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
__Pyx_BufFmt_StackElem* stack,
__Pyx_TypeInfo* type); // PROTO
/* GetModuleGlobalName.proto */
static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);
/* PyCFunctionFastCall.proto */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
#else
#define __Pyx_PyCFunction_FastCall(func, args, nargs) (assert(0), NULL)
#endif
/* PyFunctionFastCall.proto */
#if CYTHON_FAST_PYCALL
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
__Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
#else
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
#endif
#endif
/* PyObjectCall.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif
/* PyObjectCallMethO.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif
/* PyObjectCallOneArg.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
/* ExtTypeTest.proto */
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);
#define __Pyx_BufPtrStrided1d(type, buf, i0, s0) (type)((char*)buf + i0 * s0)
#define __Pyx_BufPtrCContig1d(type, buf, i0, s0) ((type)buf + i0)
/* PyThreadStateGet.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate;
#define __Pyx_PyThreadState_assign __pyx_tstate = PyThreadState_GET();
#else
#define __Pyx_PyThreadState_declare
#define __Pyx_PyThreadState_assign
#endif
/* PyErrFetchRestore.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
#define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#else
#define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb)
#endif
/* None.proto */
static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname);
/* FetchCommonType.proto */
static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);
/* CythonFunction.proto */
#define __Pyx_CyFunction_USED 1
#include <structmember.h>
#define __Pyx_CYFUNCTION_STATICMETHOD 0x01
#define __Pyx_CYFUNCTION_CLASSMETHOD 0x02
#define __Pyx_CYFUNCTION_CCLASS 0x04
#define __Pyx_CyFunction_GetClosure(f)\
(((__pyx_CyFunctionObject *) (f))->func_closure)
#define __Pyx_CyFunction_GetClassObj(f)\
(((__pyx_CyFunctionObject *) (f))->func_classobj)
#define __Pyx_CyFunction_Defaults(type, f)\
((type *)(((__pyx_CyFunctionObject *) (f))->defaults))
#define __Pyx_CyFunction_SetDefaultsGetter(f, g)\
((__pyx_CyFunctionObject *) (f))->defaults_getter = (g)
typedef struct {
PyCFunctionObject func;
#if PY_VERSION_HEX < 0x030500A0
PyObject *func_weakreflist;
#endif
PyObject *func_dict;
PyObject *func_name;
PyObject *func_qualname;
PyObject *func_doc;
PyObject *func_globals;
PyObject *func_code;
PyObject *func_closure;
PyObject *func_classobj;
void *defaults;
int defaults_pyobjects;
int flags;
PyObject *defaults_tuple;
PyObject *defaults_kwdict;
PyObject *(*defaults_getter)(PyObject *);
PyObject *func_annotations;
} __pyx_CyFunctionObject;
static PyTypeObject *__pyx_CyFunctionType = 0;
#define __Pyx_CyFunction_NewEx(ml, flags, qualname, self, module, globals, code)\
__Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname, self, module, globals, code)
static PyObject *__Pyx_CyFunction_New(PyTypeObject *, PyMethodDef *ml,
int flags, PyObject* qualname,
PyObject *self,
PyObject *module, PyObject *globals,
PyObject* code);
static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *m,
size_t size,
int pyobjects);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
PyObject *tuple);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m,
PyObject *dict);
static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m,
PyObject *dict);
static int __pyx_CyFunction_init(void);
/* RaiseArgTupleInvalid.proto */
static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);
/* RaiseDoubleKeywords.proto */
static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name);
/* ParseKeywords.proto */
static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\
PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\
const char* function_name);
#define __Pyx_BufPtrCContig2d(type, buf, i0, s0, i1, s1) ((type)((char*)buf + i0 * s0) + i1)
#define __Pyx_BufPtrCContig3d(type, buf, i0, s0, i1, s1, i2, s2) ((type)((char*)buf + i0 * s0 + i1 * s1) + i2)
#define __Pyx_BufPtrCContig4d(type, buf, i0, s0, i1, s1, i2, s2, i3, s3) ((type)((char*)buf + i0 * s0 + i1 * s1 + i2 * s2) + i3)
/* RaiseException.proto */
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);
/* DictGetItem.proto */
#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
PyObject *value;
value = PyDict_GetItemWithError(d, key);
if (unlikely(!value)) {
if (!PyErr_Occurred()) {
PyObject* args = PyTuple_Pack(1, key);
if (likely(args))
PyErr_SetObject(PyExc_KeyError, args);
Py_XDECREF(args);
}
return NULL;
}
Py_INCREF(value);
return value;
}
#else
#define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
#endif
/* RaiseTooManyValuesToUnpack.proto */
static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);
/* RaiseNeedMoreValuesToUnpack.proto */
static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
/* RaiseNoneIterError.proto */
static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);
/* SaveResetException.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_ExceptionSave(type, value, tb) __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#define __Pyx_ExceptionReset(type, value, tb) __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
#else
#define __Pyx_ExceptionSave(type, value, tb) PyErr_GetExcInfo(type, value, tb)
#define __Pyx_ExceptionReset(type, value, tb) PyErr_SetExcInfo(type, value, tb)
#endif
/* PyErrExceptionMatches.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
#else
#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err)
#endif
/* GetException.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_GetException(type, value, tb) __Pyx__GetException(__pyx_tstate, type, value, tb)
static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#else
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
#endif
/* IncludeStringH.proto */
#include <string.h>
/* Import.proto */
static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);
/* CodeObjectCache.proto */
typedef struct {
PyCodeObject* code_object;
int code_line;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
int count;
int max_count;
__Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);
/* AddTraceback.proto */
static void __Pyx_AddTraceback(const char *funcname, int c_line,
int py_line, const char *filename);
/* BufferStructDeclare.proto */
typedef struct {
Py_ssize_t shape, strides, suboffsets;
} __Pyx_Buf_DimInfo;
typedef struct {
size_t refcount;
Py_buffer pybuffer;
} __Pyx_Buffer;
typedef struct {
__Pyx_Buffer *rcbuffer;
char *data;
__Pyx_Buf_DimInfo diminfo[8];
} __Pyx_LocalBuf_ND;
#if PY_MAJOR_VERSION < 3
static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags);
static void __Pyx_ReleaseBuffer(Py_buffer *view);
#else
#define __Pyx_GetBuffer PyObject_GetBuffer
#define __Pyx_ReleaseBuffer PyBuffer_Release
#endif
/* None.proto */
static Py_ssize_t __Pyx_zeros[] = {0, 0, 0, 0, 0, 0, 0, 0};
static Py_ssize_t __Pyx_minusones[] = {-1, -1, -1, -1, -1, -1, -1, -1};
/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);
/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Py_intptr_t(Py_intptr_t value);
/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_npy_long(npy_long value);
/* RealImag.proto */
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
#define __Pyx_CREAL(z) ((z).real())
#define __Pyx_CIMAG(z) ((z).imag())
#else
#define __Pyx_CREAL(z) (__real__(z))
#define __Pyx_CIMAG(z) (__imag__(z))
#endif
#else
#define __Pyx_CREAL(z) ((z).real)
#define __Pyx_CIMAG(z) ((z).imag)
#endif
#if defined(__cplusplus) && CYTHON_CCOMPLEX\
&& (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
#define __Pyx_SET_CREAL(z,x) ((z).real(x))
#define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
#else
#define __Pyx_SET_CREAL(z,x) __Pyx_CREAL(z) = (x)
#define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y)
#endif
/* Arithmetic.proto */
#if CYTHON_CCOMPLEX
#define __Pyx_c_eq_float(a, b) ((a)==(b))
#define __Pyx_c_sum_float(a, b) ((a)+(b))
#define __Pyx_c_diff_float(a, b) ((a)-(b))
#define __Pyx_c_prod_float(a, b) ((a)*(b))
#define __Pyx_c_quot_float(a, b) ((a)/(b))
#define __Pyx_c_neg_float(a) (-(a))
#ifdef __cplusplus
#define __Pyx_c_is_zero_float(z) ((z)==(float)0)
#define __Pyx_c_conj_float(z) (::std::conj(z))
#if 1
#define __Pyx_c_abs_float(z) (::std::abs(z))
#define __Pyx_c_pow_float(a, b) (::std::pow(a, b))
#endif
#else
#define __Pyx_c_is_zero_float(z) ((z)==0)
#define __Pyx_c_conj_float(z) (conjf(z))
#if 1
#define __Pyx_c_abs_float(z) (cabsf(z))
#define __Pyx_c_pow_float(a, b) (cpowf(a, b))
#endif
#endif
#else
static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex, __pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex, __pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex, __pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex, __pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex, __pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex);
static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex);
#if 1
static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex);
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex, __pyx_t_float_complex);
#endif
#endif
/* Arithmetic.proto */
#if CYTHON_CCOMPLEX
#define __Pyx_c_eq_double(a, b) ((a)==(b))
#define __Pyx_c_sum_double(a, b) ((a)+(b))
#define __Pyx_c_diff_double(a, b) ((a)-(b))
#define __Pyx_c_prod_double(a, b) ((a)*(b))
#define __Pyx_c_quot_double(a, b) ((a)/(b))
#define __Pyx_c_neg_double(a) (-(a))
#ifdef __cplusplus
#define __Pyx_c_is_zero_double(z) ((z)==(double)0)
#define __Pyx_c_conj_double(z) (::std::conj(z))
#if 1
#define __Pyx_c_abs_double(z) (::std::abs(z))
#define __Pyx_c_pow_double(a, b) (::std::pow(a, b))
#endif
#else
#define __Pyx_c_is_zero_double(z) ((z)==0)
#define __Pyx_c_conj_double(z) (conj(z))
#if 1
#define __Pyx_c_abs_double(z) (cabs(z))
#define __Pyx_c_pow_double(a, b) (cpow(a, b))
#endif
#endif
#else
static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex, __pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex, __pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex, __pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex, __pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex, __pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex);
static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex);
#if 1
static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex);
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex, __pyx_t_double_complex);
#endif
#endif
/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__NPY_TYPES(enum NPY_TYPES value);
/* CIntFromPy.proto */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);
/* CIntFromPy.proto */
static CYTHON_INLINE npy_long __Pyx_PyInt_As_npy_long(PyObject *);
/* CIntFromPy.proto */
static CYTHON_INLINE Py_intptr_t __Pyx_PyInt_As_Py_intptr_t(PyObject *);
/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);
/* CIntFromPy.proto */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);
/* CheckBinaryVersion.proto */
static int __Pyx_check_binary_version(void);
/* PyIdentifierFromString.proto */
#if !defined(__Pyx_PyIdentifier_FromString)
#if PY_MAJOR_VERSION < 3
#define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s)
#else
#define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s)
#endif
#endif
/* ModuleImport.proto */
static PyObject *__Pyx_ImportModule(const char *name);
/* TypeImport.proto */
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict);
/* InitStrings.proto */
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
/* Module declarations from 'xraylib_np_c' */
/* Module declarations from 'cpython.buffer' */
/* Module declarations from 'libc.string' */
/* Module declarations from 'libc.stdio' */
/* Module declarations from '__builtin__' */
/* Module declarations from 'cpython.type' */
static PyTypeObject *__pyx_ptype_7cpython_4type_type = 0;
/* Module declarations from 'cpython' */
/* Module declarations from 'cpython.object' */
/* Module declarations from 'cpython.ref' */
/* Module declarations from 'libc.stdlib' */
/* Module declarations from 'numpy' */
/* Module declarations from 'numpy' */
static PyTypeObject *__pyx_ptype_5numpy_dtype = 0;
static PyTypeObject *__pyx_ptype_5numpy_flatiter = 0;
static PyTypeObject *__pyx_ptype_5numpy_broadcast = 0;
static PyTypeObject *__pyx_ptype_5numpy_ndarray = 0;
static PyTypeObject *__pyx_ptype_5numpy_ufunc = 0;
static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *, char *, char *, int *); /*proto*/
/* Module declarations from 'cython' */
/* Module declarations from 'xraylib_np' */
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct__XRL_1I = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_1_XRL_1F = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_2_XRL_2IF = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_3_XRL_2II = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_4_XRL_2FF = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_5_XRL_3IFF = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_6_XRL_3FFF = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_7_XRL_3IIF = 0;
static PyTypeObject *__pyx_ptype_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF = 0;
static __Pyx_TypeInfo __Pyx_TypeInfo_nn___pyx_t_5numpy_int_t = { "int_t", NULL, sizeof(__pyx_t_5numpy_int_t), { 0 }, 0, IS_UNSIGNED(__pyx_t_5numpy_int_t) ? 'U' : 'I', IS_UNSIGNED(__pyx_t_5numpy_int_t), 0 };
static __Pyx_TypeInfo __Pyx_TypeInfo_double = { "double", NULL, sizeof(double), { 0 }, 0, 'R', 0, 0 };
#define __Pyx_MODULE_NAME "xraylib_np"
int __pyx_module_is_main_xraylib_np = 0;
/* Implementation of 'xraylib_np' */
static PyObject *__pyx_builtin_range;
static PyObject *__pyx_builtin_ValueError;
static PyObject *__pyx_builtin_RuntimeError;
static PyObject *__pyx_builtin_ImportError;
static const char __pyx_k_Z[] = "Z";
static const char __pyx_k_i[] = "i";
static const char __pyx_k_j[] = "j";
static const char __pyx_k_k[] = "k";
static const char __pyx_k_l[] = "l";
static const char __pyx_k_AW[] = "AW";
static const char __pyx_k_Fi[] = "_Fi";
static const char __pyx_k_np[] = "np";
static const char __pyx_k_rv[] = "rv";
static const char __pyx_k_Fii[] = "_Fii";
static const char __pyx_k_RE2[] = "RE2";
static const char __pyx_k_R_E[] = "R_E";
static const char __pyx_k_fun[] = "fun";
static const char __pyx_k_Fi_2[] = "Fi";
static const char __pyx_k_MEC2[] = "MEC2";
static const char __pyx_k_arg1[] = "arg1";
static const char __pyx_k_arg2[] = "arg2";
static const char __pyx_k_arg3[] = "arg3";
static const char __pyx_k_arg4[] = "arg4";
static const char __pyx_k_main[] = "__main__";
static const char __pyx_k_test[] = "__test__";
static const char __pyx_k_CS_KN[] = "_CS_KN";
static const char __pyx_k_Fii_2[] = "Fii";
static const char __pyx_k_empty[] = "empty";
static const char __pyx_k_numpy[] = "numpy";
static const char __pyx_k_range[] = "range";
static const char __pyx_k_DCS_KN[] = "_DCS_KN";
static const char __pyx_k_XRL_1F[] = "XRL_1F";
static const char __pyx_k_XRL_1I[] = "XRL_1I";
static const char __pyx_k_import[] = "__import__";
static const char __pyx_k_status[] = "status";
static const char __pyx_k_AVOGNUM[] = "AVOGNUM";
static const char __pyx_k_CS_KN_2[] = "CS_KN";
static const char __pyx_k_CS_Rayl[] = "_CS_Rayl";
static const char __pyx_k_DCSP_KN[] = "_DCSP_KN";
static const char __pyx_k_FF_Rayl[] = "_FF_Rayl";
static const char __pyx_k_KA_LINE[] = "KA_LINE";
static const char __pyx_k_KB_LINE[] = "KB_LINE";
static const char __pyx_k_KO_LINE[] = "KO_LINE";
static const char __pyx_k_KP_LINE[] = "KP_LINE";
static const char __pyx_k_K_SHELL[] = "K_SHELL";
static const char __pyx_k_LA_LINE[] = "LA_LINE";
static const char __pyx_k_LB_LINE[] = "LB_LINE";
static const char __pyx_k_LE_LINE[] = "LE_LINE";
static const char __pyx_k_LL_LINE[] = "LL_LINE";
static const char __pyx_k_LS_LINE[] = "LS_LINE";
static const char __pyx_k_LT_LINE[] = "LT_LINE";
static const char __pyx_k_LU_LINE[] = "LU_LINE";
static const char __pyx_k_LV_LINE[] = "LV_LINE";
static const char __pyx_k_MB_LINE[] = "MB_LINE";
static const char __pyx_k_MG_LINE[] = "MG_LINE";
static const char __pyx_k_RadRate[] = "_RadRate";
static const char __pyx_k_XRL_2FF[] = "XRL_2FF";
static const char __pyx_k_XRL_2IF[] = "XRL_2IF";
static const char __pyx_k_XRL_2II[] = "XRL_2II";
static const char __pyx_k_CS_Compt[] = "_CS_Compt";
static const char __pyx_k_CS_Photo[] = "_CS_Photo";
static const char __pyx_k_CS_Total[] = "_CS_Total";
static const char __pyx_k_CSb_Rayl[] = "_CSb_Rayl";
static const char __pyx_k_DCS_KN_2[] = "DCS_KN";
static const char __pyx_k_DCS_Rayl[] = "_DCS_Rayl";
static const char __pyx_k_F1_TRANS[] = "F1_TRANS";
static const char __pyx_k_KA1_LINE[] = "KA1_LINE";
static const char __pyx_k_KA2_LINE[] = "KA2_LINE";
static const char __pyx_k_KB1_LINE[] = "KB1_LINE";
static const char __pyx_k_KB2_LINE[] = "KB2_LINE";
static const char __pyx_k_KB3_LINE[] = "KB3_LINE";
static const char __pyx_k_KB4_LINE[] = "KB4_LINE";
static const char __pyx_k_KB5_LINE[] = "KB5_LINE";
static const char __pyx_k_KL1_LINE[] = "KL1_LINE";
static const char __pyx_k_KL2_LINE[] = "KL2_LINE";
static const char __pyx_k_KL3_LINE[] = "KL3_LINE";
static const char __pyx_k_KM1_LINE[] = "KM1_LINE";
static const char __pyx_k_KM2_LINE[] = "KM2_LINE";
static const char __pyx_k_KM3_LINE[] = "KM3_LINE";
static const char __pyx_k_KM4_LINE[] = "KM4_LINE";
static const char __pyx_k_KM5_LINE[] = "KM5_LINE";
static const char __pyx_k_KN1_LINE[] = "KN1_LINE";
static const char __pyx_k_KN2_LINE[] = "KN2_LINE";
static const char __pyx_k_KN3_LINE[] = "KN3_LINE";
static const char __pyx_k_KN4_LINE[] = "KN4_LINE";
static const char __pyx_k_KN5_LINE[] = "KN5_LINE";
static const char __pyx_k_KN6_LINE[] = "KN6_LINE";
static const char __pyx_k_KN7_LINE[] = "KN7_LINE";
static const char __pyx_k_KO1_LINE[] = "KO1_LINE";
static const char __pyx_k_KO2_LINE[] = "KO2_LINE";
static const char __pyx_k_KO3_LINE[] = "KO3_LINE";
static const char __pyx_k_KO4_LINE[] = "KO4_LINE";
static const char __pyx_k_KO5_LINE[] = "KO5_LINE";
static const char __pyx_k_KO6_LINE[] = "KO6_LINE";
static const char __pyx_k_KO7_LINE[] = "KO7_LINE";
static const char __pyx_k_KP1_LINE[] = "KP1_LINE";
static const char __pyx_k_KP2_LINE[] = "KP2_LINE";
static const char __pyx_k_KP3_LINE[] = "KP3_LINE";
static const char __pyx_k_KP4_LINE[] = "KP4_LINE";
static const char __pyx_k_KP5_LINE[] = "KP5_LINE";
static const char __pyx_k_L1_SHELL[] = "L1_SHELL";
static const char __pyx_k_L2_SHELL[] = "L2_SHELL";
static const char __pyx_k_L3_SHELL[] = "L3_SHELL";
static const char __pyx_k_LA1_LINE[] = "LA1_LINE";
static const char __pyx_k_LA2_LINE[] = "LA2_LINE";
static const char __pyx_k_LB1_LINE[] = "LB1_LINE";
static const char __pyx_k_LB2_LINE[] = "LB2_LINE";
static const char __pyx_k_LB3_LINE[] = "LB3_LINE";
static const char __pyx_k_LB4_LINE[] = "LB4_LINE";
static const char __pyx_k_LB5_LINE[] = "LB5_LINE";
static const char __pyx_k_LB6_LINE[] = "LB6_LINE";
static const char __pyx_k_LB7_LINE[] = "LB7_LINE";
static const char __pyx_k_LB9_LINE[] = "LB9_LINE";
static const char __pyx_k_LG1_LINE[] = "LG1_LINE";
static const char __pyx_k_LG2_LINE[] = "LG2_LINE";
static const char __pyx_k_LG3_LINE[] = "LG3_LINE";
static const char __pyx_k_LG4_LINE[] = "LG4_LINE";
static const char __pyx_k_LG5_LINE[] = "LG5_LINE";
static const char __pyx_k_LG6_LINE[] = "LG6_LINE";
static const char __pyx_k_LG8_LINE[] = "LG8_LINE";
static const char __pyx_k_M1_SHELL[] = "M1_SHELL";
static const char __pyx_k_M2_SHELL[] = "M2_SHELL";
static const char __pyx_k_M3_SHELL[] = "M3_SHELL";
static const char __pyx_k_M4_SHELL[] = "M4_SHELL";
static const char __pyx_k_M5_SHELL[] = "M5_SHELL";
static const char __pyx_k_MA1_LINE[] = "MA1_LINE";
static const char __pyx_k_MA2_LINE[] = "MA2_LINE";
static const char __pyx_k_N1_SHELL[] = "N1_SHELL";
static const char __pyx_k_N2_SHELL[] = "N2_SHELL";
static const char __pyx_k_N3_SHELL[] = "N3_SHELL";
static const char __pyx_k_N4_SHELL[] = "N4_SHELL";
static const char __pyx_k_N5_SHELL[] = "N5_SHELL";
static const char __pyx_k_N6_SHELL[] = "N6_SHELL";
static const char __pyx_k_N7_SHELL[] = "N7_SHELL";
static const char __pyx_k_O1_SHELL[] = "O1_SHELL";
static const char __pyx_k_O2_SHELL[] = "O2_SHELL";
static const char __pyx_k_O3_SHELL[] = "O3_SHELL";
static const char __pyx_k_O4_SHELL[] = "O4_SHELL";
static const char __pyx_k_O5_SHELL[] = "O5_SHELL";
static const char __pyx_k_O6_SHELL[] = "O6_SHELL";
static const char __pyx_k_O7_SHELL[] = "O7_SHELL";
static const char __pyx_k_P1_SHELL[] = "P1_SHELL";
static const char __pyx_k_P2_SHELL[] = "P2_SHELL";
static const char __pyx_k_P3_SHELL[] = "P3_SHELL";
static const char __pyx_k_P4_SHELL[] = "P4_SHELL";
static const char __pyx_k_P5_SHELL[] = "P5_SHELL";
static const char __pyx_k_Q1_SHELL[] = "Q1_SHELL";
static const char __pyx_k_Q2_SHELL[] = "Q2_SHELL";
static const char __pyx_k_Q3_SHELL[] = "Q3_SHELL";
static const char __pyx_k_SF_Compt[] = "_SF_Compt";
static const char __pyx_k_XRL_3FFF[] = "XRL_3FFF";
static const char __pyx_k_XRL_3IFF[] = "XRL_3IFF";
static const char __pyx_k_XRL_3IIF[] = "XRL_3IIF";
static const char __pyx_k_XRayInit[] = "XRayInit";
static const char __pyx_k_fun_wrap[] = "fun_wrap";
static const char __pyx_k_AugerRate[] = "_AugerRate";
static const char __pyx_k_CS_Energy[] = "_CS_Energy";
static const char __pyx_k_CS_Rayl_2[] = "CS_Rayl";
static const char __pyx_k_CSb_Compt[] = "_CSb_Compt";
static const char __pyx_k_CSb_Photo[] = "_CSb_Photo";
static const char __pyx_k_CSb_Total[] = "_CSb_Total";
static const char __pyx_k_DCSP_KN_2[] = "DCSP_KN";
static const char __pyx_k_DCSP_Rayl[] = "_DCSP_Rayl";
static const char __pyx_k_DCS_Compt[] = "_DCS_Compt";
static const char __pyx_k_DCS_Thoms[] = "_DCS_Thoms";
static const char __pyx_k_DCSb_Rayl[] = "_DCSb_Rayl";
static const char __pyx_k_F12_TRANS[] = "F12_TRANS";
static const char __pyx_k_F13_TRANS[] = "F13_TRANS";
static const char __pyx_k_F23_TRANS[] = "F23_TRANS";
static const char __pyx_k_FF_Rayl_2[] = "FF_Rayl";
static const char __pyx_k_KEV2ANGST[] = "KEV2ANGST";
static const char __pyx_k_L1L2_LINE[] = "L1L2_LINE";
static const char __pyx_k_L1L3_LINE[] = "L1L3_LINE";
static const char __pyx_k_L1M1_LINE[] = "L1M1_LINE";
static const char __pyx_k_L1M2_LINE[] = "L1M2_LINE";
static const char __pyx_k_L1M3_LINE[] = "L1M3_LINE";
static const char __pyx_k_L1M4_LINE[] = "L1M4_LINE";
static const char __pyx_k_L1M5_LINE[] = "L1M5_LINE";
static const char __pyx_k_L1N1_LINE[] = "L1N1_LINE";
static const char __pyx_k_L1N2_LINE[] = "L1N2_LINE";
static const char __pyx_k_L1N3_LINE[] = "L1N3_LINE";
static const char __pyx_k_L1N4_LINE[] = "L1N4_LINE";
static const char __pyx_k_L1N5_LINE[] = "L1N5_LINE";
static const char __pyx_k_L1N6_LINE[] = "L1N6_LINE";
static const char __pyx_k_L1N7_LINE[] = "L1N7_LINE";
static const char __pyx_k_L1O1_LINE[] = "L1O1_LINE";
static const char __pyx_k_L1O2_LINE[] = "L1O2_LINE";
static const char __pyx_k_L1O3_LINE[] = "L1O3_LINE";
static const char __pyx_k_L1O4_LINE[] = "L1O4_LINE";
static const char __pyx_k_L1O5_LINE[] = "L1O5_LINE";
static const char __pyx_k_L1O6_LINE[] = "L1O6_LINE";
static const char __pyx_k_L1O7_LINE[] = "L1O7_LINE";
static const char __pyx_k_L1P1_LINE[] = "L1P1_LINE";
static const char __pyx_k_L1P2_LINE[] = "L1P2_LINE";
static const char __pyx_k_L1P3_LINE[] = "L1P3_LINE";
static const char __pyx_k_L1P4_LINE[] = "L1P4_LINE";
static const char __pyx_k_L1P5_LINE[] = "L1P5_LINE";
static const char __pyx_k_L2L3_LINE[] = "L2L3_LINE";
static const char __pyx_k_L2M1_LINE[] = "L2M1_LINE";
static const char __pyx_k_L2M2_LINE[] = "L2M2_LINE";
static const char __pyx_k_L2M3_LINE[] = "L2M3_LINE";
static const char __pyx_k_L2M4_LINE[] = "L2M4_LINE";
static const char __pyx_k_L2M5_LINE[] = "L2M5_LINE";
static const char __pyx_k_L2N1_LINE[] = "L2N1_LINE";
static const char __pyx_k_L2N2_LINE[] = "L2N2_LINE";
static const char __pyx_k_L2N3_LINE[] = "L2N3_LINE";
static const char __pyx_k_L2N4_LINE[] = "L2N4_LINE";
static const char __pyx_k_L2N5_LINE[] = "L2N5_LINE";
static const char __pyx_k_L2N6_LINE[] = "L2N6_LINE";
static const char __pyx_k_L2N7_LINE[] = "L2N7_LINE";
static const char __pyx_k_L2O1_LINE[] = "L2O1_LINE";
static const char __pyx_k_L2O2_LINE[] = "L2O2_LINE";
static const char __pyx_k_L2O3_LINE[] = "L2O3_LINE";
static const char __pyx_k_L2O4_LINE[] = "L2O4_LINE";
static const char __pyx_k_L2O5_LINE[] = "L2O5_LINE";
static const char __pyx_k_L2O6_LINE[] = "L2O6_LINE";
static const char __pyx_k_L2O7_LINE[] = "L2O7_LINE";
static const char __pyx_k_L2P1_LINE[] = "L2P1_LINE";
static const char __pyx_k_L2P2_LINE[] = "L2P2_LINE";
static const char __pyx_k_L2P3_LINE[] = "L2P3_LINE";
static const char __pyx_k_L2P4_LINE[] = "L2P4_LINE";
static const char __pyx_k_L2P5_LINE[] = "L2P5_LINE";
static const char __pyx_k_L2Q1_LINE[] = "L2Q1_LINE";
static const char __pyx_k_L3M1_LINE[] = "L3M1_LINE";
static const char __pyx_k_L3M2_LINE[] = "L3M2_LINE";
static const char __pyx_k_L3M3_LINE[] = "L3M3_LINE";
static const char __pyx_k_L3M4_LINE[] = "L3M4_LINE";
static const char __pyx_k_L3M5_LINE[] = "L3M5_LINE";
static const char __pyx_k_L3N1_LINE[] = "L3N1_LINE";
static const char __pyx_k_L3N2_LINE[] = "L3N2_LINE";
static const char __pyx_k_L3N3_LINE[] = "L3N3_LINE";
static const char __pyx_k_L3N4_LINE[] = "L3N4_LINE";
static const char __pyx_k_L3N5_LINE[] = "L3N5_LINE";
static const char __pyx_k_L3N6_LINE[] = "L3N6_LINE";
static const char __pyx_k_L3N7_LINE[] = "L3N7_LINE";
static const char __pyx_k_L3O1_LINE[] = "L3O1_LINE";
static const char __pyx_k_L3O2_LINE[] = "L3O2_LINE";
static const char __pyx_k_L3O3_LINE[] = "L3O3_LINE";
static const char __pyx_k_L3O4_LINE[] = "L3O4_LINE";
static const char __pyx_k_L3O5_LINE[] = "L3O5_LINE";
static const char __pyx_k_L3O6_LINE[] = "L3O6_LINE";
static const char __pyx_k_L3O7_LINE[] = "L3O7_LINE";
static const char __pyx_k_L3P1_LINE[] = "L3P1_LINE";
static const char __pyx_k_L3P2_LINE[] = "L3P2_LINE";
static const char __pyx_k_L3P3_LINE[] = "L3P3_LINE";
static const char __pyx_k_L3P4_LINE[] = "L3P4_LINE";
static const char __pyx_k_L3P5_LINE[] = "L3P5_LINE";
static const char __pyx_k_L3Q1_LINE[] = "L3Q1_LINE";
static const char __pyx_k_LB10_LINE[] = "LB10_LINE";
static const char __pyx_k_LB15_LINE[] = "LB15_LINE";
static const char __pyx_k_LB17_LINE[] = "LB17_LINE";
static const char __pyx_k_M1M2_LINE[] = "M1M2_LINE";
static const char __pyx_k_M1M3_LINE[] = "M1M3_LINE";
static const char __pyx_k_M1M4_LINE[] = "M1M4_LINE";
static const char __pyx_k_M1M5_LINE[] = "M1M5_LINE";
static const char __pyx_k_M1N1_LINE[] = "M1N1_LINE";
static const char __pyx_k_M1N2_LINE[] = "M1N2_LINE";
static const char __pyx_k_M1N3_LINE[] = "M1N3_LINE";
static const char __pyx_k_M1N4_LINE[] = "M1N4_LINE";
static const char __pyx_k_M1N5_LINE[] = "M1N5_LINE";
static const char __pyx_k_M1N6_LINE[] = "M1N6_LINE";
static const char __pyx_k_M1N7_LINE[] = "M1N7_LINE";
static const char __pyx_k_M1O1_LINE[] = "M1O1_LINE";
static const char __pyx_k_M1O2_LINE[] = "M1O2_LINE";
static const char __pyx_k_M1O3_LINE[] = "M1O3_LINE";
static const char __pyx_k_M1O4_LINE[] = "M1O4_LINE";
static const char __pyx_k_M1O5_LINE[] = "M1O5_LINE";
static const char __pyx_k_M1O6_LINE[] = "M1O6_LINE";
static const char __pyx_k_M1O7_LINE[] = "M1O7_LINE";
static const char __pyx_k_M1P1_LINE[] = "M1P1_LINE";
static const char __pyx_k_M1P2_LINE[] = "M1P2_LINE";
static const char __pyx_k_M1P3_LINE[] = "M1P3_LINE";
static const char __pyx_k_M1P4_LINE[] = "M1P4_LINE";
static const char __pyx_k_M1P5_LINE[] = "M1P5_LINE";
static const char __pyx_k_M2M3_LINE[] = "M2M3_LINE";
static const char __pyx_k_M2M4_LINE[] = "M2M4_LINE";
static const char __pyx_k_M2M5_LINE[] = "M2M5_LINE";
static const char __pyx_k_M2N1_LINE[] = "M2N1_LINE";
static const char __pyx_k_M2N2_LINE[] = "M2N2_LINE";
static const char __pyx_k_M2N3_LINE[] = "M2N3_LINE";
static const char __pyx_k_M2N4_LINE[] = "M2N4_LINE";
static const char __pyx_k_M2N5_LINE[] = "M2N5_LINE";
static const char __pyx_k_M2N6_LINE[] = "M2N6_LINE";
static const char __pyx_k_M2N7_LINE[] = "M2N7_LINE";
static const char __pyx_k_M2O1_LINE[] = "M2O1_LINE";
static const char __pyx_k_M2O2_LINE[] = "M2O2_LINE";
static const char __pyx_k_M2O3_LINE[] = "M2O3_LINE";
static const char __pyx_k_M2O4_LINE[] = "M2O4_LINE";
static const char __pyx_k_M2O5_LINE[] = "M2O5_LINE";
static const char __pyx_k_M2O6_LINE[] = "M2O6_LINE";
static const char __pyx_k_M2O7_LINE[] = "M2O7_LINE";
static const char __pyx_k_M2P1_LINE[] = "M2P1_LINE";
static const char __pyx_k_M2P2_LINE[] = "M2P2_LINE";
static const char __pyx_k_M2P3_LINE[] = "M2P3_LINE";
static const char __pyx_k_M2P4_LINE[] = "M2P4_LINE";
static const char __pyx_k_M2P5_LINE[] = "M2P5_LINE";
static const char __pyx_k_M3M4_LINE[] = "M3M4_LINE";
static const char __pyx_k_M3M5_LINE[] = "M3M5_LINE";
static const char __pyx_k_M3N1_LINE[] = "M3N1_LINE";
static const char __pyx_k_M3N2_LINE[] = "M3N2_LINE";
static const char __pyx_k_M3N3_LINE[] = "M3N3_LINE";
static const char __pyx_k_M3N4_LINE[] = "M3N4_LINE";
static const char __pyx_k_M3N5_LINE[] = "M3N5_LINE";
static const char __pyx_k_M3N6_LINE[] = "M3N6_LINE";
static const char __pyx_k_M3N7_LINE[] = "M3N7_LINE";
static const char __pyx_k_M3O1_LINE[] = "M3O1_LINE";
static const char __pyx_k_M3O2_LINE[] = "M3O2_LINE";
static const char __pyx_k_M3O3_LINE[] = "M3O3_LINE";
static const char __pyx_k_M3O4_LINE[] = "M3O4_LINE";
static const char __pyx_k_M3O5_LINE[] = "M3O5_LINE";
static const char __pyx_k_M3O6_LINE[] = "M3O6_LINE";
static const char __pyx_k_M3O7_LINE[] = "M3O7_LINE";
static const char __pyx_k_M3P1_LINE[] = "M3P1_LINE";
static const char __pyx_k_M3P2_LINE[] = "M3P2_LINE";
static const char __pyx_k_M3P3_LINE[] = "M3P3_LINE";
static const char __pyx_k_M3P4_LINE[] = "M3P4_LINE";
static const char __pyx_k_M3P5_LINE[] = "M3P5_LINE";
static const char __pyx_k_M3Q1_LINE[] = "M3Q1_LINE";
static const char __pyx_k_M4M5_LINE[] = "M4M5_LINE";
static const char __pyx_k_M4N1_LINE[] = "M4N1_LINE";
static const char __pyx_k_M4N2_LINE[] = "M4N2_LINE";
static const char __pyx_k_M4N3_LINE[] = "M4N3_LINE";
static const char __pyx_k_M4N4_LINE[] = "M4N4_LINE";
static const char __pyx_k_M4N5_LINE[] = "M4N5_LINE";
static const char __pyx_k_M4N6_LINE[] = "M4N6_LINE";
static const char __pyx_k_M4N7_LINE[] = "M4N7_LINE";
static const char __pyx_k_M4O1_LINE[] = "M4O1_LINE";
static const char __pyx_k_M4O2_LINE[] = "M4O2_LINE";
static const char __pyx_k_M4O3_LINE[] = "M4O3_LINE";
static const char __pyx_k_M4O4_LINE[] = "M4O4_LINE";
static const char __pyx_k_M4O5_LINE[] = "M4O5_LINE";
static const char __pyx_k_M4O6_LINE[] = "M4O6_LINE";
static const char __pyx_k_M4O7_LINE[] = "M4O7_LINE";
static const char __pyx_k_M4P1_LINE[] = "M4P1_LINE";
static const char __pyx_k_M4P2_LINE[] = "M4P2_LINE";
static const char __pyx_k_M4P3_LINE[] = "M4P3_LINE";
static const char __pyx_k_M4P4_LINE[] = "M4P4_LINE";
static const char __pyx_k_M4P5_LINE[] = "M4P5_LINE";
static const char __pyx_k_M5N1_LINE[] = "M5N1_LINE";
static const char __pyx_k_M5N2_LINE[] = "M5N2_LINE";
static const char __pyx_k_M5N3_LINE[] = "M5N3_LINE";
static const char __pyx_k_M5N4_LINE[] = "M5N4_LINE";
static const char __pyx_k_M5N5_LINE[] = "M5N5_LINE";
static const char __pyx_k_M5N6_LINE[] = "M5N6_LINE";
static const char __pyx_k_M5N7_LINE[] = "M5N7_LINE";
static const char __pyx_k_M5O1_LINE[] = "M5O1_LINE";
static const char __pyx_k_M5O2_LINE[] = "M5O2_LINE";
static const char __pyx_k_M5O3_LINE[] = "M5O3_LINE";
static const char __pyx_k_M5O4_LINE[] = "M5O4_LINE";
static const char __pyx_k_M5O5_LINE[] = "M5O5_LINE";
static const char __pyx_k_M5O6_LINE[] = "M5O6_LINE";
static const char __pyx_k_M5O7_LINE[] = "M5O7_LINE";
static const char __pyx_k_M5P1_LINE[] = "M5P1_LINE";
static const char __pyx_k_M5P2_LINE[] = "M5P2_LINE";
static const char __pyx_k_M5P3_LINE[] = "M5P3_LINE";
static const char __pyx_k_M5P4_LINE[] = "M5P4_LINE";
static const char __pyx_k_M5P5_LINE[] = "M5P5_LINE";
static const char __pyx_k_N1N2_LINE[] = "N1N2_LINE";
static const char __pyx_k_N1N3_LINE[] = "N1N3_LINE";
static const char __pyx_k_N1N4_LINE[] = "N1N4_LINE";
static const char __pyx_k_N1N5_LINE[] = "N1N5_LINE";
static const char __pyx_k_N1N6_LINE[] = "N1N6_LINE";
static const char __pyx_k_N1N7_LINE[] = "N1N7_LINE";
static const char __pyx_k_N1O1_LINE[] = "N1O1_LINE";
static const char __pyx_k_N1O2_LINE[] = "N1O2_LINE";
static const char __pyx_k_N1O3_LINE[] = "N1O3_LINE";
static const char __pyx_k_N1O4_LINE[] = "N1O4_LINE";
static const char __pyx_k_N1O5_LINE[] = "N1O5_LINE";
static const char __pyx_k_N1O6_LINE[] = "N1O6_LINE";
static const char __pyx_k_N1O7_LINE[] = "N1O7_LINE";
static const char __pyx_k_N1P1_LINE[] = "N1P1_LINE";
static const char __pyx_k_N1P2_LINE[] = "N1P2_LINE";
static const char __pyx_k_N1P3_LINE[] = "N1P3_LINE";
static const char __pyx_k_N1P4_LINE[] = "N1P4_LINE";
static const char __pyx_k_N1P5_LINE[] = "N1P5_LINE";
static const char __pyx_k_N2N3_LINE[] = "N2N3_LINE";
static const char __pyx_k_N2N4_LINE[] = "N2N4_LINE";
static const char __pyx_k_N2N5_LINE[] = "N2N5_LINE";
static const char __pyx_k_N2N6_LINE[] = "N2N6_LINE";
static const char __pyx_k_N2N7_LINE[] = "N2N7_LINE";
static const char __pyx_k_N2O1_LINE[] = "N2O1_LINE";
static const char __pyx_k_N2O2_LINE[] = "N2O2_LINE";
static const char __pyx_k_N2O3_LINE[] = "N2O3_LINE";
static const char __pyx_k_N2O4_LINE[] = "N2O4_LINE";
static const char __pyx_k_N2O5_LINE[] = "N2O5_LINE";
static const char __pyx_k_N2O6_LINE[] = "N2O6_LINE";
static const char __pyx_k_N2O7_LINE[] = "N2O7_LINE";
static const char __pyx_k_N2P1_LINE[] = "N2P1_LINE";
static const char __pyx_k_N2P2_LINE[] = "N2P2_LINE";
static const char __pyx_k_N2P3_LINE[] = "N2P3_LINE";
static const char __pyx_k_N2P4_LINE[] = "N2P4_LINE";
static const char __pyx_k_N2P5_LINE[] = "N2P5_LINE";
static const char __pyx_k_N3N4_LINE[] = "N3N4_LINE";
static const char __pyx_k_N3N5_LINE[] = "N3N5_LINE";
static const char __pyx_k_N3N6_LINE[] = "N3N6_LINE";
static const char __pyx_k_N3N7_LINE[] = "N3N7_LINE";
static const char __pyx_k_N3O1_LINE[] = "N3O1_LINE";
static const char __pyx_k_N3O2_LINE[] = "N3O2_LINE";
static const char __pyx_k_N3O3_LINE[] = "N3O3_LINE";
static const char __pyx_k_N3O4_LINE[] = "N3O4_LINE";
static const char __pyx_k_N3O5_LINE[] = "N3O5_LINE";
static const char __pyx_k_N3O6_LINE[] = "N3O6_LINE";
static const char __pyx_k_N3O7_LINE[] = "N3O7_LINE";
static const char __pyx_k_N3P1_LINE[] = "N3P1_LINE";
static const char __pyx_k_N3P2_LINE[] = "N3P2_LINE";
static const char __pyx_k_N3P3_LINE[] = "N3P3_LINE";
static const char __pyx_k_N3P4_LINE[] = "N3P4_LINE";
static const char __pyx_k_N3P5_LINE[] = "N3P5_LINE";
static const char __pyx_k_N4N5_LINE[] = "N4N5_LINE";
static const char __pyx_k_N4N6_LINE[] = "N4N6_LINE";
static const char __pyx_k_N4N7_LINE[] = "N4N7_LINE";
static const char __pyx_k_N4O1_LINE[] = "N4O1_LINE";
static const char __pyx_k_N4O2_LINE[] = "N4O2_LINE";
static const char __pyx_k_N4O3_LINE[] = "N4O3_LINE";
static const char __pyx_k_N4O4_LINE[] = "N4O4_LINE";
static const char __pyx_k_N4O5_LINE[] = "N4O5_LINE";
static const char __pyx_k_N4O6_LINE[] = "N4O6_LINE";
static const char __pyx_k_N4O7_LINE[] = "N4O7_LINE";
static const char __pyx_k_N4P1_LINE[] = "N4P1_LINE";
static const char __pyx_k_N4P2_LINE[] = "N4P2_LINE";
static const char __pyx_k_N4P3_LINE[] = "N4P3_LINE";
static const char __pyx_k_N4P4_LINE[] = "N4P4_LINE";
static const char __pyx_k_N4P5_LINE[] = "N4P5_LINE";
static const char __pyx_k_N5N6_LINE[] = "N5N6_LINE";
static const char __pyx_k_N5N7_LINE[] = "N5N7_LINE";
static const char __pyx_k_N5O1_LINE[] = "N5O1_LINE";
static const char __pyx_k_N5O2_LINE[] = "N5O2_LINE";
static const char __pyx_k_N5O3_LINE[] = "N5O3_LINE";
static const char __pyx_k_N5O4_LINE[] = "N5O4_LINE";
static const char __pyx_k_N5O5_LINE[] = "N5O5_LINE";
static const char __pyx_k_N5O6_LINE[] = "N5O6_LINE";
static const char __pyx_k_N5O7_LINE[] = "N5O7_LINE";
static const char __pyx_k_N5P1_LINE[] = "N5P1_LINE";
static const char __pyx_k_N5P2_LINE[] = "N5P2_LINE";
static const char __pyx_k_N5P3_LINE[] = "N5P3_LINE";
static const char __pyx_k_N5P4_LINE[] = "N5P4_LINE";
static const char __pyx_k_N5P5_LINE[] = "N5P5_LINE";
static const char __pyx_k_N6N7_LINE[] = "N6N7_LINE";
static const char __pyx_k_N6O1_LINE[] = "N6O1_LINE";
static const char __pyx_k_N6O2_LINE[] = "N6O2_LINE";
static const char __pyx_k_N6O3_LINE[] = "N6O3_LINE";
static const char __pyx_k_N6O4_LINE[] = "N6O4_LINE";
static const char __pyx_k_N6O5_LINE[] = "N6O5_LINE";
static const char __pyx_k_N6O6_LINE[] = "N6O6_LINE";
static const char __pyx_k_N6O7_LINE[] = "N6O7_LINE";
static const char __pyx_k_N6P1_LINE[] = "N6P1_LINE";
static const char __pyx_k_N6P2_LINE[] = "N6P2_LINE";
static const char __pyx_k_N6P3_LINE[] = "N6P3_LINE";
static const char __pyx_k_N6P4_LINE[] = "N6P4_LINE";
static const char __pyx_k_N6P5_LINE[] = "N6P5_LINE";
static const char __pyx_k_N7O1_LINE[] = "N7O1_LINE";
static const char __pyx_k_N7O2_LINE[] = "N7O2_LINE";
static const char __pyx_k_N7O3_LINE[] = "N7O3_LINE";
static const char __pyx_k_N7O4_LINE[] = "N7O4_LINE";
static const char __pyx_k_N7O5_LINE[] = "N7O5_LINE";
static const char __pyx_k_N7O6_LINE[] = "N7O6_LINE";
static const char __pyx_k_N7O7_LINE[] = "N7O7_LINE";
static const char __pyx_k_N7P1_LINE[] = "N7P1_LINE";
static const char __pyx_k_N7P2_LINE[] = "N7P2_LINE";
static const char __pyx_k_N7P3_LINE[] = "N7P3_LINE";
static const char __pyx_k_N7P4_LINE[] = "N7P4_LINE";
static const char __pyx_k_N7P5_LINE[] = "N7P5_LINE";
static const char __pyx_k_O1O2_LINE[] = "O1O2_LINE";
static const char __pyx_k_O1O3_LINE[] = "O1O3_LINE";
static const char __pyx_k_O1O4_LINE[] = "O1O4_LINE";
static const char __pyx_k_O1O5_LINE[] = "O1O5_LINE";
static const char __pyx_k_O1O6_LINE[] = "O1O6_LINE";
static const char __pyx_k_O1O7_LINE[] = "O1O7_LINE";
static const char __pyx_k_O1P1_LINE[] = "O1P1_LINE";
static const char __pyx_k_O1P2_LINE[] = "O1P2_LINE";
static const char __pyx_k_O1P3_LINE[] = "O1P3_LINE";
static const char __pyx_k_O1P4_LINE[] = "O1P4_LINE";
static const char __pyx_k_O1P5_LINE[] = "O1P5_LINE";
static const char __pyx_k_O2O3_LINE[] = "O2O3_LINE";
static const char __pyx_k_O2O4_LINE[] = "O2O4_LINE";
static const char __pyx_k_O2O5_LINE[] = "O2O5_LINE";
static const char __pyx_k_O2O6_LINE[] = "O2O6_LINE";
static const char __pyx_k_O2O7_LINE[] = "O2O7_LINE";
static const char __pyx_k_O2P1_LINE[] = "O2P1_LINE";
static const char __pyx_k_O2P2_LINE[] = "O2P2_LINE";
static const char __pyx_k_O2P3_LINE[] = "O2P3_LINE";
static const char __pyx_k_O2P4_LINE[] = "O2P4_LINE";
static const char __pyx_k_O2P5_LINE[] = "O2P5_LINE";
static const char __pyx_k_O3O4_LINE[] = "O3O4_LINE";
static const char __pyx_k_O3O5_LINE[] = "O3O5_LINE";
static const char __pyx_k_O3O6_LINE[] = "O3O6_LINE";
static const char __pyx_k_O3O7_LINE[] = "O3O7_LINE";
static const char __pyx_k_O3P1_LINE[] = "O3P1_LINE";
static const char __pyx_k_O3P2_LINE[] = "O3P2_LINE";
static const char __pyx_k_O3P3_LINE[] = "O3P3_LINE";
static const char __pyx_k_O3P4_LINE[] = "O3P4_LINE";
static const char __pyx_k_O3P5_LINE[] = "O3P5_LINE";
static const char __pyx_k_O4O5_LINE[] = "O4O5_LINE";
static const char __pyx_k_O4O6_LINE[] = "O4O6_LINE";
static const char __pyx_k_O4O7_LINE[] = "O4O7_LINE";
static const char __pyx_k_O4P1_LINE[] = "O4P1_LINE";
static const char __pyx_k_O4P2_LINE[] = "O4P2_LINE";
static const char __pyx_k_O4P3_LINE[] = "O4P3_LINE";
static const char __pyx_k_O4P4_LINE[] = "O4P4_LINE";
static const char __pyx_k_O4P5_LINE[] = "O4P5_LINE";
static const char __pyx_k_O5O6_LINE[] = "O5O6_LINE";
static const char __pyx_k_O5O7_LINE[] = "O5O7_LINE";
static const char __pyx_k_O5P1_LINE[] = "O5P1_LINE";
static const char __pyx_k_O5P2_LINE[] = "O5P2_LINE";
static const char __pyx_k_O5P3_LINE[] = "O5P3_LINE";
static const char __pyx_k_O5P4_LINE[] = "O5P4_LINE";
static const char __pyx_k_O5P5_LINE[] = "O5P5_LINE";
static const char __pyx_k_O6O7_LINE[] = "O6O7_LINE";
static const char __pyx_k_O6P4_LINE[] = "O6P4_LINE";
static const char __pyx_k_O6P5_LINE[] = "O6P5_LINE";
static const char __pyx_k_O7P4_LINE[] = "O7P4_LINE";
static const char __pyx_k_O7P5_LINE[] = "O7P5_LINE";
static const char __pyx_k_P1P2_LINE[] = "P1P2_LINE";
static const char __pyx_k_P1P3_LINE[] = "P1P3_LINE";
static const char __pyx_k_P1P4_LINE[] = "P1P4_LINE";
static const char __pyx_k_P1P5_LINE[] = "P1P5_LINE";
static const char __pyx_k_P2P3_LINE[] = "P2P3_LINE";
static const char __pyx_k_P2P4_LINE[] = "P2P4_LINE";
static const char __pyx_k_P2P5_LINE[] = "P2P5_LINE";
static const char __pyx_k_P3P4_LINE[] = "P3P4_LINE";
static const char __pyx_k_P3P5_LINE[] = "P3P5_LINE";
static const char __pyx_k_RadRate_2[] = "RadRate";
static const char __pyx_k_XRL_4IFFF[] = "XRL_4IFFF";
static const char __pyx_k_hard_exit[] = "hard_exit";
static const char __pyx_k_AugerYield[] = "_AugerYield";
static const char __pyx_k_CS_Compt_2[] = "CS_Compt";
static const char __pyx_k_CS_Photo_2[] = "CS_Photo";
static const char __pyx_k_CS_Total_2[] = "CS_Total";
static const char __pyx_k_CSb_Rayl_2[] = "CSb_Rayl";
static const char __pyx_k_DCSP_Compt[] = "_DCSP_Compt";
static const char __pyx_k_DCSP_Thoms[] = "_DCSP_Thoms";
static const char __pyx_k_DCSPb_Rayl[] = "_DCSPb_Rayl";
static const char __pyx_k_DCS_Rayl_2[] = "DCS_Rayl";
static const char __pyx_k_DCSb_Compt[] = "_DCSb_Compt";
static const char __pyx_k_EdgeEnergy[] = "_EdgeEnergy";
static const char __pyx_k_FL12_TRANS[] = "FL12_TRANS";
static const char __pyx_k_FL13_TRANS[] = "FL13_TRANS";
static const char __pyx_k_FL23_TRANS[] = "FL23_TRANS";
static const char __pyx_k_FM12_TRANS[] = "FM12_TRANS";
static const char __pyx_k_FM13_TRANS[] = "FM13_TRANS";
static const char __pyx_k_FM14_TRANS[] = "FM14_TRANS";
static const char __pyx_k_FM15_TRANS[] = "FM15_TRANS";
static const char __pyx_k_FM23_TRANS[] = "FM23_TRANS";
static const char __pyx_k_FM24_TRANS[] = "FM24_TRANS";
static const char __pyx_k_FM25_TRANS[] = "FM25_TRANS";
static const char __pyx_k_FM34_TRANS[] = "FM34_TRANS";
static const char __pyx_k_FM35_TRANS[] = "FM35_TRANS";
static const char __pyx_k_FM45_TRANS[] = "FM45_TRANS";
static const char __pyx_k_FP13_TRANS[] = "FP13_TRANS";
static const char __pyx_k_FluorYield[] = "_FluorYield";
static const char __pyx_k_JumpFactor[] = "_JumpFactor";
static const char __pyx_k_L1N67_LINE[] = "L1N67_LINE";
static const char __pyx_k_L1O45_LINE[] = "L1O45_LINE";
static const char __pyx_k_L1P23_LINE[] = "L1P23_LINE";
static const char __pyx_k_L2P23_LINE[] = "L2P23_LINE";
static const char __pyx_k_L3O45_LINE[] = "L3O45_LINE";
static const char __pyx_k_L3P23_LINE[] = "L3P23_LINE";
static const char __pyx_k_L3P45_LINE[] = "L3P45_LINE";
static const char __pyx_k_LineEnergy[] = "_LineEnergy";
static const char __pyx_k_SF_Compt_2[] = "SF_Compt";
static const char __pyx_k_ValueError[] = "ValueError";
static const char __pyx_k_xraylib_np[] = "xraylib_np";
static const char __pyx_k_AugerRate_2[] = "AugerRate";
static const char __pyx_k_CS_Energy_2[] = "CS_Energy";
static const char __pyx_k_CSb_Compt_2[] = "CSb_Compt";
static const char __pyx_k_CSb_Photo_2[] = "CSb_Photo";
static const char __pyx_k_CSb_Total_2[] = "CSb_Total";
static const char __pyx_k_DCSP_Rayl_2[] = "DCSP_Rayl";
static const char __pyx_k_DCSPb_Compt[] = "_DCSPb_Compt";
static const char __pyx_k_DCS_Compt_2[] = "DCS_Compt";
static const char __pyx_k_DCS_Thoms_2[] = "DCS_Thoms";
static const char __pyx_k_DCSb_Rayl_2[] = "DCSb_Rayl";
static const char __pyx_k_FLP13_TRANS[] = "FLP13_TRANS";
static const char __pyx_k_ImportError[] = "ImportError";
static const char __pyx_k_SetHardExit[] = "SetHardExit";
static const char __pyx_k_exit_status[] = "exit_status";
static const char __pyx_k_AtomicWeight[] = "AtomicWeight";
static const char __pyx_k_AugerYield_2[] = "AugerYield";
static const char __pyx_k_CS_FluorLine[] = "_CS_FluorLine";
static const char __pyx_k_DCSP_Compt_2[] = "DCSP_Compt";
static const char __pyx_k_DCSP_Thoms_2[] = "DCSP_Thoms";
static const char __pyx_k_DCSPb_Rayl_2[] = "DCSPb_Rayl";
static const char __pyx_k_DCSb_Compt_2[] = "DCSb_Compt";
static const char __pyx_k_EdgeEnergy_2[] = "EdgeEnergy";
static const char __pyx_k_FluorYield_2[] = "FluorYield";
static const char __pyx_k_JumpFactor_2[] = "JumpFactor";
static const char __pyx_k_K_L1L1_AUGER[] = "K_L1L1_AUGER";
static const char __pyx_k_K_L1L2_AUGER[] = "K_L1L2_AUGER";
static const char __pyx_k_K_L1L3_AUGER[] = "K_L1L3_AUGER";
static const char __pyx_k_K_L1M1_AUGER[] = "K_L1M1_AUGER";
static const char __pyx_k_K_L1M2_AUGER[] = "K_L1M2_AUGER";
static const char __pyx_k_K_L1M3_AUGER[] = "K_L1M3_AUGER";
static const char __pyx_k_K_L1M4_AUGER[] = "K_L1M4_AUGER";
static const char __pyx_k_K_L1M5_AUGER[] = "K_L1M5_AUGER";
static const char __pyx_k_K_L1N1_AUGER[] = "K_L1N1_AUGER";
static const char __pyx_k_K_L1N2_AUGER[] = "K_L1N2_AUGER";
static const char __pyx_k_K_L1N3_AUGER[] = "K_L1N3_AUGER";
static const char __pyx_k_K_L1N4_AUGER[] = "K_L1N4_AUGER";
static const char __pyx_k_K_L1N5_AUGER[] = "K_L1N5_AUGER";
static const char __pyx_k_K_L1N6_AUGER[] = "K_L1N6_AUGER";
static const char __pyx_k_K_L1N7_AUGER[] = "K_L1N7_AUGER";
static const char __pyx_k_K_L1O1_AUGER[] = "K_L1O1_AUGER";
static const char __pyx_k_K_L1O2_AUGER[] = "K_L1O2_AUGER";
static const char __pyx_k_K_L1O3_AUGER[] = "K_L1O3_AUGER";
static const char __pyx_k_K_L1O4_AUGER[] = "K_L1O4_AUGER";
static const char __pyx_k_K_L1O5_AUGER[] = "K_L1O5_AUGER";
static const char __pyx_k_K_L1O6_AUGER[] = "K_L1O6_AUGER";
static const char __pyx_k_K_L1O7_AUGER[] = "K_L1O7_AUGER";
static const char __pyx_k_K_L1P1_AUGER[] = "K_L1P1_AUGER";
static const char __pyx_k_K_L1P2_AUGER[] = "K_L1P2_AUGER";
static const char __pyx_k_K_L1P3_AUGER[] = "K_L1P3_AUGER";
static const char __pyx_k_K_L1P4_AUGER[] = "K_L1P4_AUGER";
static const char __pyx_k_K_L1P5_AUGER[] = "K_L1P5_AUGER";
static const char __pyx_k_K_L1Q1_AUGER[] = "K_L1Q1_AUGER";
static const char __pyx_k_K_L1Q2_AUGER[] = "K_L1Q2_AUGER";
static const char __pyx_k_K_L1Q3_AUGER[] = "K_L1Q3_AUGER";
static const char __pyx_k_K_L2L1_AUGER[] = "K_L2L1_AUGER";
static const char __pyx_k_K_L2L2_AUGER[] = "K_L2L2_AUGER";
static const char __pyx_k_K_L2L3_AUGER[] = "K_L2L3_AUGER";
static const char __pyx_k_K_L2M1_AUGER[] = "K_L2M1_AUGER";
static const char __pyx_k_K_L2M2_AUGER[] = "K_L2M2_AUGER";
static const char __pyx_k_K_L2M3_AUGER[] = "K_L2M3_AUGER";
static const char __pyx_k_K_L2M4_AUGER[] = "K_L2M4_AUGER";
static const char __pyx_k_K_L2M5_AUGER[] = "K_L2M5_AUGER";
static const char __pyx_k_K_L2N1_AUGER[] = "K_L2N1_AUGER";
static const char __pyx_k_K_L2N2_AUGER[] = "K_L2N2_AUGER";
static const char __pyx_k_K_L2N3_AUGER[] = "K_L2N3_AUGER";
static const char __pyx_k_K_L2N4_AUGER[] = "K_L2N4_AUGER";
static const char __pyx_k_K_L2N5_AUGER[] = "K_L2N5_AUGER";
static const char __pyx_k_K_L2N6_AUGER[] = "K_L2N6_AUGER";
static const char __pyx_k_K_L2N7_AUGER[] = "K_L2N7_AUGER";
static const char __pyx_k_K_L2O1_AUGER[] = "K_L2O1_AUGER";
static const char __pyx_k_K_L2O2_AUGER[] = "K_L2O2_AUGER";
static const char __pyx_k_K_L2O3_AUGER[] = "K_L2O3_AUGER";
static const char __pyx_k_K_L2O4_AUGER[] = "K_L2O4_AUGER";
static const char __pyx_k_K_L2O5_AUGER[] = "K_L2O5_AUGER";
static const char __pyx_k_K_L2O6_AUGER[] = "K_L2O6_AUGER";
static const char __pyx_k_K_L2O7_AUGER[] = "K_L2O7_AUGER";
static const char __pyx_k_K_L2P1_AUGER[] = "K_L2P1_AUGER";
static const char __pyx_k_K_L2P2_AUGER[] = "K_L2P2_AUGER";
static const char __pyx_k_K_L2P3_AUGER[] = "K_L2P3_AUGER";
static const char __pyx_k_K_L2P4_AUGER[] = "K_L2P4_AUGER";
static const char __pyx_k_K_L2P5_AUGER[] = "K_L2P5_AUGER";
static const char __pyx_k_K_L2Q1_AUGER[] = "K_L2Q1_AUGER";
static const char __pyx_k_K_L2Q2_AUGER[] = "K_L2Q2_AUGER";
static const char __pyx_k_K_L2Q3_AUGER[] = "K_L2Q3_AUGER";
static const char __pyx_k_K_L3L1_AUGER[] = "K_L3L1_AUGER";
static const char __pyx_k_K_L3L2_AUGER[] = "K_L3L2_AUGER";
static const char __pyx_k_K_L3L3_AUGER[] = "K_L3L3_AUGER";
static const char __pyx_k_K_L3M1_AUGER[] = "K_L3M1_AUGER";
static const char __pyx_k_K_L3M2_AUGER[] = "K_L3M2_AUGER";
static const char __pyx_k_K_L3M3_AUGER[] = "K_L3M3_AUGER";
static const char __pyx_k_K_L3M4_AUGER[] = "K_L3M4_AUGER";
static const char __pyx_k_K_L3M5_AUGER[] = "K_L3M5_AUGER";
static const char __pyx_k_K_L3N1_AUGER[] = "K_L3N1_AUGER";
static const char __pyx_k_K_L3N2_AUGER[] = "K_L3N2_AUGER";
static const char __pyx_k_K_L3N3_AUGER[] = "K_L3N3_AUGER";
static const char __pyx_k_K_L3N4_AUGER[] = "K_L3N4_AUGER";
static const char __pyx_k_K_L3N5_AUGER[] = "K_L3N5_AUGER";
static const char __pyx_k_K_L3N6_AUGER[] = "K_L3N6_AUGER";
static const char __pyx_k_K_L3N7_AUGER[] = "K_L3N7_AUGER";
static const char __pyx_k_K_L3O1_AUGER[] = "K_L3O1_AUGER";
static const char __pyx_k_K_L3O2_AUGER[] = "K_L3O2_AUGER";
static const char __pyx_k_K_L3O3_AUGER[] = "K_L3O3_AUGER";
static const char __pyx_k_K_L3O4_AUGER[] = "K_L3O4_AUGER";
static const char __pyx_k_K_L3O5_AUGER[] = "K_L3O5_AUGER";
static const char __pyx_k_K_L3O6_AUGER[] = "K_L3O6_AUGER";
static const char __pyx_k_K_L3O7_AUGER[] = "K_L3O7_AUGER";
static const char __pyx_k_K_L3P1_AUGER[] = "K_L3P1_AUGER";
static const char __pyx_k_K_L3P2_AUGER[] = "K_L3P2_AUGER";
static const char __pyx_k_K_L3P3_AUGER[] = "K_L3P3_AUGER";
static const char __pyx_k_K_L3P4_AUGER[] = "K_L3P4_AUGER";
static const char __pyx_k_K_L3P5_AUGER[] = "K_L3P5_AUGER";
static const char __pyx_k_K_L3Q1_AUGER[] = "K_L3Q1_AUGER";
static const char __pyx_k_K_L3Q2_AUGER[] = "K_L3Q2_AUGER";
static const char __pyx_k_K_L3Q3_AUGER[] = "K_L3Q3_AUGER";
static const char __pyx_k_K_M1L1_AUGER[] = "K_M1L1_AUGER";
static const char __pyx_k_K_M1L2_AUGER[] = "K_M1L2_AUGER";
static const char __pyx_k_K_M1L3_AUGER[] = "K_M1L3_AUGER";
static const char __pyx_k_K_M1M1_AUGER[] = "K_M1M1_AUGER";
static const char __pyx_k_K_M1M2_AUGER[] = "K_M1M2_AUGER";
static const char __pyx_k_K_M1M3_AUGER[] = "K_M1M3_AUGER";
static const char __pyx_k_K_M1M4_AUGER[] = "K_M1M4_AUGER";
static const char __pyx_k_K_M1M5_AUGER[] = "K_M1M5_AUGER";
static const char __pyx_k_K_M1N1_AUGER[] = "K_M1N1_AUGER";
static const char __pyx_k_K_M1N2_AUGER[] = "K_M1N2_AUGER";
static const char __pyx_k_K_M1N3_AUGER[] = "K_M1N3_AUGER";
static const char __pyx_k_K_M1N4_AUGER[] = "K_M1N4_AUGER";
static const char __pyx_k_K_M1N5_AUGER[] = "K_M1N5_AUGER";
static const char __pyx_k_K_M1N6_AUGER[] = "K_M1N6_AUGER";
static const char __pyx_k_K_M1N7_AUGER[] = "K_M1N7_AUGER";
static const char __pyx_k_K_M1O1_AUGER[] = "K_M1O1_AUGER";
static const char __pyx_k_K_M1O2_AUGER[] = "K_M1O2_AUGER";
static const char __pyx_k_K_M1O3_AUGER[] = "K_M1O3_AUGER";
static const char __pyx_k_K_M1O4_AUGER[] = "K_M1O4_AUGER";
static const char __pyx_k_K_M1O5_AUGER[] = "K_M1O5_AUGER";
static const char __pyx_k_K_M1O6_AUGER[] = "K_M1O6_AUGER";
static const char __pyx_k_K_M1O7_AUGER[] = "K_M1O7_AUGER";
static const char __pyx_k_K_M1P1_AUGER[] = "K_M1P1_AUGER";
static const char __pyx_k_K_M1P2_AUGER[] = "K_M1P2_AUGER";
static const char __pyx_k_K_M1P3_AUGER[] = "K_M1P3_AUGER";
static const char __pyx_k_K_M1P4_AUGER[] = "K_M1P4_AUGER";
static const char __pyx_k_K_M1P5_AUGER[] = "K_M1P5_AUGER";
static const char __pyx_k_K_M1Q1_AUGER[] = "K_M1Q1_AUGER";
static const char __pyx_k_K_M1Q2_AUGER[] = "K_M1Q2_AUGER";
static const char __pyx_k_K_M1Q3_AUGER[] = "K_M1Q3_AUGER";
static const char __pyx_k_K_M2L1_AUGER[] = "K_M2L1_AUGER";
static const char __pyx_k_K_M2L2_AUGER[] = "K_M2L2_AUGER";
static const char __pyx_k_K_M2L3_AUGER[] = "K_M2L3_AUGER";
static const char __pyx_k_K_M2M1_AUGER[] = "K_M2M1_AUGER";
static const char __pyx_k_K_M2M2_AUGER[] = "K_M2M2_AUGER";
static const char __pyx_k_K_M2M3_AUGER[] = "K_M2M3_AUGER";
static const char __pyx_k_K_M2M4_AUGER[] = "K_M2M4_AUGER";
static const char __pyx_k_K_M2M5_AUGER[] = "K_M2M5_AUGER";
static const char __pyx_k_K_M2N1_AUGER[] = "K_M2N1_AUGER";
static const char __pyx_k_K_M2N2_AUGER[] = "K_M2N2_AUGER";
static const char __pyx_k_K_M2N3_AUGER[] = "K_M2N3_AUGER";
static const char __pyx_k_K_M2N4_AUGER[] = "K_M2N4_AUGER";
static const char __pyx_k_K_M2N5_AUGER[] = "K_M2N5_AUGER";
static const char __pyx_k_K_M2N6_AUGER[] = "K_M2N6_AUGER";
static const char __pyx_k_K_M2N7_AUGER[] = "K_M2N7_AUGER";
static const char __pyx_k_K_M2O1_AUGER[] = "K_M2O1_AUGER";
static const char __pyx_k_K_M2O2_AUGER[] = "K_M2O2_AUGER";
static const char __pyx_k_K_M2O3_AUGER[] = "K_M2O3_AUGER";
static const char __pyx_k_K_M2O4_AUGER[] = "K_M2O4_AUGER";
static const char __pyx_k_K_M2O5_AUGER[] = "K_M2O5_AUGER";
static const char __pyx_k_K_M2O6_AUGER[] = "K_M2O6_AUGER";
static const char __pyx_k_K_M2O7_AUGER[] = "K_M2O7_AUGER";
static const char __pyx_k_K_M2P1_AUGER[] = "K_M2P1_AUGER";
static const char __pyx_k_K_M2P2_AUGER[] = "K_M2P2_AUGER";
static const char __pyx_k_K_M2P3_AUGER[] = "K_M2P3_AUGER";
static const char __pyx_k_K_M2P4_AUGER[] = "K_M2P4_AUGER";
static const char __pyx_k_K_M2P5_AUGER[] = "K_M2P5_AUGER";
static const char __pyx_k_K_M2Q1_AUGER[] = "K_M2Q1_AUGER";
static const char __pyx_k_K_M2Q2_AUGER[] = "K_M2Q2_AUGER";
static const char __pyx_k_K_M2Q3_AUGER[] = "K_M2Q3_AUGER";
static const char __pyx_k_K_M3L1_AUGER[] = "K_M3L1_AUGER";
static const char __pyx_k_K_M3L2_AUGER[] = "K_M3L2_AUGER";
static const char __pyx_k_K_M3L3_AUGER[] = "K_M3L3_AUGER";
static const char __pyx_k_K_M3M1_AUGER[] = "K_M3M1_AUGER";
static const char __pyx_k_K_M3M2_AUGER[] = "K_M3M2_AUGER";
static const char __pyx_k_K_M3M3_AUGER[] = "K_M3M3_AUGER";
static const char __pyx_k_K_M3M4_AUGER[] = "K_M3M4_AUGER";
static const char __pyx_k_K_M3M5_AUGER[] = "K_M3M5_AUGER";
static const char __pyx_k_K_M3N1_AUGER[] = "K_M3N1_AUGER";
static const char __pyx_k_K_M3N2_AUGER[] = "K_M3N2_AUGER";
static const char __pyx_k_K_M3N3_AUGER[] = "K_M3N3_AUGER";
static const char __pyx_k_K_M3N4_AUGER[] = "K_M3N4_AUGER";
static const char __pyx_k_K_M3N5_AUGER[] = "K_M3N5_AUGER";
static const char __pyx_k_K_M3N6_AUGER[] = "K_M3N6_AUGER";
static const char __pyx_k_K_M3N7_AUGER[] = "K_M3N7_AUGER";
static const char __pyx_k_K_M3O1_AUGER[] = "K_M3O1_AUGER";
static const char __pyx_k_K_M3O2_AUGER[] = "K_M3O2_AUGER";
static const char __pyx_k_K_M3O3_AUGER[] = "K_M3O3_AUGER";
static const char __pyx_k_K_M3O4_AUGER[] = "K_M3O4_AUGER";
static const char __pyx_k_K_M3O5_AUGER[] = "K_M3O5_AUGER";
static const char __pyx_k_K_M3O6_AUGER[] = "K_M3O6_AUGER";
static const char __pyx_k_K_M3O7_AUGER[] = "K_M3O7_AUGER";
static const char __pyx_k_K_M3P1_AUGER[] = "K_M3P1_AUGER";
static const char __pyx_k_K_M3P2_AUGER[] = "K_M3P2_AUGER";
static const char __pyx_k_K_M3P3_AUGER[] = "K_M3P3_AUGER";
static const char __pyx_k_K_M3P4_AUGER[] = "K_M3P4_AUGER";
static const char __pyx_k_K_M3P5_AUGER[] = "K_M3P5_AUGER";
static const char __pyx_k_K_M3Q1_AUGER[] = "K_M3Q1_AUGER";
static const char __pyx_k_K_M3Q2_AUGER[] = "K_M3Q2_AUGER";
static const char __pyx_k_K_M3Q3_AUGER[] = "K_M3Q3_AUGER";
static const char __pyx_k_K_M4L1_AUGER[] = "K_M4L1_AUGER";
static const char __pyx_k_K_M4L2_AUGER[] = "K_M4L2_AUGER";
static const char __pyx_k_K_M4L3_AUGER[] = "K_M4L3_AUGER";
static const char __pyx_k_K_M4M1_AUGER[] = "K_M4M1_AUGER";
static const char __pyx_k_K_M4M2_AUGER[] = "K_M4M2_AUGER";
static const char __pyx_k_K_M4M3_AUGER[] = "K_M4M3_AUGER";
static const char __pyx_k_K_M4M4_AUGER[] = "K_M4M4_AUGER";
static const char __pyx_k_K_M4M5_AUGER[] = "K_M4M5_AUGER";
static const char __pyx_k_K_M4N1_AUGER[] = "K_M4N1_AUGER";
static const char __pyx_k_K_M4N2_AUGER[] = "K_M4N2_AUGER";
static const char __pyx_k_K_M4N3_AUGER[] = "K_M4N3_AUGER";
static const char __pyx_k_K_M4N4_AUGER[] = "K_M4N4_AUGER";
static const char __pyx_k_K_M4N5_AUGER[] = "K_M4N5_AUGER";
static const char __pyx_k_K_M4N6_AUGER[] = "K_M4N6_AUGER";
static const char __pyx_k_K_M4N7_AUGER[] = "K_M4N7_AUGER";
static const char __pyx_k_K_M4O1_AUGER[] = "K_M4O1_AUGER";
static const char __pyx_k_K_M4O2_AUGER[] = "K_M4O2_AUGER";
static const char __pyx_k_K_M4O3_AUGER[] = "K_M4O3_AUGER";
static const char __pyx_k_K_M4O4_AUGER[] = "K_M4O4_AUGER";
static const char __pyx_k_K_M4O5_AUGER[] = "K_M4O5_AUGER";
static const char __pyx_k_K_M4O6_AUGER[] = "K_M4O6_AUGER";
static const char __pyx_k_K_M4O7_AUGER[] = "K_M4O7_AUGER";
static const char __pyx_k_K_M4P1_AUGER[] = "K_M4P1_AUGER";
static const char __pyx_k_K_M4P2_AUGER[] = "K_M4P2_AUGER";
static const char __pyx_k_K_M4P3_AUGER[] = "K_M4P3_AUGER";
static const char __pyx_k_K_M4P4_AUGER[] = "K_M4P4_AUGER";
static const char __pyx_k_K_M4P5_AUGER[] = "K_M4P5_AUGER";
static const char __pyx_k_K_M4Q1_AUGER[] = "K_M4Q1_AUGER";
static const char __pyx_k_K_M4Q2_AUGER[] = "K_M4Q2_AUGER";
static const char __pyx_k_K_M4Q3_AUGER[] = "K_M4Q3_AUGER";
static const char __pyx_k_K_M5L1_AUGER[] = "K_M5L1_AUGER";
static const char __pyx_k_K_M5L2_AUGER[] = "K_M5L2_AUGER";
static const char __pyx_k_K_M5L3_AUGER[] = "K_M5L3_AUGER";
static const char __pyx_k_K_M5M1_AUGER[] = "K_M5M1_AUGER";
static const char __pyx_k_K_M5M2_AUGER[] = "K_M5M2_AUGER";
static const char __pyx_k_K_M5M3_AUGER[] = "K_M5M3_AUGER";
static const char __pyx_k_K_M5M4_AUGER[] = "K_M5M4_AUGER";
static const char __pyx_k_K_M5M5_AUGER[] = "K_M5M5_AUGER";
static const char __pyx_k_K_M5N1_AUGER[] = "K_M5N1_AUGER";
static const char __pyx_k_K_M5N2_AUGER[] = "K_M5N2_AUGER";
static const char __pyx_k_K_M5N3_AUGER[] = "K_M5N3_AUGER";
static const char __pyx_k_K_M5N4_AUGER[] = "K_M5N4_AUGER";
static const char __pyx_k_K_M5N5_AUGER[] = "K_M5N5_AUGER";
static const char __pyx_k_K_M5N6_AUGER[] = "K_M5N6_AUGER";
static const char __pyx_k_K_M5N7_AUGER[] = "K_M5N7_AUGER";
static const char __pyx_k_K_M5O1_AUGER[] = "K_M5O1_AUGER";
static const char __pyx_k_K_M5O2_AUGER[] = "K_M5O2_AUGER";
static const char __pyx_k_K_M5O3_AUGER[] = "K_M5O3_AUGER";
static const char __pyx_k_K_M5O4_AUGER[] = "K_M5O4_AUGER";
static const char __pyx_k_K_M5O5_AUGER[] = "K_M5O5_AUGER";
static const char __pyx_k_K_M5O6_AUGER[] = "K_M5O6_AUGER";
static const char __pyx_k_K_M5O7_AUGER[] = "K_M5O7_AUGER";
static const char __pyx_k_K_M5P1_AUGER[] = "K_M5P1_AUGER";
static const char __pyx_k_K_M5P2_AUGER[] = "K_M5P2_AUGER";
static const char __pyx_k_K_M5P3_AUGER[] = "K_M5P3_AUGER";
static const char __pyx_k_K_M5P4_AUGER[] = "K_M5P4_AUGER";
static const char __pyx_k_K_M5P5_AUGER[] = "K_M5P5_AUGER";
static const char __pyx_k_K_M5Q1_AUGER[] = "K_M5Q1_AUGER";
static const char __pyx_k_K_M5Q2_AUGER[] = "K_M5Q2_AUGER";
static const char __pyx_k_K_M5Q3_AUGER[] = "K_M5Q3_AUGER";
static const char __pyx_k_LineEnergy_2[] = "LineEnergy";
static const char __pyx_k_MomentTransf[] = "_MomentTransf";
static const char __pyx_k_RuntimeError[] = "RuntimeError";
static const char __pyx_k_CSb_FluorLine[] = "_CSb_FluorLine";
static const char __pyx_k_ComptonEnergy[] = "_ComptonEnergy";
static const char __pyx_k_DCSPb_Compt_2[] = "DCSPb_Compt";
static const char __pyx_k_GetExitStatus[] = "GetExitStatus";
static const char __pyx_k_L1_L2L2_AUGER[] = "L1_L2L2_AUGER";
static const char __pyx_k_L1_L2L3_AUGER[] = "L1_L2L3_AUGER";
static const char __pyx_k_L1_L2M1_AUGER[] = "L1_L2M1_AUGER";
static const char __pyx_k_L1_L2M2_AUGER[] = "L1_L2M2_AUGER";
static const char __pyx_k_L1_L2M3_AUGER[] = "L1_L2M3_AUGER";
static const char __pyx_k_L1_L2M4_AUGER[] = "L1_L2M4_AUGER";
static const char __pyx_k_L1_L2M5_AUGER[] = "L1_L2M5_AUGER";
static const char __pyx_k_L1_L2N1_AUGER[] = "L1_L2N1_AUGER";
static const char __pyx_k_L1_L2N2_AUGER[] = "L1_L2N2_AUGER";
static const char __pyx_k_L1_L2N3_AUGER[] = "L1_L2N3_AUGER";
static const char __pyx_k_L1_L2N4_AUGER[] = "L1_L2N4_AUGER";
static const char __pyx_k_L1_L2N5_AUGER[] = "L1_L2N5_AUGER";
static const char __pyx_k_L1_L2N6_AUGER[] = "L1_L2N6_AUGER";
static const char __pyx_k_L1_L2N7_AUGER[] = "L1_L2N7_AUGER";
static const char __pyx_k_L1_L2O1_AUGER[] = "L1_L2O1_AUGER";
static const char __pyx_k_L1_L2O2_AUGER[] = "L1_L2O2_AUGER";
static const char __pyx_k_L1_L2O3_AUGER[] = "L1_L2O3_AUGER";
static const char __pyx_k_L1_L2O4_AUGER[] = "L1_L2O4_AUGER";
static const char __pyx_k_L1_L2O5_AUGER[] = "L1_L2O5_AUGER";
static const char __pyx_k_L1_L2O6_AUGER[] = "L1_L2O6_AUGER";
static const char __pyx_k_L1_L2O7_AUGER[] = "L1_L2O7_AUGER";
static const char __pyx_k_L1_L2P1_AUGER[] = "L1_L2P1_AUGER";
static const char __pyx_k_L1_L2P2_AUGER[] = "L1_L2P2_AUGER";
static const char __pyx_k_L1_L2P3_AUGER[] = "L1_L2P3_AUGER";
static const char __pyx_k_L1_L2P4_AUGER[] = "L1_L2P4_AUGER";
static const char __pyx_k_L1_L2P5_AUGER[] = "L1_L2P5_AUGER";
static const char __pyx_k_L1_L2Q1_AUGER[] = "L1_L2Q1_AUGER";
static const char __pyx_k_L1_L2Q2_AUGER[] = "L1_L2Q2_AUGER";
static const char __pyx_k_L1_L2Q3_AUGER[] = "L1_L2Q3_AUGER";
static const char __pyx_k_L1_L3L2_AUGER[] = "L1_L3L2_AUGER";
static const char __pyx_k_L1_L3L3_AUGER[] = "L1_L3L3_AUGER";
static const char __pyx_k_L1_L3M1_AUGER[] = "L1_L3M1_AUGER";
static const char __pyx_k_L1_L3M2_AUGER[] = "L1_L3M2_AUGER";
static const char __pyx_k_L1_L3M3_AUGER[] = "L1_L3M3_AUGER";
static const char __pyx_k_L1_L3M4_AUGER[] = "L1_L3M4_AUGER";
static const char __pyx_k_L1_L3M5_AUGER[] = "L1_L3M5_AUGER";
static const char __pyx_k_L1_L3N1_AUGER[] = "L1_L3N1_AUGER";
static const char __pyx_k_L1_L3N2_AUGER[] = "L1_L3N2_AUGER";
static const char __pyx_k_L1_L3N3_AUGER[] = "L1_L3N3_AUGER";
static const char __pyx_k_L1_L3N4_AUGER[] = "L1_L3N4_AUGER";
static const char __pyx_k_L1_L3N5_AUGER[] = "L1_L3N5_AUGER";
static const char __pyx_k_L1_L3N6_AUGER[] = "L1_L3N6_AUGER";
static const char __pyx_k_L1_L3N7_AUGER[] = "L1_L3N7_AUGER";
static const char __pyx_k_L1_L3O1_AUGER[] = "L1_L3O1_AUGER";
static const char __pyx_k_L1_L3O2_AUGER[] = "L1_L3O2_AUGER";
static const char __pyx_k_L1_L3O3_AUGER[] = "L1_L3O3_AUGER";
static const char __pyx_k_L1_L3O4_AUGER[] = "L1_L3O4_AUGER";
static const char __pyx_k_L1_L3O5_AUGER[] = "L1_L3O5_AUGER";
static const char __pyx_k_L1_L3O6_AUGER[] = "L1_L3O6_AUGER";
static const char __pyx_k_L1_L3O7_AUGER[] = "L1_L3O7_AUGER";
static const char __pyx_k_L1_L3P1_AUGER[] = "L1_L3P1_AUGER";
static const char __pyx_k_L1_L3P2_AUGER[] = "L1_L3P2_AUGER";
static const char __pyx_k_L1_L3P3_AUGER[] = "L1_L3P3_AUGER";
static const char __pyx_k_L1_L3P4_AUGER[] = "L1_L3P4_AUGER";
static const char __pyx_k_L1_L3P5_AUGER[] = "L1_L3P5_AUGER";
static const char __pyx_k_L1_L3Q1_AUGER[] = "L1_L3Q1_AUGER";
static const char __pyx_k_L1_L3Q2_AUGER[] = "L1_L3Q2_AUGER";
static const char __pyx_k_L1_L3Q3_AUGER[] = "L1_L3Q3_AUGER";
static const char __pyx_k_L1_M1L2_AUGER[] = "L1_M1L2_AUGER";
static const char __pyx_k_L1_M1L3_AUGER[] = "L1_M1L3_AUGER";
static const char __pyx_k_L1_M1M1_AUGER[] = "L1_M1M1_AUGER";
static const char __pyx_k_L1_M1M2_AUGER[] = "L1_M1M2_AUGER";
static const char __pyx_k_L1_M1M3_AUGER[] = "L1_M1M3_AUGER";
static const char __pyx_k_L1_M1M4_AUGER[] = "L1_M1M4_AUGER";
static const char __pyx_k_L1_M1M5_AUGER[] = "L1_M1M5_AUGER";
static const char __pyx_k_L1_M1N1_AUGER[] = "L1_M1N1_AUGER";
static const char __pyx_k_L1_M1N2_AUGER[] = "L1_M1N2_AUGER";
static const char __pyx_k_L1_M1N3_AUGER[] = "L1_M1N3_AUGER";
static const char __pyx_k_L1_M1N4_AUGER[] = "L1_M1N4_AUGER";
static const char __pyx_k_L1_M1N5_AUGER[] = "L1_M1N5_AUGER";
static const char __pyx_k_L1_M1N6_AUGER[] = "L1_M1N6_AUGER";
static const char __pyx_k_L1_M1N7_AUGER[] = "L1_M1N7_AUGER";
static const char __pyx_k_L1_M1O1_AUGER[] = "L1_M1O1_AUGER";
static const char __pyx_k_L1_M1O2_AUGER[] = "L1_M1O2_AUGER";
static const char __pyx_k_L1_M1O3_AUGER[] = "L1_M1O3_AUGER";
static const char __pyx_k_L1_M1O4_AUGER[] = "L1_M1O4_AUGER";
static const char __pyx_k_L1_M1O5_AUGER[] = "L1_M1O5_AUGER";
static const char __pyx_k_L1_M1O6_AUGER[] = "L1_M1O6_AUGER";
static const char __pyx_k_L1_M1O7_AUGER[] = "L1_M1O7_AUGER";
static const char __pyx_k_L1_M1P1_AUGER[] = "L1_M1P1_AUGER";
static const char __pyx_k_L1_M1P2_AUGER[] = "L1_M1P2_AUGER";
static const char __pyx_k_L1_M1P3_AUGER[] = "L1_M1P3_AUGER";
static const char __pyx_k_L1_M1P4_AUGER[] = "L1_M1P4_AUGER";
static const char __pyx_k_L1_M1P5_AUGER[] = "L1_M1P5_AUGER";
static const char __pyx_k_L1_M1Q1_AUGER[] = "L1_M1Q1_AUGER";
static const char __pyx_k_L1_M1Q2_AUGER[] = "L1_M1Q2_AUGER";
static const char __pyx_k_L1_M1Q3_AUGER[] = "L1_M1Q3_AUGER";
static const char __pyx_k_L1_M2L2_AUGER[] = "L1_M2L2_AUGER";
static const char __pyx_k_L1_M2L3_AUGER[] = "L1_M2L3_AUGER";
static const char __pyx_k_L1_M2M1_AUGER[] = "L1_M2M1_AUGER";
static const char __pyx_k_L1_M2M2_AUGER[] = "L1_M2M2_AUGER";
static const char __pyx_k_L1_M2M3_AUGER[] = "L1_M2M3_AUGER";
static const char __pyx_k_L1_M2M4_AUGER[] = "L1_M2M4_AUGER";
static const char __pyx_k_L1_M2M5_AUGER[] = "L1_M2M5_AUGER";
static const char __pyx_k_L1_M2N1_AUGER[] = "L1_M2N1_AUGER";
static const char __pyx_k_L1_M2N2_AUGER[] = "L1_M2N2_AUGER";
static const char __pyx_k_L1_M2N3_AUGER[] = "L1_M2N3_AUGER";
static const char __pyx_k_L1_M2N4_AUGER[] = "L1_M2N4_AUGER";
static const char __pyx_k_L1_M2N5_AUGER[] = "L1_M2N5_AUGER";
static const char __pyx_k_L1_M2N6_AUGER[] = "L1_M2N6_AUGER";
static const char __pyx_k_L1_M2N7_AUGER[] = "L1_M2N7_AUGER";
static const char __pyx_k_L1_M2O1_AUGER[] = "L1_M2O1_AUGER";
static const char __pyx_k_L1_M2O2_AUGER[] = "L1_M2O2_AUGER";
static const char __pyx_k_L1_M2O3_AUGER[] = "L1_M2O3_AUGER";
static const char __pyx_k_L1_M2O4_AUGER[] = "L1_M2O4_AUGER";
static const char __pyx_k_L1_M2O5_AUGER[] = "L1_M2O5_AUGER";
static const char __pyx_k_L1_M2O6_AUGER[] = "L1_M2O6_AUGER";
static const char __pyx_k_L1_M2O7_AUGER[] = "L1_M2O7_AUGER";
static const char __pyx_k_L1_M2P1_AUGER[] = "L1_M2P1_AUGER";
static const char __pyx_k_L1_M2P2_AUGER[] = "L1_M2P2_AUGER";
static const char __pyx_k_L1_M2P3_AUGER[] = "L1_M2P3_AUGER";
static const char __pyx_k_L1_M2P4_AUGER[] = "L1_M2P4_AUGER";
static const char __pyx_k_L1_M2P5_AUGER[] = "L1_M2P5_AUGER";
static const char __pyx_k_L1_M2Q1_AUGER[] = "L1_M2Q1_AUGER";
static const char __pyx_k_L1_M2Q2_AUGER[] = "L1_M2Q2_AUGER";
static const char __pyx_k_L1_M2Q3_AUGER[] = "L1_M2Q3_AUGER";
static const char __pyx_k_L1_M3L2_AUGER[] = "L1_M3L2_AUGER";
static const char __pyx_k_L1_M3L3_AUGER[] = "L1_M3L3_AUGER";
static const char __pyx_k_L1_M3M1_AUGER[] = "L1_M3M1_AUGER";
static const char __pyx_k_L1_M3M2_AUGER[] = "L1_M3M2_AUGER";
static const char __pyx_k_L1_M3M3_AUGER[] = "L1_M3M3_AUGER";
static const char __pyx_k_L1_M3M4_AUGER[] = "L1_M3M4_AUGER";
static const char __pyx_k_L1_M3M5_AUGER[] = "L1_M3M5_AUGER";
static const char __pyx_k_L1_M3N1_AUGER[] = "L1_M3N1_AUGER";
static const char __pyx_k_L1_M3N2_AUGER[] = "L1_M3N2_AUGER";
static const char __pyx_k_L1_M3N3_AUGER[] = "L1_M3N3_AUGER";
static const char __pyx_k_L1_M3N4_AUGER[] = "L1_M3N4_AUGER";
static const char __pyx_k_L1_M3N5_AUGER[] = "L1_M3N5_AUGER";
static const char __pyx_k_L1_M3N6_AUGER[] = "L1_M3N6_AUGER";
static const char __pyx_k_L1_M3N7_AUGER[] = "L1_M3N7_AUGER";
static const char __pyx_k_L1_M3O1_AUGER[] = "L1_M3O1_AUGER";
static const char __pyx_k_L1_M3O2_AUGER[] = "L1_M3O2_AUGER";
static const char __pyx_k_L1_M3O3_AUGER[] = "L1_M3O3_AUGER";
static const char __pyx_k_L1_M3O4_AUGER[] = "L1_M3O4_AUGER";
static const char __pyx_k_L1_M3O5_AUGER[] = "L1_M3O5_AUGER";
static const char __pyx_k_L1_M3O6_AUGER[] = "L1_M3O6_AUGER";
static const char __pyx_k_L1_M3O7_AUGER[] = "L1_M3O7_AUGER";
static const char __pyx_k_L1_M3P1_AUGER[] = "L1_M3P1_AUGER";
static const char __pyx_k_L1_M3P2_AUGER[] = "L1_M3P2_AUGER";
static const char __pyx_k_L1_M3P3_AUGER[] = "L1_M3P3_AUGER";
static const char __pyx_k_L1_M3P4_AUGER[] = "L1_M3P4_AUGER";
static const char __pyx_k_L1_M3P5_AUGER[] = "L1_M3P5_AUGER";
static const char __pyx_k_L1_M3Q1_AUGER[] = "L1_M3Q1_AUGER";
static const char __pyx_k_L1_M3Q2_AUGER[] = "L1_M3Q2_AUGER";
static const char __pyx_k_L1_M3Q3_AUGER[] = "L1_M3Q3_AUGER";
static const char __pyx_k_L1_M4L2_AUGER[] = "L1_M4L2_AUGER";
static const char __pyx_k_L1_M4L3_AUGER[] = "L1_M4L3_AUGER";
static const char __pyx_k_L1_M4M1_AUGER[] = "L1_M4M1_AUGER";
static const char __pyx_k_L1_M4M2_AUGER[] = "L1_M4M2_AUGER";
static const char __pyx_k_L1_M4M3_AUGER[] = "L1_M4M3_AUGER";
static const char __pyx_k_L1_M4M4_AUGER[] = "L1_M4M4_AUGER";
static const char __pyx_k_L1_M4M5_AUGER[] = "L1_M4M5_AUGER";
static const char __pyx_k_L1_M4N1_AUGER[] = "L1_M4N1_AUGER";
static const char __pyx_k_L1_M4N2_AUGER[] = "L1_M4N2_AUGER";
static const char __pyx_k_L1_M4N3_AUGER[] = "L1_M4N3_AUGER";
static const char __pyx_k_L1_M4N4_AUGER[] = "L1_M4N4_AUGER";
static const char __pyx_k_L1_M4N5_AUGER[] = "L1_M4N5_AUGER";
static const char __pyx_k_L1_M4N6_AUGER[] = "L1_M4N6_AUGER";
static const char __pyx_k_L1_M4N7_AUGER[] = "L1_M4N7_AUGER";
static const char __pyx_k_L1_M4O1_AUGER[] = "L1_M4O1_AUGER";
static const char __pyx_k_L1_M4O2_AUGER[] = "L1_M4O2_AUGER";
static const char __pyx_k_L1_M4O3_AUGER[] = "L1_M4O3_AUGER";
static const char __pyx_k_L1_M4O4_AUGER[] = "L1_M4O4_AUGER";
static const char __pyx_k_L1_M4O5_AUGER[] = "L1_M4O5_AUGER";
static const char __pyx_k_L1_M4O6_AUGER[] = "L1_M4O6_AUGER";
static const char __pyx_k_L1_M4O7_AUGER[] = "L1_M4O7_AUGER";
static const char __pyx_k_L1_M4P1_AUGER[] = "L1_M4P1_AUGER";
static const char __pyx_k_L1_M4P2_AUGER[] = "L1_M4P2_AUGER";
static const char __pyx_k_L1_M4P3_AUGER[] = "L1_M4P3_AUGER";
static const char __pyx_k_L1_M4P4_AUGER[] = "L1_M4P4_AUGER";
static const char __pyx_k_L1_M4P5_AUGER[] = "L1_M4P5_AUGER";
static const char __pyx_k_L1_M4Q1_AUGER[] = "L1_M4Q1_AUGER";
static const char __pyx_k_L1_M4Q2_AUGER[] = "L1_M4Q2_AUGER";
static const char __pyx_k_L1_M4Q3_AUGER[] = "L1_M4Q3_AUGER";
static const char __pyx_k_L1_M5L2_AUGER[] = "L1_M5L2_AUGER";
static const char __pyx_k_L1_M5L3_AUGER[] = "L1_M5L3_AUGER";
static const char __pyx_k_L1_M5M1_AUGER[] = "L1_M5M1_AUGER";
static const char __pyx_k_L1_M5M2_AUGER[] = "L1_M5M2_AUGER";
static const char __pyx_k_L1_M5M3_AUGER[] = "L1_M5M3_AUGER";
static const char __pyx_k_L1_M5M4_AUGER[] = "L1_M5M4_AUGER";
static const char __pyx_k_L1_M5M5_AUGER[] = "L1_M5M5_AUGER";
static const char __pyx_k_L1_M5N1_AUGER[] = "L1_M5N1_AUGER";
static const char __pyx_k_L1_M5N2_AUGER[] = "L1_M5N2_AUGER";
static const char __pyx_k_L1_M5N3_AUGER[] = "L1_M5N3_AUGER";
static const char __pyx_k_L1_M5N4_AUGER[] = "L1_M5N4_AUGER";
static const char __pyx_k_L1_M5N5_AUGER[] = "L1_M5N5_AUGER";
static const char __pyx_k_L1_M5N6_AUGER[] = "L1_M5N6_AUGER";
static const char __pyx_k_L1_M5N7_AUGER[] = "L1_M5N7_AUGER";
static const char __pyx_k_L1_M5O1_AUGER[] = "L1_M5O1_AUGER";
static const char __pyx_k_L1_M5O2_AUGER[] = "L1_M5O2_AUGER";
static const char __pyx_k_L1_M5O3_AUGER[] = "L1_M5O3_AUGER";
static const char __pyx_k_L1_M5O4_AUGER[] = "L1_M5O4_AUGER";
static const char __pyx_k_L1_M5O5_AUGER[] = "L1_M5O5_AUGER";
static const char __pyx_k_L1_M5O6_AUGER[] = "L1_M5O6_AUGER";
static const char __pyx_k_L1_M5O7_AUGER[] = "L1_M5O7_AUGER";
static const char __pyx_k_L1_M5P1_AUGER[] = "L1_M5P1_AUGER";
static const char __pyx_k_L1_M5P2_AUGER[] = "L1_M5P2_AUGER";
static const char __pyx_k_L1_M5P3_AUGER[] = "L1_M5P3_AUGER";
static const char __pyx_k_L1_M5P4_AUGER[] = "L1_M5P4_AUGER";
static const char __pyx_k_L1_M5P5_AUGER[] = "L1_M5P5_AUGER";
static const char __pyx_k_L1_M5Q1_AUGER[] = "L1_M5Q1_AUGER";
static const char __pyx_k_L1_M5Q2_AUGER[] = "L1_M5Q2_AUGER";
static const char __pyx_k_L1_M5Q3_AUGER[] = "L1_M5Q3_AUGER";
static const char __pyx_k_L2_L3L3_AUGER[] = "L2_L3L3_AUGER";
static const char __pyx_k_L2_L3M1_AUGER[] = "L2_L3M1_AUGER";
static const char __pyx_k_L2_L3M2_AUGER[] = "L2_L3M2_AUGER";
static const char __pyx_k_L2_L3M3_AUGER[] = "L2_L3M3_AUGER";
static const char __pyx_k_L2_L3M4_AUGER[] = "L2_L3M4_AUGER";
static const char __pyx_k_L2_L3M5_AUGER[] = "L2_L3M5_AUGER";
static const char __pyx_k_L2_L3N1_AUGER[] = "L2_L3N1_AUGER";
static const char __pyx_k_L2_L3N2_AUGER[] = "L2_L3N2_AUGER";
static const char __pyx_k_L2_L3N3_AUGER[] = "L2_L3N3_AUGER";
static const char __pyx_k_L2_L3N4_AUGER[] = "L2_L3N4_AUGER";
static const char __pyx_k_L2_L3N5_AUGER[] = "L2_L3N5_AUGER";
static const char __pyx_k_L2_L3N6_AUGER[] = "L2_L3N6_AUGER";
static const char __pyx_k_L2_L3N7_AUGER[] = "L2_L3N7_AUGER";
static const char __pyx_k_L2_L3O1_AUGER[] = "L2_L3O1_AUGER";
static const char __pyx_k_L2_L3O2_AUGER[] = "L2_L3O2_AUGER";
static const char __pyx_k_L2_L3O3_AUGER[] = "L2_L3O3_AUGER";
static const char __pyx_k_L2_L3O4_AUGER[] = "L2_L3O4_AUGER";
static const char __pyx_k_L2_L3O5_AUGER[] = "L2_L3O5_AUGER";
static const char __pyx_k_L2_L3O6_AUGER[] = "L2_L3O6_AUGER";
static const char __pyx_k_L2_L3O7_AUGER[] = "L2_L3O7_AUGER";
static const char __pyx_k_L2_L3P1_AUGER[] = "L2_L3P1_AUGER";
static const char __pyx_k_L2_L3P2_AUGER[] = "L2_L3P2_AUGER";
static const char __pyx_k_L2_L3P3_AUGER[] = "L2_L3P3_AUGER";
static const char __pyx_k_L2_L3P4_AUGER[] = "L2_L3P4_AUGER";
static const char __pyx_k_L2_L3P5_AUGER[] = "L2_L3P5_AUGER";
static const char __pyx_k_L2_L3Q1_AUGER[] = "L2_L3Q1_AUGER";
static const char __pyx_k_L2_L3Q2_AUGER[] = "L2_L3Q2_AUGER";
static const char __pyx_k_L2_L3Q3_AUGER[] = "L2_L3Q3_AUGER";
static const char __pyx_k_L2_M1L3_AUGER[] = "L2_M1L3_AUGER";
static const char __pyx_k_L2_M1M1_AUGER[] = "L2_M1M1_AUGER";
static const char __pyx_k_L2_M1M2_AUGER[] = "L2_M1M2_AUGER";
static const char __pyx_k_L2_M1M3_AUGER[] = "L2_M1M3_AUGER";
static const char __pyx_k_L2_M1M4_AUGER[] = "L2_M1M4_AUGER";
static const char __pyx_k_L2_M1M5_AUGER[] = "L2_M1M5_AUGER";
static const char __pyx_k_L2_M1N1_AUGER[] = "L2_M1N1_AUGER";
static const char __pyx_k_L2_M1N2_AUGER[] = "L2_M1N2_AUGER";
static const char __pyx_k_L2_M1N3_AUGER[] = "L2_M1N3_AUGER";
static const char __pyx_k_L2_M1N4_AUGER[] = "L2_M1N4_AUGER";
static const char __pyx_k_L2_M1N5_AUGER[] = "L2_M1N5_AUGER";
static const char __pyx_k_L2_M1N6_AUGER[] = "L2_M1N6_AUGER";
static const char __pyx_k_L2_M1N7_AUGER[] = "L2_M1N7_AUGER";
static const char __pyx_k_L2_M1O1_AUGER[] = "L2_M1O1_AUGER";
static const char __pyx_k_L2_M1O2_AUGER[] = "L2_M1O2_AUGER";
static const char __pyx_k_L2_M1O3_AUGER[] = "L2_M1O3_AUGER";
static const char __pyx_k_L2_M1O4_AUGER[] = "L2_M1O4_AUGER";
static const char __pyx_k_L2_M1O5_AUGER[] = "L2_M1O5_AUGER";
static const char __pyx_k_L2_M1O6_AUGER[] = "L2_M1O6_AUGER";
static const char __pyx_k_L2_M1O7_AUGER[] = "L2_M1O7_AUGER";
static const char __pyx_k_L2_M1P1_AUGER[] = "L2_M1P1_AUGER";
static const char __pyx_k_L2_M1P2_AUGER[] = "L2_M1P2_AUGER";
static const char __pyx_k_L2_M1P3_AUGER[] = "L2_M1P3_AUGER";
static const char __pyx_k_L2_M1P4_AUGER[] = "L2_M1P4_AUGER";
static const char __pyx_k_L2_M1P5_AUGER[] = "L2_M1P5_AUGER";
static const char __pyx_k_L2_M1Q1_AUGER[] = "L2_M1Q1_AUGER";
static const char __pyx_k_L2_M1Q2_AUGER[] = "L2_M1Q2_AUGER";
static const char __pyx_k_L2_M1Q3_AUGER[] = "L2_M1Q3_AUGER";
static const char __pyx_k_L2_M2L3_AUGER[] = "L2_M2L3_AUGER";
static const char __pyx_k_L2_M2M1_AUGER[] = "L2_M2M1_AUGER";
static const char __pyx_k_L2_M2M2_AUGER[] = "L2_M2M2_AUGER";
static const char __pyx_k_L2_M2M3_AUGER[] = "L2_M2M3_AUGER";
static const char __pyx_k_L2_M2M4_AUGER[] = "L2_M2M4_AUGER";
static const char __pyx_k_L2_M2M5_AUGER[] = "L2_M2M5_AUGER";
static const char __pyx_k_L2_M2N1_AUGER[] = "L2_M2N1_AUGER";
static const char __pyx_k_L2_M2N2_AUGER[] = "L2_M2N2_AUGER";
static const char __pyx_k_L2_M2N3_AUGER[] = "L2_M2N3_AUGER";
static const char __pyx_k_L2_M2N4_AUGER[] = "L2_M2N4_AUGER";
static const char __pyx_k_L2_M2N5_AUGER[] = "L2_M2N5_AUGER";
static const char __pyx_k_L2_M2N6_AUGER[] = "L2_M2N6_AUGER";
static const char __pyx_k_L2_M2N7_AUGER[] = "L2_M2N7_AUGER";
static const char __pyx_k_L2_M2O1_AUGER[] = "L2_M2O1_AUGER";
static const char __pyx_k_L2_M2O2_AUGER[] = "L2_M2O2_AUGER";
static const char __pyx_k_L2_M2O3_AUGER[] = "L2_M2O3_AUGER";
static const char __pyx_k_L2_M2O4_AUGER[] = "L2_M2O4_AUGER";
static const char __pyx_k_L2_M2O5_AUGER[] = "L2_M2O5_AUGER";
static const char __pyx_k_L2_M2O6_AUGER[] = "L2_M2O6_AUGER";
static const char __pyx_k_L2_M2O7_AUGER[] = "L2_M2O7_AUGER";
static const char __pyx_k_L2_M2P1_AUGER[] = "L2_M2P1_AUGER";
static const char __pyx_k_L2_M2P2_AUGER[] = "L2_M2P2_AUGER";
static const char __pyx_k_L2_M2P3_AUGER[] = "L2_M2P3_AUGER";
static const char __pyx_k_L2_M2P4_AUGER[] = "L2_M2P4_AUGER";
static const char __pyx_k_L2_M2P5_AUGER[] = "L2_M2P5_AUGER";
static const char __pyx_k_L2_M2Q1_AUGER[] = "L2_M2Q1_AUGER";
static const char __pyx_k_L2_M2Q2_AUGER[] = "L2_M2Q2_AUGER";
static const char __pyx_k_L2_M2Q3_AUGER[] = "L2_M2Q3_AUGER";
static const char __pyx_k_L2_M3L3_AUGER[] = "L2_M3L3_AUGER";
static const char __pyx_k_L2_M3M1_AUGER[] = "L2_M3M1_AUGER";
static const char __pyx_k_L2_M3M2_AUGER[] = "L2_M3M2_AUGER";
static const char __pyx_k_L2_M3M3_AUGER[] = "L2_M3M3_AUGER";
static const char __pyx_k_L2_M3M4_AUGER[] = "L2_M3M4_AUGER";
static const char __pyx_k_L2_M3M5_AUGER[] = "L2_M3M5_AUGER";
static const char __pyx_k_L2_M3N1_AUGER[] = "L2_M3N1_AUGER";
static const char __pyx_k_L2_M3N2_AUGER[] = "L2_M3N2_AUGER";
static const char __pyx_k_L2_M3N3_AUGER[] = "L2_M3N3_AUGER";
static const char __pyx_k_L2_M3N4_AUGER[] = "L2_M3N4_AUGER";
static const char __pyx_k_L2_M3N5_AUGER[] = "L2_M3N5_AUGER";
static const char __pyx_k_L2_M3N6_AUGER[] = "L2_M3N6_AUGER";
static const char __pyx_k_L2_M3N7_AUGER[] = "L2_M3N7_AUGER";
static const char __pyx_k_L2_M3O1_AUGER[] = "L2_M3O1_AUGER";
static const char __pyx_k_L2_M3O2_AUGER[] = "L2_M3O2_AUGER";
static const char __pyx_k_L2_M3O3_AUGER[] = "L2_M3O3_AUGER";
static const char __pyx_k_L2_M3O4_AUGER[] = "L2_M3O4_AUGER";
static const char __pyx_k_L2_M3O5_AUGER[] = "L2_M3O5_AUGER";
static const char __pyx_k_L2_M3O6_AUGER[] = "L2_M3O6_AUGER";
static const char __pyx_k_L2_M3O7_AUGER[] = "L2_M3O7_AUGER";
static const char __pyx_k_L2_M3P1_AUGER[] = "L2_M3P1_AUGER";
static const char __pyx_k_L2_M3P2_AUGER[] = "L2_M3P2_AUGER";
static const char __pyx_k_L2_M3P3_AUGER[] = "L2_M3P3_AUGER";
static const char __pyx_k_L2_M3P4_AUGER[] = "L2_M3P4_AUGER";
static const char __pyx_k_L2_M3P5_AUGER[] = "L2_M3P5_AUGER";
static const char __pyx_k_L2_M3Q1_AUGER[] = "L2_M3Q1_AUGER";
static const char __pyx_k_L2_M3Q2_AUGER[] = "L2_M3Q2_AUGER";
static const char __pyx_k_L2_M3Q3_AUGER[] = "L2_M3Q3_AUGER";
static const char __pyx_k_L2_M4L3_AUGER[] = "L2_M4L3_AUGER";
static const char __pyx_k_L2_M4M1_AUGER[] = "L2_M4M1_AUGER";
static const char __pyx_k_L2_M4M2_AUGER[] = "L2_M4M2_AUGER";
static const char __pyx_k_L2_M4M3_AUGER[] = "L2_M4M3_AUGER";
static const char __pyx_k_L2_M4M4_AUGER[] = "L2_M4M4_AUGER";
static const char __pyx_k_L2_M4M5_AUGER[] = "L2_M4M5_AUGER";
static const char __pyx_k_L2_M4N1_AUGER[] = "L2_M4N1_AUGER";
static const char __pyx_k_L2_M4N2_AUGER[] = "L2_M4N2_AUGER";
static const char __pyx_k_L2_M4N3_AUGER[] = "L2_M4N3_AUGER";
static const char __pyx_k_L2_M4N4_AUGER[] = "L2_M4N4_AUGER";
static const char __pyx_k_L2_M4N5_AUGER[] = "L2_M4N5_AUGER";
static const char __pyx_k_L2_M4N6_AUGER[] = "L2_M4N6_AUGER";
static const char __pyx_k_L2_M4N7_AUGER[] = "L2_M4N7_AUGER";
static const char __pyx_k_L2_M4O1_AUGER[] = "L2_M4O1_AUGER";
static const char __pyx_k_L2_M4O2_AUGER[] = "L2_M4O2_AUGER";
static const char __pyx_k_L2_M4O3_AUGER[] = "L2_M4O3_AUGER";
static const char __pyx_k_L2_M4O4_AUGER[] = "L2_M4O4_AUGER";
static const char __pyx_k_L2_M4O5_AUGER[] = "L2_M4O5_AUGER";
static const char __pyx_k_L2_M4O6_AUGER[] = "L2_M4O6_AUGER";
static const char __pyx_k_L2_M4O7_AUGER[] = "L2_M4O7_AUGER";
static const char __pyx_k_L2_M4P1_AUGER[] = "L2_M4P1_AUGER";
static const char __pyx_k_L2_M4P2_AUGER[] = "L2_M4P2_AUGER";
static const char __pyx_k_L2_M4P3_AUGER[] = "L2_M4P3_AUGER";
static const char __pyx_k_L2_M4P4_AUGER[] = "L2_M4P4_AUGER";
static const char __pyx_k_L2_M4P5_AUGER[] = "L2_M4P5_AUGER";
static const char __pyx_k_L2_M4Q1_AUGER[] = "L2_M4Q1_AUGER";
static const char __pyx_k_L2_M4Q2_AUGER[] = "L2_M4Q2_AUGER";
static const char __pyx_k_L2_M4Q3_AUGER[] = "L2_M4Q3_AUGER";
static const char __pyx_k_L2_M5L3_AUGER[] = "L2_M5L3_AUGER";
static const char __pyx_k_L2_M5M1_AUGER[] = "L2_M5M1_AUGER";
static const char __pyx_k_L2_M5M2_AUGER[] = "L2_M5M2_AUGER";
static const char __pyx_k_L2_M5M3_AUGER[] = "L2_M5M3_AUGER";
static const char __pyx_k_L2_M5M4_AUGER[] = "L2_M5M4_AUGER";
static const char __pyx_k_L2_M5M5_AUGER[] = "L2_M5M5_AUGER";
static const char __pyx_k_L2_M5N1_AUGER[] = "L2_M5N1_AUGER";
static const char __pyx_k_L2_M5N2_AUGER[] = "L2_M5N2_AUGER";
static const char __pyx_k_L2_M5N3_AUGER[] = "L2_M5N3_AUGER";
static const char __pyx_k_L2_M5N4_AUGER[] = "L2_M5N4_AUGER";
static const char __pyx_k_L2_M5N5_AUGER[] = "L2_M5N5_AUGER";
static const char __pyx_k_L2_M5N6_AUGER[] = "L2_M5N6_AUGER";
static const char __pyx_k_L2_M5N7_AUGER[] = "L2_M5N7_AUGER";
static const char __pyx_k_L2_M5O1_AUGER[] = "L2_M5O1_AUGER";
static const char __pyx_k_L2_M5O2_AUGER[] = "L2_M5O2_AUGER";
static const char __pyx_k_L2_M5O3_AUGER[] = "L2_M5O3_AUGER";
static const char __pyx_k_L2_M5O4_AUGER[] = "L2_M5O4_AUGER";
static const char __pyx_k_L2_M5O5_AUGER[] = "L2_M5O5_AUGER";
static const char __pyx_k_L2_M5O6_AUGER[] = "L2_M5O6_AUGER";
static const char __pyx_k_L2_M5O7_AUGER[] = "L2_M5O7_AUGER";
static const char __pyx_k_L2_M5P1_AUGER[] = "L2_M5P1_AUGER";
static const char __pyx_k_L2_M5P2_AUGER[] = "L2_M5P2_AUGER";
static const char __pyx_k_L2_M5P3_AUGER[] = "L2_M5P3_AUGER";
static const char __pyx_k_L2_M5P4_AUGER[] = "L2_M5P4_AUGER";
static const char __pyx_k_L2_M5P5_AUGER[] = "L2_M5P5_AUGER";
static const char __pyx_k_L2_M5Q1_AUGER[] = "L2_M5Q1_AUGER";
static const char __pyx_k_L2_M5Q2_AUGER[] = "L2_M5Q2_AUGER";
static const char __pyx_k_L2_M5Q3_AUGER[] = "L2_M5Q3_AUGER";
static const char __pyx_k_L3_M1M1_AUGER[] = "L3_M1M1_AUGER";
static const char __pyx_k_L3_M1M2_AUGER[] = "L3_M1M2_AUGER";
static const char __pyx_k_L3_M1M3_AUGER[] = "L3_M1M3_AUGER";
static const char __pyx_k_L3_M1M4_AUGER[] = "L3_M1M4_AUGER";
static const char __pyx_k_L3_M1M5_AUGER[] = "L3_M1M5_AUGER";
static const char __pyx_k_L3_M1N1_AUGER[] = "L3_M1N1_AUGER";
static const char __pyx_k_L3_M1N2_AUGER[] = "L3_M1N2_AUGER";
static const char __pyx_k_L3_M1N3_AUGER[] = "L3_M1N3_AUGER";
static const char __pyx_k_L3_M1N4_AUGER[] = "L3_M1N4_AUGER";
static const char __pyx_k_L3_M1N5_AUGER[] = "L3_M1N5_AUGER";
static const char __pyx_k_L3_M1N6_AUGER[] = "L3_M1N6_AUGER";
static const char __pyx_k_L3_M1N7_AUGER[] = "L3_M1N7_AUGER";
static const char __pyx_k_L3_M1O1_AUGER[] = "L3_M1O1_AUGER";
static const char __pyx_k_L3_M1O2_AUGER[] = "L3_M1O2_AUGER";
static const char __pyx_k_L3_M1O3_AUGER[] = "L3_M1O3_AUGER";
static const char __pyx_k_L3_M1O4_AUGER[] = "L3_M1O4_AUGER";
static const char __pyx_k_L3_M1O5_AUGER[] = "L3_M1O5_AUGER";
static const char __pyx_k_L3_M1O6_AUGER[] = "L3_M1O6_AUGER";
static const char __pyx_k_L3_M1O7_AUGER[] = "L3_M1O7_AUGER";
static const char __pyx_k_L3_M1P1_AUGER[] = "L3_M1P1_AUGER";
static const char __pyx_k_L3_M1P2_AUGER[] = "L3_M1P2_AUGER";
static const char __pyx_k_L3_M1P3_AUGER[] = "L3_M1P3_AUGER";
static const char __pyx_k_L3_M1P4_AUGER[] = "L3_M1P4_AUGER";
static const char __pyx_k_L3_M1P5_AUGER[] = "L3_M1P5_AUGER";
static const char __pyx_k_L3_M1Q1_AUGER[] = "L3_M1Q1_AUGER";
static const char __pyx_k_L3_M1Q2_AUGER[] = "L3_M1Q2_AUGER";
static const char __pyx_k_L3_M1Q3_AUGER[] = "L3_M1Q3_AUGER";
static const char __pyx_k_L3_M2M1_AUGER[] = "L3_M2M1_AUGER";
static const char __pyx_k_L3_M2M2_AUGER[] = "L3_M2M2_AUGER";
static const char __pyx_k_L3_M2M3_AUGER[] = "L3_M2M3_AUGER";
static const char __pyx_k_L3_M2M4_AUGER[] = "L3_M2M4_AUGER";
static const char __pyx_k_L3_M2M5_AUGER[] = "L3_M2M5_AUGER";
static const char __pyx_k_L3_M2N1_AUGER[] = "L3_M2N1_AUGER";
static const char __pyx_k_L3_M2N2_AUGER[] = "L3_M2N2_AUGER";
static const char __pyx_k_L3_M2N3_AUGER[] = "L3_M2N3_AUGER";
static const char __pyx_k_L3_M2N4_AUGER[] = "L3_M2N4_AUGER";
static const char __pyx_k_L3_M2N5_AUGER[] = "L3_M2N5_AUGER";
static const char __pyx_k_L3_M2N6_AUGER[] = "L3_M2N6_AUGER";
static const char __pyx_k_L3_M2N7_AUGER[] = "L3_M2N7_AUGER";
static const char __pyx_k_L3_M2O1_AUGER[] = "L3_M2O1_AUGER";
static const char __pyx_k_L3_M2O2_AUGER[] = "L3_M2O2_AUGER";
static const char __pyx_k_L3_M2O3_AUGER[] = "L3_M2O3_AUGER";
static const char __pyx_k_L3_M2O4_AUGER[] = "L3_M2O4_AUGER";
static const char __pyx_k_L3_M2O5_AUGER[] = "L3_M2O5_AUGER";
static const char __pyx_k_L3_M2O6_AUGER[] = "L3_M2O6_AUGER";
static const char __pyx_k_L3_M2O7_AUGER[] = "L3_M2O7_AUGER";
static const char __pyx_k_L3_M2P1_AUGER[] = "L3_M2P1_AUGER";
static const char __pyx_k_L3_M2P2_AUGER[] = "L3_M2P2_AUGER";
static const char __pyx_k_L3_M2P3_AUGER[] = "L3_M2P3_AUGER";
static const char __pyx_k_L3_M2P4_AUGER[] = "L3_M2P4_AUGER";
static const char __pyx_k_L3_M2P5_AUGER[] = "L3_M2P5_AUGER";
static const char __pyx_k_L3_M2Q1_AUGER[] = "L3_M2Q1_AUGER";
static const char __pyx_k_L3_M2Q2_AUGER[] = "L3_M2Q2_AUGER";
static const char __pyx_k_L3_M2Q3_AUGER[] = "L3_M2Q3_AUGER";
static const char __pyx_k_L3_M3M1_AUGER[] = "L3_M3M1_AUGER";
static const char __pyx_k_L3_M3M2_AUGER[] = "L3_M3M2_AUGER";
static const char __pyx_k_L3_M3M3_AUGER[] = "L3_M3M3_AUGER";
static const char __pyx_k_L3_M3M4_AUGER[] = "L3_M3M4_AUGER";
static const char __pyx_k_L3_M3M5_AUGER[] = "L3_M3M5_AUGER";
static const char __pyx_k_L3_M3N1_AUGER[] = "L3_M3N1_AUGER";
static const char __pyx_k_L3_M3N2_AUGER[] = "L3_M3N2_AUGER";
static const char __pyx_k_L3_M3N3_AUGER[] = "L3_M3N3_AUGER";
static const char __pyx_k_L3_M3N4_AUGER[] = "L3_M3N4_AUGER";
static const char __pyx_k_L3_M3N5_AUGER[] = "L3_M3N5_AUGER";
static const char __pyx_k_L3_M3N6_AUGER[] = "L3_M3N6_AUGER";
static const char __pyx_k_L3_M3N7_AUGER[] = "L3_M3N7_AUGER";
static const char __pyx_k_L3_M3O1_AUGER[] = "L3_M3O1_AUGER";
static const char __pyx_k_L3_M3O2_AUGER[] = "L3_M3O2_AUGER";
static const char __pyx_k_L3_M3O3_AUGER[] = "L3_M3O3_AUGER";
static const char __pyx_k_L3_M3O4_AUGER[] = "L3_M3O4_AUGER";
static const char __pyx_k_L3_M3O5_AUGER[] = "L3_M3O5_AUGER";
static const char __pyx_k_L3_M3O6_AUGER[] = "L3_M3O6_AUGER";
static const char __pyx_k_L3_M3O7_AUGER[] = "L3_M3O7_AUGER";
static const char __pyx_k_L3_M3P1_AUGER[] = "L3_M3P1_AUGER";
static const char __pyx_k_L3_M3P2_AUGER[] = "L3_M3P2_AUGER";
static const char __pyx_k_L3_M3P3_AUGER[] = "L3_M3P3_AUGER";
static const char __pyx_k_L3_M3P4_AUGER[] = "L3_M3P4_AUGER";
static const char __pyx_k_L3_M3P5_AUGER[] = "L3_M3P5_AUGER";
static const char __pyx_k_L3_M3Q1_AUGER[] = "L3_M3Q1_AUGER";
static const char __pyx_k_L3_M3Q2_AUGER[] = "L3_M3Q2_AUGER";
static const char __pyx_k_L3_M3Q3_AUGER[] = "L3_M3Q3_AUGER";
static const char __pyx_k_L3_M4M1_AUGER[] = "L3_M4M1_AUGER";
static const char __pyx_k_L3_M4M2_AUGER[] = "L3_M4M2_AUGER";
static const char __pyx_k_L3_M4M3_AUGER[] = "L3_M4M3_AUGER";
static const char __pyx_k_L3_M4M4_AUGER[] = "L3_M4M4_AUGER";
static const char __pyx_k_L3_M4M5_AUGER[] = "L3_M4M5_AUGER";
static const char __pyx_k_L3_M4N1_AUGER[] = "L3_M4N1_AUGER";
static const char __pyx_k_L3_M4N2_AUGER[] = "L3_M4N2_AUGER";
static const char __pyx_k_L3_M4N3_AUGER[] = "L3_M4N3_AUGER";
static const char __pyx_k_L3_M4N4_AUGER[] = "L3_M4N4_AUGER";
static const char __pyx_k_L3_M4N5_AUGER[] = "L3_M4N5_AUGER";
static const char __pyx_k_L3_M4N6_AUGER[] = "L3_M4N6_AUGER";
static const char __pyx_k_L3_M4N7_AUGER[] = "L3_M4N7_AUGER";
static const char __pyx_k_L3_M4O1_AUGER[] = "L3_M4O1_AUGER";
static const char __pyx_k_L3_M4O2_AUGER[] = "L3_M4O2_AUGER";
static const char __pyx_k_L3_M4O3_AUGER[] = "L3_M4O3_AUGER";
static const char __pyx_k_L3_M4O4_AUGER[] = "L3_M4O4_AUGER";
static const char __pyx_k_L3_M4O5_AUGER[] = "L3_M4O5_AUGER";
static const char __pyx_k_L3_M4O6_AUGER[] = "L3_M4O6_AUGER";
static const char __pyx_k_L3_M4O7_AUGER[] = "L3_M4O7_AUGER";
static const char __pyx_k_L3_M4P1_AUGER[] = "L3_M4P1_AUGER";
static const char __pyx_k_L3_M4P2_AUGER[] = "L3_M4P2_AUGER";
static const char __pyx_k_L3_M4P3_AUGER[] = "L3_M4P3_AUGER";
static const char __pyx_k_L3_M4P4_AUGER[] = "L3_M4P4_AUGER";
static const char __pyx_k_L3_M4P5_AUGER[] = "L3_M4P5_AUGER";
static const char __pyx_k_L3_M4Q1_AUGER[] = "L3_M4Q1_AUGER";
static const char __pyx_k_L3_M4Q2_AUGER[] = "L3_M4Q2_AUGER";
static const char __pyx_k_L3_M4Q3_AUGER[] = "L3_M4Q3_AUGER";
static const char __pyx_k_L3_M5M1_AUGER[] = "L3_M5M1_AUGER";
static const char __pyx_k_L3_M5M2_AUGER[] = "L3_M5M2_AUGER";
static const char __pyx_k_L3_M5M3_AUGER[] = "L3_M5M3_AUGER";
static const char __pyx_k_L3_M5M4_AUGER[] = "L3_M5M4_AUGER";
static const char __pyx_k_L3_M5M5_AUGER[] = "L3_M5M5_AUGER";
static const char __pyx_k_L3_M5N1_AUGER[] = "L3_M5N1_AUGER";
static const char __pyx_k_L3_M5N2_AUGER[] = "L3_M5N2_AUGER";
static const char __pyx_k_L3_M5N3_AUGER[] = "L3_M5N3_AUGER";
static const char __pyx_k_L3_M5N4_AUGER[] = "L3_M5N4_AUGER";
static const char __pyx_k_L3_M5N5_AUGER[] = "L3_M5N5_AUGER";
static const char __pyx_k_L3_M5N6_AUGER[] = "L3_M5N6_AUGER";
static const char __pyx_k_L3_M5N7_AUGER[] = "L3_M5N7_AUGER";
static const char __pyx_k_L3_M5O1_AUGER[] = "L3_M5O1_AUGER";
static const char __pyx_k_L3_M5O2_AUGER[] = "L3_M5O2_AUGER";
static const char __pyx_k_L3_M5O3_AUGER[] = "L3_M5O3_AUGER";
static const char __pyx_k_L3_M5O4_AUGER[] = "L3_M5O4_AUGER";
static const char __pyx_k_L3_M5O5_AUGER[] = "L3_M5O5_AUGER";
static const char __pyx_k_L3_M5O6_AUGER[] = "L3_M5O6_AUGER";
static const char __pyx_k_L3_M5O7_AUGER[] = "L3_M5O7_AUGER";
static const char __pyx_k_L3_M5P1_AUGER[] = "L3_M5P1_AUGER";
static const char __pyx_k_L3_M5P2_AUGER[] = "L3_M5P2_AUGER";
static const char __pyx_k_L3_M5P3_AUGER[] = "L3_M5P3_AUGER";
static const char __pyx_k_L3_M5P4_AUGER[] = "L3_M5P4_AUGER";
static const char __pyx_k_L3_M5P5_AUGER[] = "L3_M5P5_AUGER";
static const char __pyx_k_L3_M5Q1_AUGER[] = "L3_M5Q1_AUGER";
static const char __pyx_k_L3_M5Q2_AUGER[] = "L3_M5Q2_AUGER";
static const char __pyx_k_L3_M5Q3_AUGER[] = "L3_M5Q3_AUGER";
static const char __pyx_k_M1_M2M2_AUGER[] = "M1_M2M2_AUGER";
static const char __pyx_k_M1_M2M3_AUGER[] = "M1_M2M3_AUGER";
static const char __pyx_k_M1_M2M4_AUGER[] = "M1_M2M4_AUGER";
static const char __pyx_k_M1_M2M5_AUGER[] = "M1_M2M5_AUGER";
static const char __pyx_k_M1_M2N1_AUGER[] = "M1_M2N1_AUGER";
static const char __pyx_k_M1_M2N2_AUGER[] = "M1_M2N2_AUGER";
static const char __pyx_k_M1_M2N3_AUGER[] = "M1_M2N3_AUGER";
static const char __pyx_k_M1_M2N4_AUGER[] = "M1_M2N4_AUGER";
static const char __pyx_k_M1_M2N5_AUGER[] = "M1_M2N5_AUGER";
static const char __pyx_k_M1_M2N6_AUGER[] = "M1_M2N6_AUGER";
static const char __pyx_k_M1_M2N7_AUGER[] = "M1_M2N7_AUGER";
static const char __pyx_k_M1_M2O1_AUGER[] = "M1_M2O1_AUGER";
static const char __pyx_k_M1_M2O2_AUGER[] = "M1_M2O2_AUGER";
static const char __pyx_k_M1_M2O3_AUGER[] = "M1_M2O3_AUGER";
static const char __pyx_k_M1_M2O4_AUGER[] = "M1_M2O4_AUGER";
static const char __pyx_k_M1_M2O5_AUGER[] = "M1_M2O5_AUGER";
static const char __pyx_k_M1_M2O6_AUGER[] = "M1_M2O6_AUGER";
static const char __pyx_k_M1_M2O7_AUGER[] = "M1_M2O7_AUGER";
static const char __pyx_k_M1_M2P1_AUGER[] = "M1_M2P1_AUGER";
static const char __pyx_k_M1_M2P2_AUGER[] = "M1_M2P2_AUGER";
static const char __pyx_k_M1_M2P3_AUGER[] = "M1_M2P3_AUGER";
static const char __pyx_k_M1_M2P4_AUGER[] = "M1_M2P4_AUGER";
static const char __pyx_k_M1_M2P5_AUGER[] = "M1_M2P5_AUGER";
static const char __pyx_k_M1_M2Q1_AUGER[] = "M1_M2Q1_AUGER";
static const char __pyx_k_M1_M2Q2_AUGER[] = "M1_M2Q2_AUGER";
static const char __pyx_k_M1_M2Q3_AUGER[] = "M1_M2Q3_AUGER";
static const char __pyx_k_M1_M3M2_AUGER[] = "M1_M3M2_AUGER";
static const char __pyx_k_M1_M3M3_AUGER[] = "M1_M3M3_AUGER";
static const char __pyx_k_M1_M3M4_AUGER[] = "M1_M3M4_AUGER";
static const char __pyx_k_M1_M3M5_AUGER[] = "M1_M3M5_AUGER";
static const char __pyx_k_M1_M3N1_AUGER[] = "M1_M3N1_AUGER";
static const char __pyx_k_M1_M3N2_AUGER[] = "M1_M3N2_AUGER";
static const char __pyx_k_M1_M3N3_AUGER[] = "M1_M3N3_AUGER";
static const char __pyx_k_M1_M3N4_AUGER[] = "M1_M3N4_AUGER";
static const char __pyx_k_M1_M3N5_AUGER[] = "M1_M3N5_AUGER";
static const char __pyx_k_M1_M3N6_AUGER[] = "M1_M3N6_AUGER";
static const char __pyx_k_M1_M3N7_AUGER[] = "M1_M3N7_AUGER";
static const char __pyx_k_M1_M3O1_AUGER[] = "M1_M3O1_AUGER";
static const char __pyx_k_M1_M3O2_AUGER[] = "M1_M3O2_AUGER";
static const char __pyx_k_M1_M3O3_AUGER[] = "M1_M3O3_AUGER";
static const char __pyx_k_M1_M3O4_AUGER[] = "M1_M3O4_AUGER";
static const char __pyx_k_M1_M3O5_AUGER[] = "M1_M3O5_AUGER";
static const char __pyx_k_M1_M3O6_AUGER[] = "M1_M3O6_AUGER";
static const char __pyx_k_M1_M3O7_AUGER[] = "M1_M3O7_AUGER";
static const char __pyx_k_M1_M3P1_AUGER[] = "M1_M3P1_AUGER";
static const char __pyx_k_M1_M3P2_AUGER[] = "M1_M3P2_AUGER";
static const char __pyx_k_M1_M3P3_AUGER[] = "M1_M3P3_AUGER";
static const char __pyx_k_M1_M3P4_AUGER[] = "M1_M3P4_AUGER";
static const char __pyx_k_M1_M3P5_AUGER[] = "M1_M3P5_AUGER";
static const char __pyx_k_M1_M3Q1_AUGER[] = "M1_M3Q1_AUGER";
static const char __pyx_k_M1_M3Q2_AUGER[] = "M1_M3Q2_AUGER";
static const char __pyx_k_M1_M3Q3_AUGER[] = "M1_M3Q3_AUGER";
static const char __pyx_k_M1_M4M2_AUGER[] = "M1_M4M2_AUGER";
static const char __pyx_k_M1_M4M3_AUGER[] = "M1_M4M3_AUGER";
static const char __pyx_k_M1_M4M4_AUGER[] = "M1_M4M4_AUGER";
static const char __pyx_k_M1_M4M5_AUGER[] = "M1_M4M5_AUGER";
static const char __pyx_k_M1_M4N1_AUGER[] = "M1_M4N1_AUGER";
static const char __pyx_k_M1_M4N2_AUGER[] = "M1_M4N2_AUGER";
static const char __pyx_k_M1_M4N3_AUGER[] = "M1_M4N3_AUGER";
static const char __pyx_k_M1_M4N4_AUGER[] = "M1_M4N4_AUGER";
static const char __pyx_k_M1_M4N5_AUGER[] = "M1_M4N5_AUGER";
static const char __pyx_k_M1_M4N6_AUGER[] = "M1_M4N6_AUGER";
static const char __pyx_k_M1_M4N7_AUGER[] = "M1_M4N7_AUGER";
static const char __pyx_k_M1_M4O1_AUGER[] = "M1_M4O1_AUGER";
static const char __pyx_k_M1_M4O2_AUGER[] = "M1_M4O2_AUGER";
static const char __pyx_k_M1_M4O3_AUGER[] = "M1_M4O3_AUGER";
static const char __pyx_k_M1_M4O4_AUGER[] = "M1_M4O4_AUGER";
static const char __pyx_k_M1_M4O5_AUGER[] = "M1_M4O5_AUGER";
static const char __pyx_k_M1_M4O6_AUGER[] = "M1_M4O6_AUGER";
static const char __pyx_k_M1_M4O7_AUGER[] = "M1_M4O7_AUGER";
static const char __pyx_k_M1_M4P1_AUGER[] = "M1_M4P1_AUGER";
static const char __pyx_k_M1_M4P2_AUGER[] = "M1_M4P2_AUGER";
static const char __pyx_k_M1_M4P3_AUGER[] = "M1_M4P3_AUGER";
static const char __pyx_k_M1_M4P4_AUGER[] = "M1_M4P4_AUGER";
static const char __pyx_k_M1_M4P5_AUGER[] = "M1_M4P5_AUGER";
static const char __pyx_k_M1_M4Q1_AUGER[] = "M1_M4Q1_AUGER";
static const char __pyx_k_M1_M4Q2_AUGER[] = "M1_M4Q2_AUGER";
static const char __pyx_k_M1_M4Q3_AUGER[] = "M1_M4Q3_AUGER";
static const char __pyx_k_M1_M5M2_AUGER[] = "M1_M5M2_AUGER";
static const char __pyx_k_M1_M5M3_AUGER[] = "M1_M5M3_AUGER";
static const char __pyx_k_M1_M5M4_AUGER[] = "M1_M5M4_AUGER";
static const char __pyx_k_M1_M5M5_AUGER[] = "M1_M5M5_AUGER";
static const char __pyx_k_M1_M5N1_AUGER[] = "M1_M5N1_AUGER";
static const char __pyx_k_M1_M5N2_AUGER[] = "M1_M5N2_AUGER";
static const char __pyx_k_M1_M5N3_AUGER[] = "M1_M5N3_AUGER";
static const char __pyx_k_M1_M5N4_AUGER[] = "M1_M5N4_AUGER";
static const char __pyx_k_M1_M5N5_AUGER[] = "M1_M5N5_AUGER";
static const char __pyx_k_M1_M5N6_AUGER[] = "M1_M5N6_AUGER";
static const char __pyx_k_M1_M5N7_AUGER[] = "M1_M5N7_AUGER";
static const char __pyx_k_M1_M5O1_AUGER[] = "M1_M5O1_AUGER";
static const char __pyx_k_M1_M5O2_AUGER[] = "M1_M5O2_AUGER";
static const char __pyx_k_M1_M5O3_AUGER[] = "M1_M5O3_AUGER";
static const char __pyx_k_M1_M5O4_AUGER[] = "M1_M5O4_AUGER";
static const char __pyx_k_M1_M5O5_AUGER[] = "M1_M5O5_AUGER";
static const char __pyx_k_M1_M5O6_AUGER[] = "M1_M5O6_AUGER";
static const char __pyx_k_M1_M5O7_AUGER[] = "M1_M5O7_AUGER";
static const char __pyx_k_M1_M5P1_AUGER[] = "M1_M5P1_AUGER";
static const char __pyx_k_M1_M5P2_AUGER[] = "M1_M5P2_AUGER";
static const char __pyx_k_M1_M5P3_AUGER[] = "M1_M5P3_AUGER";
static const char __pyx_k_M1_M5P4_AUGER[] = "M1_M5P4_AUGER";
static const char __pyx_k_M1_M5P5_AUGER[] = "M1_M5P5_AUGER";
static const char __pyx_k_M1_M5Q1_AUGER[] = "M1_M5Q1_AUGER";
static const char __pyx_k_M1_M5Q2_AUGER[] = "M1_M5Q2_AUGER";
static const char __pyx_k_M1_M5Q3_AUGER[] = "M1_M5Q3_AUGER";
static const char __pyx_k_M2_M3M3_AUGER[] = "M2_M3M3_AUGER";
static const char __pyx_k_M2_M3M4_AUGER[] = "M2_M3M4_AUGER";
static const char __pyx_k_M2_M3M5_AUGER[] = "M2_M3M5_AUGER";
static const char __pyx_k_M2_M3N1_AUGER[] = "M2_M3N1_AUGER";
static const char __pyx_k_M2_M3N2_AUGER[] = "M2_M3N2_AUGER";
static const char __pyx_k_M2_M3N3_AUGER[] = "M2_M3N3_AUGER";
static const char __pyx_k_M2_M3N4_AUGER[] = "M2_M3N4_AUGER";
static const char __pyx_k_M2_M3N5_AUGER[] = "M2_M3N5_AUGER";
static const char __pyx_k_M2_M3N6_AUGER[] = "M2_M3N6_AUGER";
static const char __pyx_k_M2_M3N7_AUGER[] = "M2_M3N7_AUGER";
static const char __pyx_k_M2_M3O1_AUGER[] = "M2_M3O1_AUGER";
static const char __pyx_k_M2_M3O2_AUGER[] = "M2_M3O2_AUGER";
static const char __pyx_k_M2_M3O3_AUGER[] = "M2_M3O3_AUGER";
static const char __pyx_k_M2_M3O4_AUGER[] = "M2_M3O4_AUGER";
static const char __pyx_k_M2_M3O5_AUGER[] = "M2_M3O5_AUGER";
static const char __pyx_k_M2_M3O6_AUGER[] = "M2_M3O6_AUGER";
static const char __pyx_k_M2_M3O7_AUGER[] = "M2_M3O7_AUGER";
static const char __pyx_k_M2_M3P1_AUGER[] = "M2_M3P1_AUGER";
static const char __pyx_k_M2_M3P2_AUGER[] = "M2_M3P2_AUGER";
static const char __pyx_k_M2_M3P3_AUGER[] = "M2_M3P3_AUGER";
static const char __pyx_k_M2_M3P4_AUGER[] = "M2_M3P4_AUGER";
static const char __pyx_k_M2_M3P5_AUGER[] = "M2_M3P5_AUGER";
static const char __pyx_k_M2_M3Q1_AUGER[] = "M2_M3Q1_AUGER";
static const char __pyx_k_M2_M3Q2_AUGER[] = "M2_M3Q2_AUGER";
static const char __pyx_k_M2_M3Q3_AUGER[] = "M2_M3Q3_AUGER";
static const char __pyx_k_M2_M4M3_AUGER[] = "M2_M4M3_AUGER";
static const char __pyx_k_M2_M4M4_AUGER[] = "M2_M4M4_AUGER";
static const char __pyx_k_M2_M4M5_AUGER[] = "M2_M4M5_AUGER";
static const char __pyx_k_M2_M4N1_AUGER[] = "M2_M4N1_AUGER";
static const char __pyx_k_M2_M4N2_AUGER[] = "M2_M4N2_AUGER";
static const char __pyx_k_M2_M4N3_AUGER[] = "M2_M4N3_AUGER";
static const char __pyx_k_M2_M4N4_AUGER[] = "M2_M4N4_AUGER";
static const char __pyx_k_M2_M4N5_AUGER[] = "M2_M4N5_AUGER";
static const char __pyx_k_M2_M4N6_AUGER[] = "M2_M4N6_AUGER";
static const char __pyx_k_M2_M4N7_AUGER[] = "M2_M4N7_AUGER";
static const char __pyx_k_M2_M4O1_AUGER[] = "M2_M4O1_AUGER";
static const char __pyx_k_M2_M4O2_AUGER[] = "M2_M4O2_AUGER";
static const char __pyx_k_M2_M4O3_AUGER[] = "M2_M4O3_AUGER";
static const char __pyx_k_M2_M4O4_AUGER[] = "M2_M4O4_AUGER";
static const char __pyx_k_M2_M4O5_AUGER[] = "M2_M4O5_AUGER";
static const char __pyx_k_M2_M4O6_AUGER[] = "M2_M4O6_AUGER";
static const char __pyx_k_M2_M4O7_AUGER[] = "M2_M4O7_AUGER";
static const char __pyx_k_M2_M4P1_AUGER[] = "M2_M4P1_AUGER";
static const char __pyx_k_M2_M4P2_AUGER[] = "M2_M4P2_AUGER";
static const char __pyx_k_M2_M4P3_AUGER[] = "M2_M4P3_AUGER";
static const char __pyx_k_M2_M4P4_AUGER[] = "M2_M4P4_AUGER";
static const char __pyx_k_M2_M4P5_AUGER[] = "M2_M4P5_AUGER";
static const char __pyx_k_M2_M4Q1_AUGER[] = "M2_M4Q1_AUGER";
static const char __pyx_k_M2_M4Q2_AUGER[] = "M2_M4Q2_AUGER";
static const char __pyx_k_M2_M4Q3_AUGER[] = "M2_M4Q3_AUGER";
static const char __pyx_k_M2_M5M3_AUGER[] = "M2_M5M3_AUGER";
static const char __pyx_k_M2_M5M4_AUGER[] = "M2_M5M4_AUGER";
static const char __pyx_k_M2_M5M5_AUGER[] = "M2_M5M5_AUGER";
static const char __pyx_k_M2_M5N1_AUGER[] = "M2_M5N1_AUGER";
static const char __pyx_k_M2_M5N2_AUGER[] = "M2_M5N2_AUGER";
static const char __pyx_k_M2_M5N3_AUGER[] = "M2_M5N3_AUGER";
static const char __pyx_k_M2_M5N4_AUGER[] = "M2_M5N4_AUGER";
static const char __pyx_k_M2_M5N5_AUGER[] = "M2_M5N5_AUGER";
static const char __pyx_k_M2_M5N6_AUGER[] = "M2_M5N6_AUGER";
static const char __pyx_k_M2_M5N7_AUGER[] = "M2_M5N7_AUGER";
static const char __pyx_k_M2_M5O1_AUGER[] = "M2_M5O1_AUGER";
static const char __pyx_k_M2_M5O2_AUGER[] = "M2_M5O2_AUGER";
static const char __pyx_k_M2_M5O3_AUGER[] = "M2_M5O3_AUGER";
static const char __pyx_k_M2_M5O4_AUGER[] = "M2_M5O4_AUGER";
static const char __pyx_k_M2_M5O5_AUGER[] = "M2_M5O5_AUGER";
static const char __pyx_k_M2_M5O6_AUGER[] = "M2_M5O6_AUGER";
static const char __pyx_k_M2_M5O7_AUGER[] = "M2_M5O7_AUGER";
static const char __pyx_k_M2_M5P1_AUGER[] = "M2_M5P1_AUGER";
static const char __pyx_k_M2_M5P2_AUGER[] = "M2_M5P2_AUGER";
static const char __pyx_k_M2_M5P3_AUGER[] = "M2_M5P3_AUGER";
static const char __pyx_k_M2_M5P4_AUGER[] = "M2_M5P4_AUGER";
static const char __pyx_k_M2_M5P5_AUGER[] = "M2_M5P5_AUGER";
static const char __pyx_k_M2_M5Q1_AUGER[] = "M2_M5Q1_AUGER";
static const char __pyx_k_M2_M5Q2_AUGER[] = "M2_M5Q2_AUGER";
static const char __pyx_k_M2_M5Q3_AUGER[] = "M2_M5Q3_AUGER";
static const char __pyx_k_M3_M4M4_AUGER[] = "M3_M4M4_AUGER";
static const char __pyx_k_M3_M4M5_AUGER[] = "M3_M4M5_AUGER";
static const char __pyx_k_M3_M4N1_AUGER[] = "M3_M4N1_AUGER";
static const char __pyx_k_M3_M4N2_AUGER[] = "M3_M4N2_AUGER";
static const char __pyx_k_M3_M4N3_AUGER[] = "M3_M4N3_AUGER";
static const char __pyx_k_M3_M4N4_AUGER[] = "M3_M4N4_AUGER";
static const char __pyx_k_M3_M4N5_AUGER[] = "M3_M4N5_AUGER";
static const char __pyx_k_M3_M4N6_AUGER[] = "M3_M4N6_AUGER";
static const char __pyx_k_M3_M4N7_AUGER[] = "M3_M4N7_AUGER";
static const char __pyx_k_M3_M4O1_AUGER[] = "M3_M4O1_AUGER";
static const char __pyx_k_M3_M4O2_AUGER[] = "M3_M4O2_AUGER";
static const char __pyx_k_M3_M4O3_AUGER[] = "M3_M4O3_AUGER";
static const char __pyx_k_M3_M4O4_AUGER[] = "M3_M4O4_AUGER";
static const char __pyx_k_M3_M4O5_AUGER[] = "M3_M4O5_AUGER";
static const char __pyx_k_M3_M4O6_AUGER[] = "M3_M4O6_AUGER";
static const char __pyx_k_M3_M4O7_AUGER[] = "M3_M4O7_AUGER";
static const char __pyx_k_M3_M4P1_AUGER[] = "M3_M4P1_AUGER";
static const char __pyx_k_M3_M4P2_AUGER[] = "M3_M4P2_AUGER";
static const char __pyx_k_M3_M4P3_AUGER[] = "M3_M4P3_AUGER";
static const char __pyx_k_M3_M4P4_AUGER[] = "M3_M4P4_AUGER";
static const char __pyx_k_M3_M4P5_AUGER[] = "M3_M4P5_AUGER";
static const char __pyx_k_M3_M4Q1_AUGER[] = "M3_M4Q1_AUGER";
static const char __pyx_k_M3_M4Q2_AUGER[] = "M3_M4Q2_AUGER";
static const char __pyx_k_M3_M4Q3_AUGER[] = "M3_M4Q3_AUGER";
static const char __pyx_k_M3_M5M4_AUGER[] = "M3_M5M4_AUGER";
static const char __pyx_k_M3_M5M5_AUGER[] = "M3_M5M5_AUGER";
static const char __pyx_k_M3_M5N1_AUGER[] = "M3_M5N1_AUGER";
static const char __pyx_k_M3_M5N2_AUGER[] = "M3_M5N2_AUGER";
static const char __pyx_k_M3_M5N3_AUGER[] = "M3_M5N3_AUGER";
static const char __pyx_k_M3_M5N4_AUGER[] = "M3_M5N4_AUGER";
static const char __pyx_k_M3_M5N5_AUGER[] = "M3_M5N5_AUGER";
static const char __pyx_k_M3_M5N6_AUGER[] = "M3_M5N6_AUGER";
static const char __pyx_k_M3_M5N7_AUGER[] = "M3_M5N7_AUGER";
static const char __pyx_k_M3_M5O1_AUGER[] = "M3_M5O1_AUGER";
static const char __pyx_k_M3_M5O2_AUGER[] = "M3_M5O2_AUGER";
static const char __pyx_k_M3_M5O3_AUGER[] = "M3_M5O3_AUGER";
static const char __pyx_k_M3_M5O4_AUGER[] = "M3_M5O4_AUGER";
static const char __pyx_k_M3_M5O5_AUGER[] = "M3_M5O5_AUGER";
static const char __pyx_k_M3_M5O6_AUGER[] = "M3_M5O6_AUGER";
static const char __pyx_k_M3_M5O7_AUGER[] = "M3_M5O7_AUGER";
static const char __pyx_k_M3_M5P1_AUGER[] = "M3_M5P1_AUGER";
static const char __pyx_k_M3_M5P2_AUGER[] = "M3_M5P2_AUGER";
static const char __pyx_k_M3_M5P3_AUGER[] = "M3_M5P3_AUGER";
static const char __pyx_k_M3_M5P4_AUGER[] = "M3_M5P4_AUGER";
static const char __pyx_k_M3_M5P5_AUGER[] = "M3_M5P5_AUGER";
static const char __pyx_k_M3_M5Q1_AUGER[] = "M3_M5Q1_AUGER";
static const char __pyx_k_M3_M5Q2_AUGER[] = "M3_M5Q2_AUGER";
static const char __pyx_k_M3_M5Q3_AUGER[] = "M3_M5Q3_AUGER";
static const char __pyx_k_M4_M5M5_AUGER[] = "M4_M5M5_AUGER";
static const char __pyx_k_M4_M5N1_AUGER[] = "M4_M5N1_AUGER";
static const char __pyx_k_M4_M5N2_AUGER[] = "M4_M5N2_AUGER";
static const char __pyx_k_M4_M5N3_AUGER[] = "M4_M5N3_AUGER";
static const char __pyx_k_M4_M5N4_AUGER[] = "M4_M5N4_AUGER";
static const char __pyx_k_M4_M5N5_AUGER[] = "M4_M5N5_AUGER";
static const char __pyx_k_M4_M5N6_AUGER[] = "M4_M5N6_AUGER";
static const char __pyx_k_M4_M5N7_AUGER[] = "M4_M5N7_AUGER";
static const char __pyx_k_M4_M5O1_AUGER[] = "M4_M5O1_AUGER";
static const char __pyx_k_M4_M5O2_AUGER[] = "M4_M5O2_AUGER";
static const char __pyx_k_M4_M5O3_AUGER[] = "M4_M5O3_AUGER";
static const char __pyx_k_M4_M5O4_AUGER[] = "M4_M5O4_AUGER";
static const char __pyx_k_M4_M5O5_AUGER[] = "M4_M5O5_AUGER";
static const char __pyx_k_M4_M5O6_AUGER[] = "M4_M5O6_AUGER";
static const char __pyx_k_M4_M5O7_AUGER[] = "M4_M5O7_AUGER";
static const char __pyx_k_M4_M5P1_AUGER[] = "M4_M5P1_AUGER";
static const char __pyx_k_M4_M5P2_AUGER[] = "M4_M5P2_AUGER";
static const char __pyx_k_M4_M5P3_AUGER[] = "M4_M5P3_AUGER";
static const char __pyx_k_M4_M5P4_AUGER[] = "M4_M5P4_AUGER";
static const char __pyx_k_M4_M5P5_AUGER[] = "M4_M5P5_AUGER";
static const char __pyx_k_M4_M5Q1_AUGER[] = "M4_M5Q1_AUGER";
static const char __pyx_k_M4_M5Q2_AUGER[] = "M4_M5Q2_AUGER";
static const char __pyx_k_M4_M5Q3_AUGER[] = "M4_M5Q3_AUGER";
static const char __pyx_k_SetExitStatus[] = "SetExitStatus";
static const char __pyx_k_XRAYLIB_MAJOR[] = "XRAYLIB_MAJOR";
static const char __pyx_k_XRAYLIB_MINOR[] = "XRAYLIB_MINOR";
static const char __pyx_k_CS_FluorLine_2[] = "CS_FluorLine";
static const char __pyx_k_CS_Photo_Total[] = "_CS_Photo_Total";
static const char __pyx_k_ComptonProfile[] = "_ComptonProfile";
static const char __pyx_k_ElectronConfig[] = "_ElectronConfig";
static const char __pyx_k_ElementDensity[] = "_ElementDensity";
static const char __pyx_k_MomentTransf_2[] = "MomentTransf";
static const char __pyx_k_CS_Total_Kissel[] = "_CS_Total_Kissel";
static const char __pyx_k_CSb_FluorLine_2[] = "CSb_FluorLine";
static const char __pyx_k_CSb_Photo_Total[] = "_CSb_Photo_Total";
static const char __pyx_k_ComptonEnergy_2[] = "ComptonEnergy";
static const char __pyx_k_AtomicLevelWidth[] = "_AtomicLevelWidth";
static const char __pyx_k_CS_Photo_Partial[] = "_CS_Photo_Partial";
static const char __pyx_k_CS_Photo_Total_2[] = "CS_Photo_Total";
static const char __pyx_k_CSb_Total_Kissel[] = "_CSb_Total_Kissel";
static const char __pyx_k_ComptonProfile_2[] = "ComptonProfile";
static const char __pyx_k_CosKronTransProb[] = "_CosKronTransProb";
static const char __pyx_k_ElectronConfig_2[] = "ElectronConfig";
static const char __pyx_k_ElementDensity_2[] = "ElementDensity";
static const char __pyx_k_GetErrorMessages[] = "GetErrorMessages";
static const char __pyx_k_SetErrorMessages[] = "SetErrorMessages";
static const char __pyx_k_CS_Total_Kissel_2[] = "CS_Total_Kissel";
static const char __pyx_k_CSb_Photo_Partial[] = "_CSb_Photo_Partial";
static const char __pyx_k_CSb_Photo_Total_2[] = "CSb_Photo_Total";
static const char __pyx_k_XRL_1F_locals_fun[] = "XRL_1F.<locals>.fun";
static const char __pyx_k_XRL_1I_locals_fun[] = "XRL_1I.<locals>.fun";
static const char __pyx_k_AtomicLevelWidth_2[] = "AtomicLevelWidth";
static const char __pyx_k_CS_Photo_Partial_2[] = "CS_Photo_Partial";
static const char __pyx_k_CSb_Total_Kissel_2[] = "CSb_Total_Kissel";
static const char __pyx_k_CosKronTransProb_2[] = "CosKronTransProb";
static const char __pyx_k_XRL_2FF_locals_fun[] = "XRL_2FF.<locals>.fun";
static const char __pyx_k_XRL_2IF_locals_fun[] = "XRL_2IF.<locals>.fun";
static const char __pyx_k_XRL_2II_locals_fun[] = "XRL_2II.<locals>.fun";
static const char __pyx_k_CS_FluorLine_Kissel[] = "_CS_FluorLine_Kissel";
static const char __pyx_k_CSb_Photo_Partial_2[] = "CSb_Photo_Partial";
static const char __pyx_k_XRL_3FFF_locals_fun[] = "XRL_3FFF.<locals>.fun";
static const char __pyx_k_XRL_3IFF_locals_fun[] = "XRL_3IFF.<locals>.fun";
static const char __pyx_k_XRL_3IIF_locals_fun[] = "XRL_3IIF.<locals>.fun";
static const char __pyx_k_CSb_FluorLine_Kissel[] = "_CSb_FluorLine_Kissel";
static const char __pyx_k_XRL_4IFFF_locals_fun[] = "XRL_4IFFF.<locals>.fun";
static const char __pyx_k_CS_FluorLine_Kissel_2[] = "CS_FluorLine_Kissel";
static const char __pyx_k_CSb_FluorLine_Kissel_2[] = "CSb_FluorLine_Kissel";
static const char __pyx_k_ComptonProfile_Partial[] = "_ComptonProfile_Partial";
static const char __pyx_k_ComptonProfile_Partial_2[] = "ComptonProfile_Partial";
static const char __pyx_k_CS_FluorLine_Kissel_Cascade[] = "_CS_FluorLine_Kissel_Cascade";
static const char __pyx_k_ndarray_is_not_C_contiguous[] = "ndarray is not C contiguous";
static const char __pyx_k_CSb_FluorLine_Kissel_Cascade[] = "_CSb_FluorLine_Kissel_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_Cascade_2[] = "CS_FluorLine_Kissel_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_no_Cascade[] = "_CS_FluorLine_Kissel_no_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_Cascade_2[] = "CSb_FluorLine_Kissel_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_Radiative[] = "_CSb_FluorLine_Kissel_Radiative_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_Nonradiativ[] = "_CS_FluorLine_Kissel_Nonradiative_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_Radiative_C[] = "_CS_FluorLine_Kissel_Radiative_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_Nonradiati[] = "_CSb_FluorLine_Kissel_Nonradiative_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_no_Cascade[] = "_CSb_FluorLine_Kissel_no_Cascade";
static const char __pyx_k_Users_schoon_github_xraylib_pyt[] = "/Users/schoon/github/xraylib/python/xraylib_np.pyx";
static const char __pyx_k_numpy_core_multiarray_failed_to[] = "numpy.core.multiarray failed to import";
static const char __pyx_k_unknown_dtype_code_in_numpy_pxd[] = "unknown dtype code in numpy.pxd (%d)";
static const char __pyx_k_CS_FluorLine_Kissel_Nonradiative[] = "CS_FluorLine_Kissel_Nonradiative_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_Radiative_Ca[] = "CS_FluorLine_Kissel_Radiative_Cascade";
static const char __pyx_k_CS_FluorLine_Kissel_no_Cascade_2[] = "CS_FluorLine_Kissel_no_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_Nonradiativ[] = "CSb_FluorLine_Kissel_Nonradiative_Cascade";
static const char __pyx_k_CSb_FluorLine_Kissel_Radiative_C[] = "CSb_FluorLine_Kissel_Radiative_Cascade";
static const char __pyx_k_Format_string_allocated_too_shor[] = "Format string allocated too short, see comment in numpy.pxd";
static const char __pyx_k_Non_native_byte_order_not_suppor[] = "Non-native byte order not supported";
static const char __pyx_k_ndarray_is_not_Fortran_contiguou[] = "ndarray is not Fortran contiguous";
static const char __pyx_k_numpy_core_umath_failed_to_impor[] = "numpy.core.umath failed to import";
static const char __pyx_k_CSb_FluorLine_Kissel_no_Cascade_2[] = "CSb_FluorLine_Kissel_no_Cascade";
static const char __pyx_k_Format_string_allocated_too_shor_2[] = "Format string allocated too short.";
static PyObject *__pyx_n_s_AVOGNUM;
static PyObject *__pyx_n_s_AW;
static PyObject *__pyx_n_s_AtomicLevelWidth;
static PyObject *__pyx_n_s_AtomicLevelWidth_2;
static PyObject *__pyx_n_s_AtomicWeight;
static PyObject *__pyx_n_s_AugerRate;
static PyObject *__pyx_n_s_AugerRate_2;
static PyObject *__pyx_n_s_AugerYield;
static PyObject *__pyx_n_s_AugerYield_2;
static PyObject *__pyx_n_s_CS_Compt;
static PyObject *__pyx_n_s_CS_Compt_2;
static PyObject *__pyx_n_s_CS_Energy;
static PyObject *__pyx_n_s_CS_Energy_2;
static PyObject *__pyx_n_s_CS_FluorLine;
static PyObject *__pyx_n_s_CS_FluorLine_2;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_2;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Cascade;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Cascade_2;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Nonradiativ;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Nonradiative;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Radiative_C;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_Radiative_Ca;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_no_Cascade;
static PyObject *__pyx_n_s_CS_FluorLine_Kissel_no_Cascade_2;
static PyObject *__pyx_n_s_CS_KN;
static PyObject *__pyx_n_s_CS_KN_2;
static PyObject *__pyx_n_s_CS_Photo;
static PyObject *__pyx_n_s_CS_Photo_2;
static PyObject *__pyx_n_s_CS_Photo_Partial;
static PyObject *__pyx_n_s_CS_Photo_Partial_2;
static PyObject *__pyx_n_s_CS_Photo_Total;
static PyObject *__pyx_n_s_CS_Photo_Total_2;
static PyObject *__pyx_n_s_CS_Rayl;
static PyObject *__pyx_n_s_CS_Rayl_2;
static PyObject *__pyx_n_s_CS_Total;
static PyObject *__pyx_n_s_CS_Total_2;
static PyObject *__pyx_n_s_CS_Total_Kissel;
static PyObject *__pyx_n_s_CS_Total_Kissel_2;
static PyObject *__pyx_n_s_CSb_Compt;
static PyObject *__pyx_n_s_CSb_Compt_2;
static PyObject *__pyx_n_s_CSb_FluorLine;
static PyObject *__pyx_n_s_CSb_FluorLine_2;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_2;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Cascade;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Cascade_2;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Nonradiati;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Nonradiativ;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Radiative;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_Radiative_C;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_no_Cascade;
static PyObject *__pyx_n_s_CSb_FluorLine_Kissel_no_Cascade_2;
static PyObject *__pyx_n_s_CSb_Photo;
static PyObject *__pyx_n_s_CSb_Photo_2;
static PyObject *__pyx_n_s_CSb_Photo_Partial;
static PyObject *__pyx_n_s_CSb_Photo_Partial_2;
static PyObject *__pyx_n_s_CSb_Photo_Total;
static PyObject *__pyx_n_s_CSb_Photo_Total_2;
static PyObject *__pyx_n_s_CSb_Rayl;
static PyObject *__pyx_n_s_CSb_Rayl_2;
static PyObject *__pyx_n_s_CSb_Total;
static PyObject *__pyx_n_s_CSb_Total_2;
static PyObject *__pyx_n_s_CSb_Total_Kissel;
static PyObject *__pyx_n_s_CSb_Total_Kissel_2;
static PyObject *__pyx_n_s_ComptonEnergy;
static PyObject *__pyx_n_s_ComptonEnergy_2;
static PyObject *__pyx_n_s_ComptonProfile;
static PyObject *__pyx_n_s_ComptonProfile_2;
static PyObject *__pyx_n_s_ComptonProfile_Partial;
static PyObject *__pyx_n_s_ComptonProfile_Partial_2;
static PyObject *__pyx_n_s_CosKronTransProb;
static PyObject *__pyx_n_s_CosKronTransProb_2;
static PyObject *__pyx_n_s_DCSP_Compt;
static PyObject *__pyx_n_s_DCSP_Compt_2;
static PyObject *__pyx_n_s_DCSP_KN;
static PyObject *__pyx_n_s_DCSP_KN_2;
static PyObject *__pyx_n_s_DCSP_Rayl;
static PyObject *__pyx_n_s_DCSP_Rayl_2;
static PyObject *__pyx_n_s_DCSP_Thoms;
static PyObject *__pyx_n_s_DCSP_Thoms_2;
static PyObject *__pyx_n_s_DCSPb_Compt;
static PyObject *__pyx_n_s_DCSPb_Compt_2;
static PyObject *__pyx_n_s_DCSPb_Rayl;
static PyObject *__pyx_n_s_DCSPb_Rayl_2;
static PyObject *__pyx_n_s_DCS_Compt;
static PyObject *__pyx_n_s_DCS_Compt_2;
static PyObject *__pyx_n_s_DCS_KN;
static PyObject *__pyx_n_s_DCS_KN_2;
static PyObject *__pyx_n_s_DCS_Rayl;
static PyObject *__pyx_n_s_DCS_Rayl_2;
static PyObject *__pyx_n_s_DCS_Thoms;
static PyObject *__pyx_n_s_DCS_Thoms_2;
static PyObject *__pyx_n_s_DCSb_Compt;
static PyObject *__pyx_n_s_DCSb_Compt_2;
static PyObject *__pyx_n_s_DCSb_Rayl;
static PyObject *__pyx_n_s_DCSb_Rayl_2;
static PyObject *__pyx_n_s_EdgeEnergy;
static PyObject *__pyx_n_s_EdgeEnergy_2;
static PyObject *__pyx_n_s_ElectronConfig;
static PyObject *__pyx_n_s_ElectronConfig_2;
static PyObject *__pyx_n_s_ElementDensity;
static PyObject *__pyx_n_s_ElementDensity_2;
static PyObject *__pyx_n_s_F12_TRANS;
static PyObject *__pyx_n_s_F13_TRANS;
static PyObject *__pyx_n_s_F1_TRANS;
static PyObject *__pyx_n_s_F23_TRANS;
static PyObject *__pyx_n_s_FF_Rayl;
static PyObject *__pyx_n_s_FF_Rayl_2;
static PyObject *__pyx_n_s_FL12_TRANS;
static PyObject *__pyx_n_s_FL13_TRANS;
static PyObject *__pyx_n_s_FL23_TRANS;
static PyObject *__pyx_n_s_FLP13_TRANS;
static PyObject *__pyx_n_s_FM12_TRANS;
static PyObject *__pyx_n_s_FM13_TRANS;
static PyObject *__pyx_n_s_FM14_TRANS;
static PyObject *__pyx_n_s_FM15_TRANS;
static PyObject *__pyx_n_s_FM23_TRANS;
static PyObject *__pyx_n_s_FM24_TRANS;
static PyObject *__pyx_n_s_FM25_TRANS;
static PyObject *__pyx_n_s_FM34_TRANS;
static PyObject *__pyx_n_s_FM35_TRANS;
static PyObject *__pyx_n_s_FM45_TRANS;
static PyObject *__pyx_n_s_FP13_TRANS;
static PyObject *__pyx_n_s_Fi;
static PyObject *__pyx_n_s_Fi_2;
static PyObject *__pyx_n_s_Fii;
static PyObject *__pyx_n_s_Fii_2;
static PyObject *__pyx_n_s_FluorYield;
static PyObject *__pyx_n_s_FluorYield_2;
static PyObject *__pyx_kp_u_Format_string_allocated_too_shor;
static PyObject *__pyx_kp_u_Format_string_allocated_too_shor_2;
static PyObject *__pyx_n_s_GetErrorMessages;
static PyObject *__pyx_n_s_GetExitStatus;
static PyObject *__pyx_n_s_ImportError;
static PyObject *__pyx_n_s_JumpFactor;
static PyObject *__pyx_n_s_JumpFactor_2;
static PyObject *__pyx_n_s_KA1_LINE;
static PyObject *__pyx_n_s_KA2_LINE;
static PyObject *__pyx_n_s_KA_LINE;
static PyObject *__pyx_n_s_KB1_LINE;
static PyObject *__pyx_n_s_KB2_LINE;
static PyObject *__pyx_n_s_KB3_LINE;
static PyObject *__pyx_n_s_KB4_LINE;
static PyObject *__pyx_n_s_KB5_LINE;
static PyObject *__pyx_n_s_KB_LINE;
static PyObject *__pyx_n_s_KEV2ANGST;
static PyObject *__pyx_n_s_KL1_LINE;
static PyObject *__pyx_n_s_KL2_LINE;
static PyObject *__pyx_n_s_KL3_LINE;
static PyObject *__pyx_n_s_KM1_LINE;
static PyObject *__pyx_n_s_KM2_LINE;
static PyObject *__pyx_n_s_KM3_LINE;
static PyObject *__pyx_n_s_KM4_LINE;
static PyObject *__pyx_n_s_KM5_LINE;
static PyObject *__pyx_n_s_KN1_LINE;
static PyObject *__pyx_n_s_KN2_LINE;
static PyObject *__pyx_n_s_KN3_LINE;
static PyObject *__pyx_n_s_KN4_LINE;
static PyObject *__pyx_n_s_KN5_LINE;
static PyObject *__pyx_n_s_KN6_LINE;
static PyObject *__pyx_n_s_KN7_LINE;
static PyObject *__pyx_n_s_KO1_LINE;
static PyObject *__pyx_n_s_KO2_LINE;
static PyObject *__pyx_n_s_KO3_LINE;
static PyObject *__pyx_n_s_KO4_LINE;
static PyObject *__pyx_n_s_KO5_LINE;
static PyObject *__pyx_n_s_KO6_LINE;
static PyObject *__pyx_n_s_KO7_LINE;
static PyObject *__pyx_n_s_KO_LINE;
static PyObject *__pyx_n_s_KP1_LINE;
static PyObject *__pyx_n_s_KP2_LINE;
static PyObject *__pyx_n_s_KP3_LINE;
static PyObject *__pyx_n_s_KP4_LINE;
static PyObject *__pyx_n_s_KP5_LINE;
static PyObject *__pyx_n_s_KP_LINE;
static PyObject *__pyx_n_s_K_L1L1_AUGER;
static PyObject *__pyx_n_s_K_L1L2_AUGER;
static PyObject *__pyx_n_s_K_L1L3_AUGER;
static PyObject *__pyx_n_s_K_L1M1_AUGER;
static PyObject *__pyx_n_s_K_L1M2_AUGER;
static PyObject *__pyx_n_s_K_L1M3_AUGER;
static PyObject *__pyx_n_s_K_L1M4_AUGER;
static PyObject *__pyx_n_s_K_L1M5_AUGER;
static PyObject *__pyx_n_s_K_L1N1_AUGER;
static PyObject *__pyx_n_s_K_L1N2_AUGER;
static PyObject *__pyx_n_s_K_L1N3_AUGER;
static PyObject *__pyx_n_s_K_L1N4_AUGER;
static PyObject *__pyx_n_s_K_L1N5_AUGER;
static PyObject *__pyx_n_s_K_L1N6_AUGER;
static PyObject *__pyx_n_s_K_L1N7_AUGER;
static PyObject *__pyx_n_s_K_L1O1_AUGER;
static PyObject *__pyx_n_s_K_L1O2_AUGER;
static PyObject *__pyx_n_s_K_L1O3_AUGER;
static PyObject *__pyx_n_s_K_L1O4_AUGER;
static PyObject *__pyx_n_s_K_L1O5_AUGER;
static PyObject *__pyx_n_s_K_L1O6_AUGER;
static PyObject *__pyx_n_s_K_L1O7_AUGER;
static PyObject *__pyx_n_s_K_L1P1_AUGER;
static PyObject *__pyx_n_s_K_L1P2_AUGER;
static PyObject *__pyx_n_s_K_L1P3_AUGER;
static PyObject *__pyx_n_s_K_L1P4_AUGER;
static PyObject *__pyx_n_s_K_L1P5_AUGER;
static PyObject *__pyx_n_s_K_L1Q1_AUGER;
static PyObject *__pyx_n_s_K_L1Q2_AUGER;
static PyObject *__pyx_n_s_K_L1Q3_AUGER;
static PyObject *__pyx_n_s_K_L2L1_AUGER;
static PyObject *__pyx_n_s_K_L2L2_AUGER;
static PyObject *__pyx_n_s_K_L2L3_AUGER;
static PyObject *__pyx_n_s_K_L2M1_AUGER;
static PyObject *__pyx_n_s_K_L2M2_AUGER;
static PyObject *__pyx_n_s_K_L2M3_AUGER;
static PyObject *__pyx_n_s_K_L2M4_AUGER;
static PyObject *__pyx_n_s_K_L2M5_AUGER;
static PyObject *__pyx_n_s_K_L2N1_AUGER;
static PyObject *__pyx_n_s_K_L2N2_AUGER;
static PyObject *__pyx_n_s_K_L2N3_AUGER;
static PyObject *__pyx_n_s_K_L2N4_AUGER;
static PyObject *__pyx_n_s_K_L2N5_AUGER;
static PyObject *__pyx_n_s_K_L2N6_AUGER;
static PyObject *__pyx_n_s_K_L2N7_AUGER;
static PyObject *__pyx_n_s_K_L2O1_AUGER;
static PyObject *__pyx_n_s_K_L2O2_AUGER;
static PyObject *__pyx_n_s_K_L2O3_AUGER;
static PyObject *__pyx_n_s_K_L2O4_AUGER;
static PyObject *__pyx_n_s_K_L2O5_AUGER;
static PyObject *__pyx_n_s_K_L2O6_AUGER;
static PyObject *__pyx_n_s_K_L2O7_AUGER;
static PyObject *__pyx_n_s_K_L2P1_AUGER;
static PyObject *__pyx_n_s_K_L2P2_AUGER;
static PyObject *__pyx_n_s_K_L2P3_AUGER;
static PyObject *__pyx_n_s_K_L2P4_AUGER;
static PyObject *__pyx_n_s_K_L2P5_AUGER;
static PyObject *__pyx_n_s_K_L2Q1_AUGER;
static PyObject *__pyx_n_s_K_L2Q2_AUGER;
static PyObject *__pyx_n_s_K_L2Q3_AUGER;
static PyObject *__pyx_n_s_K_L3L1_AUGER;
static PyObject *__pyx_n_s_K_L3L2_AUGER;
static PyObject *__pyx_n_s_K_L3L3_AUGER;
static PyObject *__pyx_n_s_K_L3M1_AUGER;
static PyObject *__pyx_n_s_K_L3M2_AUGER;
static PyObject *__pyx_n_s_K_L3M3_AUGER;
static PyObject *__pyx_n_s_K_L3M4_AUGER;
static PyObject *__pyx_n_s_K_L3M5_AUGER;
static PyObject *__pyx_n_s_K_L3N1_AUGER;
static PyObject *__pyx_n_s_K_L3N2_AUGER;
static PyObject *__pyx_n_s_K_L3N3_AUGER;
static PyObject *__pyx_n_s_K_L3N4_AUGER;
static PyObject *__pyx_n_s_K_L3N5_AUGER;
static PyObject *__pyx_n_s_K_L3N6_AUGER;
static PyObject *__pyx_n_s_K_L3N7_AUGER;
static PyObject *__pyx_n_s_K_L3O1_AUGER;
static PyObject *__pyx_n_s_K_L3O2_AUGER;
static PyObject *__pyx_n_s_K_L3O3_AUGER;
static PyObject *__pyx_n_s_K_L3O4_AUGER;
static PyObject *__pyx_n_s_K_L3O5_AUGER;
static PyObject *__pyx_n_s_K_L3O6_AUGER;
static PyObject *__pyx_n_s_K_L3O7_AUGER;
static PyObject *__pyx_n_s_K_L3P1_AUGER;
static PyObject *__pyx_n_s_K_L3P2_AUGER;
static PyObject *__pyx_n_s_K_L3P3_AUGER;
static PyObject *__pyx_n_s_K_L3P4_AUGER;
static PyObject *__pyx_n_s_K_L3P5_AUGER;
static PyObject *__pyx_n_s_K_L3Q1_AUGER;
static PyObject *__pyx_n_s_K_L3Q2_AUGER;
static PyObject *__pyx_n_s_K_L3Q3_AUGER;
static PyObject *__pyx_n_s_K_M1L1_AUGER;
static PyObject *__pyx_n_s_K_M1L2_AUGER;
static PyObject *__pyx_n_s_K_M1L3_AUGER;
static PyObject *__pyx_n_s_K_M1M1_AUGER;
static PyObject *__pyx_n_s_K_M1M2_AUGER;
static PyObject *__pyx_n_s_K_M1M3_AUGER;
static PyObject *__pyx_n_s_K_M1M4_AUGER;
static PyObject *__pyx_n_s_K_M1M5_AUGER;
static PyObject *__pyx_n_s_K_M1N1_AUGER;
static PyObject *__pyx_n_s_K_M1N2_AUGER;
static PyObject *__pyx_n_s_K_M1N3_AUGER;
static PyObject *__pyx_n_s_K_M1N4_AUGER;
static PyObject *__pyx_n_s_K_M1N5_AUGER;
static PyObject *__pyx_n_s_K_M1N6_AUGER;
static PyObject *__pyx_n_s_K_M1N7_AUGER;
static PyObject *__pyx_n_s_K_M1O1_AUGER;
static PyObject *__pyx_n_s_K_M1O2_AUGER;
static PyObject *__pyx_n_s_K_M1O3_AUGER;
static PyObject *__pyx_n_s_K_M1O4_AUGER;
static PyObject *__pyx_n_s_K_M1O5_AUGER;
static PyObject *__pyx_n_s_K_M1O6_AUGER;
static PyObject *__pyx_n_s_K_M1O7_AUGER;
static PyObject *__pyx_n_s_K_M1P1_AUGER;
static PyObject *__pyx_n_s_K_M1P2_AUGER;
static PyObject *__pyx_n_s_K_M1P3_AUGER;
static PyObject *__pyx_n_s_K_M1P4_AUGER;
static PyObject *__pyx_n_s_K_M1P5_AUGER;
static PyObject *__pyx_n_s_K_M1Q1_AUGER;
static PyObject *__pyx_n_s_K_M1Q2_AUGER;
static PyObject *__pyx_n_s_K_M1Q3_AUGER;
static PyObject *__pyx_n_s_K_M2L1_AUGER;
static PyObject *__pyx_n_s_K_M2L2_AUGER;
static PyObject *__pyx_n_s_K_M2L3_AUGER;
static PyObject *__pyx_n_s_K_M2M1_AUGER;
static PyObject *__pyx_n_s_K_M2M2_AUGER;
static PyObject *__pyx_n_s_K_M2M3_AUGER;
static PyObject *__pyx_n_s_K_M2M4_AUGER;
static PyObject *__pyx_n_s_K_M2M5_AUGER;
static PyObject *__pyx_n_s_K_M2N1_AUGER;
static PyObject *__pyx_n_s_K_M2N2_AUGER;
static PyObject *__pyx_n_s_K_M2N3_AUGER;
static PyObject *__pyx_n_s_K_M2N4_AUGER;
static PyObject *__pyx_n_s_K_M2N5_AUGER;
static PyObject *__pyx_n_s_K_M2N6_AUGER;
static PyObject *__pyx_n_s_K_M2N7_AUGER;
static PyObject *__pyx_n_s_K_M2O1_AUGER;
static PyObject *__pyx_n_s_K_M2O2_AUGER;
static PyObject *__pyx_n_s_K_M2O3_AUGER;
static PyObject *__pyx_n_s_K_M2O4_AUGER;
static PyObject *__pyx_n_s_K_M2O5_AUGER;
static PyObject *__pyx_n_s_K_M2O6_AUGER;
static PyObject *__pyx_n_s_K_M2O7_AUGER;
static PyObject *__pyx_n_s_K_M2P1_AUGER;
static PyObject *__pyx_n_s_K_M2P2_AUGER;
static PyObject *__pyx_n_s_K_M2P3_AUGER;
static PyObject *__pyx_n_s_K_M2P4_AUGER;
static PyObject *__pyx_n_s_K_M2P5_AUGER;
static PyObject *__pyx_n_s_K_M2Q1_AUGER;
static PyObject *__pyx_n_s_K_M2Q2_AUGER;
static PyObject *__pyx_n_s_K_M2Q3_AUGER;
static PyObject *__pyx_n_s_K_M3L1_AUGER;
static PyObject *__pyx_n_s_K_M3L2_AUGER;
static PyObject *__pyx_n_s_K_M3L3_AUGER;
static PyObject *__pyx_n_s_K_M3M1_AUGER;
static PyObject *__pyx_n_s_K_M3M2_AUGER;
static PyObject *__pyx_n_s_K_M3M3_AUGER;
static PyObject *__pyx_n_s_K_M3M4_AUGER;
static PyObject *__pyx_n_s_K_M3M5_AUGER;
static PyObject *__pyx_n_s_K_M3N1_AUGER;
static PyObject *__pyx_n_s_K_M3N2_AUGER;
static PyObject *__pyx_n_s_K_M3N3_AUGER;
static PyObject *__pyx_n_s_K_M3N4_AUGER;
static PyObject *__pyx_n_s_K_M3N5_AUGER;
static PyObject *__pyx_n_s_K_M3N6_AUGER;
static PyObject *__pyx_n_s_K_M3N7_AUGER;
static PyObject *__pyx_n_s_K_M3O1_AUGER;
static PyObject *__pyx_n_s_K_M3O2_AUGER;
static PyObject *__pyx_n_s_K_M3O3_AUGER;
static PyObject *__pyx_n_s_K_M3O4_AUGER;
static PyObject *__pyx_n_s_K_M3O5_AUGER;
static PyObject *__pyx_n_s_K_M3O6_AUGER;
static PyObject *__pyx_n_s_K_M3O7_AUGER;
static PyObject *__pyx_n_s_K_M3P1_AUGER;
static PyObject *__pyx_n_s_K_M3P2_AUGER;
static PyObject *__pyx_n_s_K_M3P3_AUGER;
static PyObject *__pyx_n_s_K_M3P4_AUGER;
static PyObject *__pyx_n_s_K_M3P5_AUGER;
static PyObject *__pyx_n_s_K_M3Q1_AUGER;
static PyObject *__pyx_n_s_K_M3Q2_AUGER;
static PyObject *__pyx_n_s_K_M3Q3_AUGER;
static PyObject *__pyx_n_s_K_M4L1_AUGER;
static PyObject *__pyx_n_s_K_M4L2_AUGER;
static PyObject *__pyx_n_s_K_M4L3_AUGER;
static PyObject *__pyx_n_s_K_M4M1_AUGER;
static PyObject *__pyx_n_s_K_M4M2_AUGER;
static PyObject *__pyx_n_s_K_M4M3_AUGER;
static PyObject *__pyx_n_s_K_M4M4_AUGER;
static PyObject *__pyx_n_s_K_M4M5_AUGER;
static PyObject *__pyx_n_s_K_M4N1_AUGER;
static PyObject *__pyx_n_s_K_M4N2_AUGER;
static PyObject *__pyx_n_s_K_M4N3_AUGER;
static PyObject *__pyx_n_s_K_M4N4_AUGER;
static PyObject *__pyx_n_s_K_M4N5_AUGER;
static PyObject *__pyx_n_s_K_M4N6_AUGER;
static PyObject *__pyx_n_s_K_M4N7_AUGER;
static PyObject *__pyx_n_s_K_M4O1_AUGER;
static PyObject *__pyx_n_s_K_M4O2_AUGER;
static PyObject *__pyx_n_s_K_M4O3_AUGER;
static PyObject *__pyx_n_s_K_M4O4_AUGER;
static PyObject *__pyx_n_s_K_M4O5_AUGER;
static PyObject *__pyx_n_s_K_M4O6_AUGER;
static PyObject *__pyx_n_s_K_M4O7_AUGER;
static PyObject *__pyx_n_s_K_M4P1_AUGER;
static PyObject *__pyx_n_s_K_M4P2_AUGER;
static PyObject *__pyx_n_s_K_M4P3_AUGER;
static PyObject *__pyx_n_s_K_M4P4_AUGER;
static PyObject *__pyx_n_s_K_M4P5_AUGER;
static PyObject *__pyx_n_s_K_M4Q1_AUGER;
static PyObject *__pyx_n_s_K_M4Q2_AUGER;
static PyObject *__pyx_n_s_K_M4Q3_AUGER;
static PyObject *__pyx_n_s_K_M5L1_AUGER;
static PyObject *__pyx_n_s_K_M5L2_AUGER;
static PyObject *__pyx_n_s_K_M5L3_AUGER;
static PyObject *__pyx_n_s_K_M5M1_AUGER;
static PyObject *__pyx_n_s_K_M5M2_AUGER;
static PyObject *__pyx_n_s_K_M5M3_AUGER;
static PyObject *__pyx_n_s_K_M5M4_AUGER;
static PyObject *__pyx_n_s_K_M5M5_AUGER;
static PyObject *__pyx_n_s_K_M5N1_AUGER;
static PyObject *__pyx_n_s_K_M5N2_AUGER;
static PyObject *__pyx_n_s_K_M5N3_AUGER;
static PyObject *__pyx_n_s_K_M5N4_AUGER;
static PyObject *__pyx_n_s_K_M5N5_AUGER;
static PyObject *__pyx_n_s_K_M5N6_AUGER;
static PyObject *__pyx_n_s_K_M5N7_AUGER;
static PyObject *__pyx_n_s_K_M5O1_AUGER;
static PyObject *__pyx_n_s_K_M5O2_AUGER;
static PyObject *__pyx_n_s_K_M5O3_AUGER;
static PyObject *__pyx_n_s_K_M5O4_AUGER;
static PyObject *__pyx_n_s_K_M5O5_AUGER;
static PyObject *__pyx_n_s_K_M5O6_AUGER;
static PyObject *__pyx_n_s_K_M5O7_AUGER;
static PyObject *__pyx_n_s_K_M5P1_AUGER;
static PyObject *__pyx_n_s_K_M5P2_AUGER;
static PyObject *__pyx_n_s_K_M5P3_AUGER;
static PyObject *__pyx_n_s_K_M5P4_AUGER;
static PyObject *__pyx_n_s_K_M5P5_AUGER;
static PyObject *__pyx_n_s_K_M5Q1_AUGER;
static PyObject *__pyx_n_s_K_M5Q2_AUGER;
static PyObject *__pyx_n_s_K_M5Q3_AUGER;
static PyObject *__pyx_n_s_K_SHELL;
static PyObject *__pyx_n_s_L1L2_LINE;
static PyObject *__pyx_n_s_L1L3_LINE;
static PyObject *__pyx_n_s_L1M1_LINE;
static PyObject *__pyx_n_s_L1M2_LINE;
static PyObject *__pyx_n_s_L1M3_LINE;
static PyObject *__pyx_n_s_L1M4_LINE;
static PyObject *__pyx_n_s_L1M5_LINE;
static PyObject *__pyx_n_s_L1N1_LINE;
static PyObject *__pyx_n_s_L1N2_LINE;
static PyObject *__pyx_n_s_L1N3_LINE;
static PyObject *__pyx_n_s_L1N4_LINE;
static PyObject *__pyx_n_s_L1N5_LINE;
static PyObject *__pyx_n_s_L1N67_LINE;
static PyObject *__pyx_n_s_L1N6_LINE;
static PyObject *__pyx_n_s_L1N7_LINE;
static PyObject *__pyx_n_s_L1O1_LINE;
static PyObject *__pyx_n_s_L1O2_LINE;
static PyObject *__pyx_n_s_L1O3_LINE;
static PyObject *__pyx_n_s_L1O45_LINE;
static PyObject *__pyx_n_s_L1O4_LINE;
static PyObject *__pyx_n_s_L1O5_LINE;
static PyObject *__pyx_n_s_L1O6_LINE;
static PyObject *__pyx_n_s_L1O7_LINE;
static PyObject *__pyx_n_s_L1P1_LINE;
static PyObject *__pyx_n_s_L1P23_LINE;
static PyObject *__pyx_n_s_L1P2_LINE;
static PyObject *__pyx_n_s_L1P3_LINE;
static PyObject *__pyx_n_s_L1P4_LINE;
static PyObject *__pyx_n_s_L1P5_LINE;
static PyObject *__pyx_n_s_L1_L2L2_AUGER;
static PyObject *__pyx_n_s_L1_L2L3_AUGER;
static PyObject *__pyx_n_s_L1_L2M1_AUGER;
static PyObject *__pyx_n_s_L1_L2M2_AUGER;
static PyObject *__pyx_n_s_L1_L2M3_AUGER;
static PyObject *__pyx_n_s_L1_L2M4_AUGER;
static PyObject *__pyx_n_s_L1_L2M5_AUGER;
static PyObject *__pyx_n_s_L1_L2N1_AUGER;
static PyObject *__pyx_n_s_L1_L2N2_AUGER;
static PyObject *__pyx_n_s_L1_L2N3_AUGER;
static PyObject *__pyx_n_s_L1_L2N4_AUGER;
static PyObject *__pyx_n_s_L1_L2N5_AUGER;
static PyObject *__pyx_n_s_L1_L2N6_AUGER;
static PyObject *__pyx_n_s_L1_L2N7_AUGER;
static PyObject *__pyx_n_s_L1_L2O1_AUGER;
static PyObject *__pyx_n_s_L1_L2O2_AUGER;
static PyObject *__pyx_n_s_L1_L2O3_AUGER;
static PyObject *__pyx_n_s_L1_L2O4_AUGER;
static PyObject *__pyx_n_s_L1_L2O5_AUGER;
static PyObject *__pyx_n_s_L1_L2O6_AUGER;
static PyObject *__pyx_n_s_L1_L2O7_AUGER;
static PyObject *__pyx_n_s_L1_L2P1_AUGER;
static PyObject *__pyx_n_s_L1_L2P2_AUGER;
static PyObject *__pyx_n_s_L1_L2P3_AUGER;
static PyObject *__pyx_n_s_L1_L2P4_AUGER;
static PyObject *__pyx_n_s_L1_L2P5_AUGER;
static PyObject *__pyx_n_s_L1_L2Q1_AUGER;
static PyObject *__pyx_n_s_L1_L2Q2_AUGER;
static PyObject *__pyx_n_s_L1_L2Q3_AUGER;
static PyObject *__pyx_n_s_L1_L3L2_AUGER;
static PyObject *__pyx_n_s_L1_L3L3_AUGER;
static PyObject *__pyx_n_s_L1_L3M1_AUGER;
static PyObject *__pyx_n_s_L1_L3M2_AUGER;
static PyObject *__pyx_n_s_L1_L3M3_AUGER;
static PyObject *__pyx_n_s_L1_L3M4_AUGER;
static PyObject *__pyx_n_s_L1_L3M5_AUGER;
static PyObject *__pyx_n_s_L1_L3N1_AUGER;
static PyObject *__pyx_n_s_L1_L3N2_AUGER;
static PyObject *__pyx_n_s_L1_L3N3_AUGER;
static PyObject *__pyx_n_s_L1_L3N4_AUGER;
static PyObject *__pyx_n_s_L1_L3N5_AUGER;
static PyObject *__pyx_n_s_L1_L3N6_AUGER;
static PyObject *__pyx_n_s_L1_L3N7_AUGER;
static PyObject *__pyx_n_s_L1_L3O1_AUGER;
static PyObject *__pyx_n_s_L1_L3O2_AUGER;
static PyObject *__pyx_n_s_L1_L3O3_AUGER;
static PyObject *__pyx_n_s_L1_L3O4_AUGER;
static PyObject *__pyx_n_s_L1_L3O5_AUGER;
static PyObject *__pyx_n_s_L1_L3O6_AUGER;
static PyObject *__pyx_n_s_L1_L3O7_AUGER;
static PyObject *__pyx_n_s_L1_L3P1_AUGER;
static PyObject *__pyx_n_s_L1_L3P2_AUGER;
static PyObject *__pyx_n_s_L1_L3P3_AUGER;
static PyObject *__pyx_n_s_L1_L3P4_AUGER;
static PyObject *__pyx_n_s_L1_L3P5_AUGER;
static PyObject *__pyx_n_s_L1_L3Q1_AUGER;
static PyObject *__pyx_n_s_L1_L3Q2_AUGER;
static PyObject *__pyx_n_s_L1_L3Q3_AUGER;
static PyObject *__pyx_n_s_L1_M1L2_AUGER;
static PyObject *__pyx_n_s_L1_M1L3_AUGER;
static PyObject *__pyx_n_s_L1_M1M1_AUGER;
static PyObject *__pyx_n_s_L1_M1M2_AUGER;
static PyObject *__pyx_n_s_L1_M1M3_AUGER;
static PyObject *__pyx_n_s_L1_M1M4_AUGER;
static PyObject *__pyx_n_s_L1_M1M5_AUGER;
static PyObject *__pyx_n_s_L1_M1N1_AUGER;
static PyObject *__pyx_n_s_L1_M1N2_AUGER;
static PyObject *__pyx_n_s_L1_M1N3_AUGER;
static PyObject *__pyx_n_s_L1_M1N4_AUGER;
static PyObject *__pyx_n_s_L1_M1N5_AUGER;
static PyObject *__pyx_n_s_L1_M1N6_AUGER;
static PyObject *__pyx_n_s_L1_M1N7_AUGER;
static PyObject *__pyx_n_s_L1_M1O1_AUGER;
static PyObject *__pyx_n_s_L1_M1O2_AUGER;
static PyObject *__pyx_n_s_L1_M1O3_AUGER;
static PyObject *__pyx_n_s_L1_M1O4_AUGER;
static PyObject *__pyx_n_s_L1_M1O5_AUGER;
static PyObject *__pyx_n_s_L1_M1O6_AUGER;
static PyObject *__pyx_n_s_L1_M1O7_AUGER;
static PyObject *__pyx_n_s_L1_M1P1_AUGER;
static PyObject *__pyx_n_s_L1_M1P2_AUGER;
static PyObject *__pyx_n_s_L1_M1P3_AUGER;
static PyObject *__pyx_n_s_L1_M1P4_AUGER;
static PyObject *__pyx_n_s_L1_M1P5_AUGER;
static PyObject *__pyx_n_s_L1_M1Q1_AUGER;
static PyObject *__pyx_n_s_L1_M1Q2_AUGER;
static PyObject *__pyx_n_s_L1_M1Q3_AUGER;
static PyObject *__pyx_n_s_L1_M2L2_AUGER;
static PyObject *__pyx_n_s_L1_M2L3_AUGER;
static PyObject *__pyx_n_s_L1_M2M1_AUGER;
static PyObject *__pyx_n_s_L1_M2M2_AUGER;
static PyObject *__pyx_n_s_L1_M2M3_AUGER;
static PyObject *__pyx_n_s_L1_M2M4_AUGER;
static PyObject *__pyx_n_s_L1_M2M5_AUGER;
static PyObject *__pyx_n_s_L1_M2N1_AUGER;
static PyObject *__pyx_n_s_L1_M2N2_AUGER;
static PyObject *__pyx_n_s_L1_M2N3_AUGER;
static PyObject *__pyx_n_s_L1_M2N4_AUGER;
static PyObject *__pyx_n_s_L1_M2N5_AUGER;
static PyObject *__pyx_n_s_L1_M2N6_AUGER;
static PyObject *__pyx_n_s_L1_M2N7_AUGER;
static PyObject *__pyx_n_s_L1_M2O1_AUGER;
static PyObject *__pyx_n_s_L1_M2O2_AUGER;
static PyObject *__pyx_n_s_L1_M2O3_AUGER;
static PyObject *__pyx_n_s_L1_M2O4_AUGER;
static PyObject *__pyx_n_s_L1_M2O5_AUGER;
static PyObject *__pyx_n_s_L1_M2O6_AUGER;
static PyObject *__pyx_n_s_L1_M2O7_AUGER;
static PyObject *__pyx_n_s_L1_M2P1_AUGER;
static PyObject *__pyx_n_s_L1_M2P2_AUGER;
static PyObject *__pyx_n_s_L1_M2P3_AUGER;
static PyObject *__pyx_n_s_L1_M2P4_AUGER;
static PyObject *__pyx_n_s_L1_M2P5_AUGER;
static PyObject *__pyx_n_s_L1_M2Q1_AUGER;
static PyObject *__pyx_n_s_L1_M2Q2_AUGER;
static PyObject *__pyx_n_s_L1_M2Q3_AUGER;
static PyObject *__pyx_n_s_L1_M3L2_AUGER;
static PyObject *__pyx_n_s_L1_M3L3_AUGER;
static PyObject *__pyx_n_s_L1_M3M1_AUGER;
static PyObject *__pyx_n_s_L1_M3M2_AUGER;
static PyObject *__pyx_n_s_L1_M3M3_AUGER;
static PyObject *__pyx_n_s_L1_M3M4_AUGER;
static PyObject *__pyx_n_s_L1_M3M5_AUGER;
static PyObject *__pyx_n_s_L1_M3N1_AUGER;
static PyObject *__pyx_n_s_L1_M3N2_AUGER;
static PyObject *__pyx_n_s_L1_M3N3_AUGER;
static PyObject *__pyx_n_s_L1_M3N4_AUGER;
static PyObject *__pyx_n_s_L1_M3N5_AUGER;
static PyObject *__pyx_n_s_L1_M3N6_AUGER;
static PyObject *__pyx_n_s_L1_M3N7_AUGER;
static PyObject *__pyx_n_s_L1_M3O1_AUGER;
static PyObject *__pyx_n_s_L1_M3O2_AUGER;
static PyObject *__pyx_n_s_L1_M3O3_AUGER;
static PyObject *__pyx_n_s_L1_M3O4_AUGER;
static PyObject *__pyx_n_s_L1_M3O5_AUGER;
static PyObject *__pyx_n_s_L1_M3O6_AUGER;
static PyObject *__pyx_n_s_L1_M3O7_AUGER;
static PyObject *__pyx_n_s_L1_M3P1_AUGER;
static PyObject *__pyx_n_s_L1_M3P2_AUGER;
static PyObject *__pyx_n_s_L1_M3P3_AUGER;
static PyObject *__pyx_n_s_L1_M3P4_AUGER;
static PyObject *__pyx_n_s_L1_M3P5_AUGER;
static PyObject *__pyx_n_s_L1_M3Q1_AUGER;
static PyObject *__pyx_n_s_L1_M3Q2_AUGER;
static PyObject *__pyx_n_s_L1_M3Q3_AUGER;
static PyObject *__pyx_n_s_L1_M4L2_AUGER;
static PyObject *__pyx_n_s_L1_M4L3_AUGER;
static PyObject *__pyx_n_s_L1_M4M1_AUGER;
static PyObject *__pyx_n_s_L1_M4M2_AUGER;
static PyObject *__pyx_n_s_L1_M4M3_AUGER;
static PyObject *__pyx_n_s_L1_M4M4_AUGER;
static PyObject *__pyx_n_s_L1_M4M5_AUGER;
static PyObject *__pyx_n_s_L1_M4N1_AUGER;
static PyObject *__pyx_n_s_L1_M4N2_AUGER;
static PyObject *__pyx_n_s_L1_M4N3_AUGER;
static PyObject *__pyx_n_s_L1_M4N4_AUGER;
static PyObject *__pyx_n_s_L1_M4N5_AUGER;
static PyObject *__pyx_n_s_L1_M4N6_AUGER;
static PyObject *__pyx_n_s_L1_M4N7_AUGER;
static PyObject *__pyx_n_s_L1_M4O1_AUGER;
static PyObject *__pyx_n_s_L1_M4O2_AUGER;
static PyObject *__pyx_n_s_L1_M4O3_AUGER;
static PyObject *__pyx_n_s_L1_M4O4_AUGER;
static PyObject *__pyx_n_s_L1_M4O5_AUGER;
static PyObject *__pyx_n_s_L1_M4O6_AUGER;
static PyObject *__pyx_n_s_L1_M4O7_AUGER;
static PyObject *__pyx_n_s_L1_M4P1_AUGER;
static PyObject *__pyx_n_s_L1_M4P2_AUGER;
static PyObject *__pyx_n_s_L1_M4P3_AUGER;
static PyObject *__pyx_n_s_L1_M4P4_AUGER;
static PyObject *__pyx_n_s_L1_M4P5_AUGER;
static PyObject *__pyx_n_s_L1_M4Q1_AUGER;
static PyObject *__pyx_n_s_L1_M4Q2_AUGER;
static PyObject *__pyx_n_s_L1_M4Q3_AUGER;
static PyObject *__pyx_n_s_L1_M5L2_AUGER;
static PyObject *__pyx_n_s_L1_M5L3_AUGER;
static PyObject *__pyx_n_s_L1_M5M1_AUGER;
static PyObject *__pyx_n_s_L1_M5M2_AUGER;
static PyObject *__pyx_n_s_L1_M5M3_AUGER;
static PyObject *__pyx_n_s_L1_M5M4_AUGER;
static PyObject *__pyx_n_s_L1_M5M5_AUGER;
static PyObject *__pyx_n_s_L1_M5N1_AUGER;
static PyObject *__pyx_n_s_L1_M5N2_AUGER;
static PyObject *__pyx_n_s_L1_M5N3_AUGER;
static PyObject *__pyx_n_s_L1_M5N4_AUGER;
static PyObject *__pyx_n_s_L1_M5N5_AUGER;
static PyObject *__pyx_n_s_L1_M5N6_AUGER;
static PyObject *__pyx_n_s_L1_M5N7_AUGER;
static PyObject *__pyx_n_s_L1_M5O1_AUGER;
static PyObject *__pyx_n_s_L1_M5O2_AUGER;
static PyObject *__pyx_n_s_L1_M5O3_AUGER;
static PyObject *__pyx_n_s_L1_M5O4_AUGER;
static PyObject *__pyx_n_s_L1_M5O5_AUGER;
static PyObject *__pyx_n_s_L1_M5O6_AUGER;
static PyObject *__pyx_n_s_L1_M5O7_AUGER;
static PyObject *__pyx_n_s_L1_M5P1_AUGER;
static PyObject *__pyx_n_s_L1_M5P2_AUGER;
static PyObject *__pyx_n_s_L1_M5P3_AUGER;
static PyObject *__pyx_n_s_L1_M5P4_AUGER;
static PyObject *__pyx_n_s_L1_M5P5_AUGER;
static PyObject *__pyx_n_s_L1_M5Q1_AUGER;
static PyObject *__pyx_n_s_L1_M5Q2_AUGER;
static PyObject *__pyx_n_s_L1_M5Q3_AUGER;
static PyObject *__pyx_n_s_L1_SHELL;
static PyObject *__pyx_n_s_L2L3_LINE;
static PyObject *__pyx_n_s_L2M1_LINE;
static PyObject *__pyx_n_s_L2M2_LINE;
static PyObject *__pyx_n_s_L2M3_LINE;
static PyObject *__pyx_n_s_L2M4_LINE;
static PyObject *__pyx_n_s_L2M5_LINE;
static PyObject *__pyx_n_s_L2N1_LINE;
static PyObject *__pyx_n_s_L2N2_LINE;
static PyObject *__pyx_n_s_L2N3_LINE;
static PyObject *__pyx_n_s_L2N4_LINE;
static PyObject *__pyx_n_s_L2N5_LINE;
static PyObject *__pyx_n_s_L2N6_LINE;
static PyObject *__pyx_n_s_L2N7_LINE;
static PyObject *__pyx_n_s_L2O1_LINE;
static PyObject *__pyx_n_s_L2O2_LINE;
static PyObject *__pyx_n_s_L2O3_LINE;
static PyObject *__pyx_n_s_L2O4_LINE;
static PyObject *__pyx_n_s_L2O5_LINE;
static PyObject *__pyx_n_s_L2O6_LINE;
static PyObject *__pyx_n_s_L2O7_LINE;
static PyObject *__pyx_n_s_L2P1_LINE;
static PyObject *__pyx_n_s_L2P23_LINE;
static PyObject *__pyx_n_s_L2P2_LINE;
static PyObject *__pyx_n_s_L2P3_LINE;
static PyObject *__pyx_n_s_L2P4_LINE;
static PyObject *__pyx_n_s_L2P5_LINE;
static PyObject *__pyx_n_s_L2Q1_LINE;
static PyObject *__pyx_n_s_L2_L3L3_AUGER;
static PyObject *__pyx_n_s_L2_L3M1_AUGER;
static PyObject *__pyx_n_s_L2_L3M2_AUGER;
static PyObject *__pyx_n_s_L2_L3M3_AUGER;
static PyObject *__pyx_n_s_L2_L3M4_AUGER;
static PyObject *__pyx_n_s_L2_L3M5_AUGER;
static PyObject *__pyx_n_s_L2_L3N1_AUGER;
static PyObject *__pyx_n_s_L2_L3N2_AUGER;
static PyObject *__pyx_n_s_L2_L3N3_AUGER;
static PyObject *__pyx_n_s_L2_L3N4_AUGER;
static PyObject *__pyx_n_s_L2_L3N5_AUGER;
static PyObject *__pyx_n_s_L2_L3N6_AUGER;
static PyObject *__pyx_n_s_L2_L3N7_AUGER;
static PyObject *__pyx_n_s_L2_L3O1_AUGER;
static PyObject *__pyx_n_s_L2_L3O2_AUGER;
static PyObject *__pyx_n_s_L2_L3O3_AUGER;
static PyObject *__pyx_n_s_L2_L3O4_AUGER;
static PyObject *__pyx_n_s_L2_L3O5_AUGER;
static PyObject *__pyx_n_s_L2_L3O6_AUGER;
static PyObject *__pyx_n_s_L2_L3O7_AUGER;
static PyObject *__pyx_n_s_L2_L3P1_AUGER;
static PyObject *__pyx_n_s_L2_L3P2_AUGER;
static PyObject *__pyx_n_s_L2_L3P3_AUGER;
static PyObject *__pyx_n_s_L2_L3P4_AUGER;
static PyObject *__pyx_n_s_L2_L3P5_AUGER;
static PyObject *__pyx_n_s_L2_L3Q1_AUGER;
static PyObject *__pyx_n_s_L2_L3Q2_AUGER;
static PyObject *__pyx_n_s_L2_L3Q3_AUGER;
static PyObject *__pyx_n_s_L2_M1L3_AUGER;
static PyObject *__pyx_n_s_L2_M1M1_AUGER;
static PyObject *__pyx_n_s_L2_M1M2_AUGER;
static PyObject *__pyx_n_s_L2_M1M3_AUGER;
static PyObject *__pyx_n_s_L2_M1M4_AUGER;
static PyObject *__pyx_n_s_L2_M1M5_AUGER;
static PyObject *__pyx_n_s_L2_M1N1_AUGER;
static PyObject *__pyx_n_s_L2_M1N2_AUGER;
static PyObject *__pyx_n_s_L2_M1N3_AUGER;
static PyObject *__pyx_n_s_L2_M1N4_AUGER;
static PyObject *__pyx_n_s_L2_M1N5_AUGER;
static PyObject *__pyx_n_s_L2_M1N6_AUGER;
static PyObject *__pyx_n_s_L2_M1N7_AUGER;
static PyObject *__pyx_n_s_L2_M1O1_AUGER;
static PyObject *__pyx_n_s_L2_M1O2_AUGER;
static PyObject *__pyx_n_s_L2_M1O3_AUGER;
static PyObject *__pyx_n_s_L2_M1O4_AUGER;
static PyObject *__pyx_n_s_L2_M1O5_AUGER;
static PyObject *__pyx_n_s_L2_M1O6_AUGER;
static PyObject *__pyx_n_s_L2_M1O7_AUGER;
static PyObject *__pyx_n_s_L2_M1P1_AUGER;
static PyObject *__pyx_n_s_L2_M1P2_AUGER;
static PyObject *__pyx_n_s_L2_M1P3_AUGER;
static PyObject *__pyx_n_s_L2_M1P4_AUGER;
static PyObject *__pyx_n_s_L2_M1P5_AUGER;
static PyObject *__pyx_n_s_L2_M1Q1_AUGER;
static PyObject *__pyx_n_s_L2_M1Q2_AUGER;
static PyObject *__pyx_n_s_L2_M1Q3_AUGER;
static PyObject *__pyx_n_s_L2_M2L3_AUGER;
static PyObject *__pyx_n_s_L2_M2M1_AUGER;
static PyObject *__pyx_n_s_L2_M2M2_AUGER;
static PyObject *__pyx_n_s_L2_M2M3_AUGER;
static PyObject *__pyx_n_s_L2_M2M4_AUGER;
static PyObject *__pyx_n_s_L2_M2M5_AUGER;
static PyObject *__pyx_n_s_L2_M2N1_AUGER;
static PyObject *__pyx_n_s_L2_M2N2_AUGER;
static PyObject *__pyx_n_s_L2_M2N3_AUGER;
static PyObject *__pyx_n_s_L2_M2N4_AUGER;
static PyObject *__pyx_n_s_L2_M2N5_AUGER;
static PyObject *__pyx_n_s_L2_M2N6_AUGER;
static PyObject *__pyx_n_s_L2_M2N7_AUGER;
static PyObject *__pyx_n_s_L2_M2O1_AUGER;
static PyObject *__pyx_n_s_L2_M2O2_AUGER;
static PyObject *__pyx_n_s_L2_M2O3_AUGER;
static PyObject *__pyx_n_s_L2_M2O4_AUGER;
static PyObject *__pyx_n_s_L2_M2O5_AUGER;
static PyObject *__pyx_n_s_L2_M2O6_AUGER;
static PyObject *__pyx_n_s_L2_M2O7_AUGER;
static PyObject *__pyx_n_s_L2_M2P1_AUGER;
static PyObject *__pyx_n_s_L2_M2P2_AUGER;
static PyObject *__pyx_n_s_L2_M2P3_AUGER;
static PyObject *__pyx_n_s_L2_M2P4_AUGER;
static PyObject *__pyx_n_s_L2_M2P5_AUGER;
static PyObject *__pyx_n_s_L2_M2Q1_AUGER;
static PyObject *__pyx_n_s_L2_M2Q2_AUGER;
static PyObject *__pyx_n_s_L2_M2Q3_AUGER;
static PyObject *__pyx_n_s_L2_M3L3_AUGER;
static PyObject *__pyx_n_s_L2_M3M1_AUGER;
static PyObject *__pyx_n_s_L2_M3M2_AUGER;
static PyObject *__pyx_n_s_L2_M3M3_AUGER;
static PyObject *__pyx_n_s_L2_M3M4_AUGER;
static PyObject *__pyx_n_s_L2_M3M5_AUGER;
static PyObject *__pyx_n_s_L2_M3N1_AUGER;
static PyObject *__pyx_n_s_L2_M3N2_AUGER;
static PyObject *__pyx_n_s_L2_M3N3_AUGER;
static PyObject *__pyx_n_s_L2_M3N4_AUGER;
static PyObject *__pyx_n_s_L2_M3N5_AUGER;
static PyObject *__pyx_n_s_L2_M3N6_AUGER;
static PyObject *__pyx_n_s_L2_M3N7_AUGER;
static PyObject *__pyx_n_s_L2_M3O1_AUGER;
static PyObject *__pyx_n_s_L2_M3O2_AUGER;
static PyObject *__pyx_n_s_L2_M3O3_AUGER;
static PyObject *__pyx_n_s_L2_M3O4_AUGER;
static PyObject *__pyx_n_s_L2_M3O5_AUGER;
static PyObject *__pyx_n_s_L2_M3O6_AUGER;
static PyObject *__pyx_n_s_L2_M3O7_AUGER;
static PyObject *__pyx_n_s_L2_M3P1_AUGER;
static PyObject *__pyx_n_s_L2_M3P2_AUGER;
static PyObject *__pyx_n_s_L2_M3P3_AUGER;
static PyObject *__pyx_n_s_L2_M3P4_AUGER;
static PyObject *__pyx_n_s_L2_M3P5_AUGER;
static PyObject *__pyx_n_s_L2_M3Q1_AUGER;
static PyObject *__pyx_n_s_L2_M3Q2_AUGER;
static PyObject *__pyx_n_s_L2_M3Q3_AUGER;
static PyObject *__pyx_n_s_L2_M4L3_AUGER;
static PyObject *__pyx_n_s_L2_M4M1_AUGER;
static PyObject *__pyx_n_s_L2_M4M2_AUGER;
static PyObject *__pyx_n_s_L2_M4M3_AUGER;
static PyObject *__pyx_n_s_L2_M4M4_AUGER;
static PyObject *__pyx_n_s_L2_M4M5_AUGER;
static PyObject *__pyx_n_s_L2_M4N1_AUGER;
static PyObject *__pyx_n_s_L2_M4N2_AUGER;
static PyObject *__pyx_n_s_L2_M4N3_AUGER;
static PyObject *__pyx_n_s_L2_M4N4_AUGER;
static PyObject *__pyx_n_s_L2_M4N5_AUGER;
static PyObject *__pyx_n_s_L2_M4N6_AUGER;
static PyObject *__pyx_n_s_L2_M4N7_AUGER;
static PyObject *__pyx_n_s_L2_M4O1_AUGER;
static PyObject *__pyx_n_s_L2_M4O2_AUGER;
static PyObject *__pyx_n_s_L2_M4O3_AUGER;
static PyObject *__pyx_n_s_L2_M4O4_AUGER;
static PyObject *__pyx_n_s_L2_M4O5_AUGER;
static PyObject *__pyx_n_s_L2_M4O6_AUGER;
static PyObject *__pyx_n_s_L2_M4O7_AUGER;
static PyObject *__pyx_n_s_L2_M4P1_AUGER;
static PyObject *__pyx_n_s_L2_M4P2_AUGER;
static PyObject *__pyx_n_s_L2_M4P3_AUGER;
static PyObject *__pyx_n_s_L2_M4P4_AUGER;
static PyObject *__pyx_n_s_L2_M4P5_AUGER;
static PyObject *__pyx_n_s_L2_M4Q1_AUGER;
static PyObject *__pyx_n_s_L2_M4Q2_AUGER;
static PyObject *__pyx_n_s_L2_M4Q3_AUGER;
static PyObject *__pyx_n_s_L2_M5L3_AUGER;
static PyObject *__pyx_n_s_L2_M5M1_AUGER;
static PyObject *__pyx_n_s_L2_M5M2_AUGER;
static PyObject *__pyx_n_s_L2_M5M3_AUGER;
static PyObject *__pyx_n_s_L2_M5M4_AUGER;
static PyObject *__pyx_n_s_L2_M5M5_AUGER;
static PyObject *__pyx_n_s_L2_M5N1_AUGER;
static PyObject *__pyx_n_s_L2_M5N2_AUGER;
static PyObject *__pyx_n_s_L2_M5N3_AUGER;
static PyObject *__pyx_n_s_L2_M5N4_AUGER;
static PyObject *__pyx_n_s_L2_M5N5_AUGER;
static PyObject *__pyx_n_s_L2_M5N6_AUGER;
static PyObject *__pyx_n_s_L2_M5N7_AUGER;
static PyObject *__pyx_n_s_L2_M5O1_AUGER;
static PyObject *__pyx_n_s_L2_M5O2_AUGER;
static PyObject *__pyx_n_s_L2_M5O3_AUGER;
static PyObject *__pyx_n_s_L2_M5O4_AUGER;
static PyObject *__pyx_n_s_L2_M5O5_AUGER;
static PyObject *__pyx_n_s_L2_M5O6_AUGER;
static PyObject *__pyx_n_s_L2_M5O7_AUGER;
static PyObject *__pyx_n_s_L2_M5P1_AUGER;
static PyObject *__pyx_n_s_L2_M5P2_AUGER;
static PyObject *__pyx_n_s_L2_M5P3_AUGER;
static PyObject *__pyx_n_s_L2_M5P4_AUGER;
static PyObject *__pyx_n_s_L2_M5P5_AUGER;
static PyObject *__pyx_n_s_L2_M5Q1_AUGER;
static PyObject *__pyx_n_s_L2_M5Q2_AUGER;
static PyObject *__pyx_n_s_L2_M5Q3_AUGER;
static PyObject *__pyx_n_s_L2_SHELL;
static PyObject *__pyx_n_s_L3M1_LINE;
static PyObject *__pyx_n_s_L3M2_LINE;
static PyObject *__pyx_n_s_L3M3_LINE;
static PyObject *__pyx_n_s_L3M4_LINE;
static PyObject *__pyx_n_s_L3M5_LINE;
static PyObject *__pyx_n_s_L3N1_LINE;
static PyObject *__pyx_n_s_L3N2_LINE;
static PyObject *__pyx_n_s_L3N3_LINE;
static PyObject *__pyx_n_s_L3N4_LINE;
static PyObject *__pyx_n_s_L3N5_LINE;
static PyObject *__pyx_n_s_L3N6_LINE;
static PyObject *__pyx_n_s_L3N7_LINE;
static PyObject *__pyx_n_s_L3O1_LINE;
static PyObject *__pyx_n_s_L3O2_LINE;
static PyObject *__pyx_n_s_L3O3_LINE;
static PyObject *__pyx_n_s_L3O45_LINE;
static PyObject *__pyx_n_s_L3O4_LINE;
static PyObject *__pyx_n_s_L3O5_LINE;
static PyObject *__pyx_n_s_L3O6_LINE;
static PyObject *__pyx_n_s_L3O7_LINE;
static PyObject *__pyx_n_s_L3P1_LINE;
static PyObject *__pyx_n_s_L3P23_LINE;
static PyObject *__pyx_n_s_L3P2_LINE;
static PyObject *__pyx_n_s_L3P3_LINE;
static PyObject *__pyx_n_s_L3P45_LINE;
static PyObject *__pyx_n_s_L3P4_LINE;
static PyObject *__pyx_n_s_L3P5_LINE;
static PyObject *__pyx_n_s_L3Q1_LINE;
static PyObject *__pyx_n_s_L3_M1M1_AUGER;
static PyObject *__pyx_n_s_L3_M1M2_AUGER;
static PyObject *__pyx_n_s_L3_M1M3_AUGER;
static PyObject *__pyx_n_s_L3_M1M4_AUGER;
static PyObject *__pyx_n_s_L3_M1M5_AUGER;
static PyObject *__pyx_n_s_L3_M1N1_AUGER;
static PyObject *__pyx_n_s_L3_M1N2_AUGER;
static PyObject *__pyx_n_s_L3_M1N3_AUGER;
static PyObject *__pyx_n_s_L3_M1N4_AUGER;
static PyObject *__pyx_n_s_L3_M1N5_AUGER;
static PyObject *__pyx_n_s_L3_M1N6_AUGER;
static PyObject *__pyx_n_s_L3_M1N7_AUGER;
static PyObject *__pyx_n_s_L3_M1O1_AUGER;
static PyObject *__pyx_n_s_L3_M1O2_AUGER;
static PyObject *__pyx_n_s_L3_M1O3_AUGER;
static PyObject *__pyx_n_s_L3_M1O4_AUGER;
static PyObject *__pyx_n_s_L3_M1O5_AUGER;
static PyObject *__pyx_n_s_L3_M1O6_AUGER;
static PyObject *__pyx_n_s_L3_M1O7_AUGER;
static PyObject *__pyx_n_s_L3_M1P1_AUGER;
static PyObject *__pyx_n_s_L3_M1P2_AUGER;
static PyObject *__pyx_n_s_L3_M1P3_AUGER;
static PyObject *__pyx_n_s_L3_M1P4_AUGER;
static PyObject *__pyx_n_s_L3_M1P5_AUGER;
static PyObject *__pyx_n_s_L3_M1Q1_AUGER;
static PyObject *__pyx_n_s_L3_M1Q2_AUGER;
static PyObject *__pyx_n_s_L3_M1Q3_AUGER;
static PyObject *__pyx_n_s_L3_M2M1_AUGER;
static PyObject *__pyx_n_s_L3_M2M2_AUGER;
static PyObject *__pyx_n_s_L3_M2M3_AUGER;
static PyObject *__pyx_n_s_L3_M2M4_AUGER;
static PyObject *__pyx_n_s_L3_M2M5_AUGER;
static PyObject *__pyx_n_s_L3_M2N1_AUGER;
static PyObject *__pyx_n_s_L3_M2N2_AUGER;
static PyObject *__pyx_n_s_L3_M2N3_AUGER;
static PyObject *__pyx_n_s_L3_M2N4_AUGER;
static PyObject *__pyx_n_s_L3_M2N5_AUGER;
static PyObject *__pyx_n_s_L3_M2N6_AUGER;
static PyObject *__pyx_n_s_L3_M2N7_AUGER;
static PyObject *__pyx_n_s_L3_M2O1_AUGER;
static PyObject *__pyx_n_s_L3_M2O2_AUGER;
static PyObject *__pyx_n_s_L3_M2O3_AUGER;
static PyObject *__pyx_n_s_L3_M2O4_AUGER;
static PyObject *__pyx_n_s_L3_M2O5_AUGER;
static PyObject *__pyx_n_s_L3_M2O6_AUGER;
static PyObject *__pyx_n_s_L3_M2O7_AUGER;
static PyObject *__pyx_n_s_L3_M2P1_AUGER;
static PyObject *__pyx_n_s_L3_M2P2_AUGER;
static PyObject *__pyx_n_s_L3_M2P3_AUGER;
static PyObject *__pyx_n_s_L3_M2P4_AUGER;
static PyObject *__pyx_n_s_L3_M2P5_AUGER;
static PyObject *__pyx_n_s_L3_M2Q1_AUGER;
static PyObject *__pyx_n_s_L3_M2Q2_AUGER;
static PyObject *__pyx_n_s_L3_M2Q3_AUGER;
static PyObject *__pyx_n_s_L3_M3M1_AUGER;
static PyObject *__pyx_n_s_L3_M3M2_AUGER;
static PyObject *__pyx_n_s_L3_M3M3_AUGER;
static PyObject *__pyx_n_s_L3_M3M4_AUGER;
static PyObject *__pyx_n_s_L3_M3M5_AUGER;
static PyObject *__pyx_n_s_L3_M3N1_AUGER;
static PyObject *__pyx_n_s_L3_M3N2_AUGER;
static PyObject *__pyx_n_s_L3_M3N3_AUGER;
static PyObject *__pyx_n_s_L3_M3N4_AUGER;
static PyObject *__pyx_n_s_L3_M3N5_AUGER;
static PyObject *__pyx_n_s_L3_M3N6_AUGER;
static PyObject *__pyx_n_s_L3_M3N7_AUGER;
static PyObject *__pyx_n_s_L3_M3O1_AUGER;
static PyObject *__pyx_n_s_L3_M3O2_AUGER;
static PyObject *__pyx_n_s_L3_M3O3_AUGER;
static PyObject *__pyx_n_s_L3_M3O4_AUGER;
static PyObject *__pyx_n_s_L3_M3O5_AUGER;
static PyObject *__pyx_n_s_L3_M3O6_AUGER;
static PyObject *__pyx_n_s_L3_M3O7_AUGER;
static PyObject *__pyx_n_s_L3_M3P1_AUGER;
static PyObject *__pyx_n_s_L3_M3P2_AUGER;
static PyObject *__pyx_n_s_L3_M3P3_AUGER;
static PyObject *__pyx_n_s_L3_M3P4_AUGER;
static PyObject *__pyx_n_s_L3_M3P5_AUGER;
static PyObject *__pyx_n_s_L3_M3Q1_AUGER;
static PyObject *__pyx_n_s_L3_M3Q2_AUGER;
static PyObject *__pyx_n_s_L3_M3Q3_AUGER;
static PyObject *__pyx_n_s_L3_M4M1_AUGER;
static PyObject *__pyx_n_s_L3_M4M2_AUGER;
static PyObject *__pyx_n_s_L3_M4M3_AUGER;
static PyObject *__pyx_n_s_L3_M4M4_AUGER;
static PyObject *__pyx_n_s_L3_M4M5_AUGER;
static PyObject *__pyx_n_s_L3_M4N1_AUGER;
static PyObject *__pyx_n_s_L3_M4N2_AUGER;
static PyObject *__pyx_n_s_L3_M4N3_AUGER;
static PyObject *__pyx_n_s_L3_M4N4_AUGER;
static PyObject *__pyx_n_s_L3_M4N5_AUGER;
static PyObject *__pyx_n_s_L3_M4N6_AUGER;
static PyObject *__pyx_n_s_L3_M4N7_AUGER;
static PyObject *__pyx_n_s_L3_M4O1_AUGER;
static PyObject *__pyx_n_s_L3_M4O2_AUGER;
static PyObject *__pyx_n_s_L3_M4O3_AUGER;
static PyObject *__pyx_n_s_L3_M4O4_AUGER;
static PyObject *__pyx_n_s_L3_M4O5_AUGER;
static PyObject *__pyx_n_s_L3_M4O6_AUGER;
static PyObject *__pyx_n_s_L3_M4O7_AUGER;
static PyObject *__pyx_n_s_L3_M4P1_AUGER;
static PyObject *__pyx_n_s_L3_M4P2_AUGER;
static PyObject *__pyx_n_s_L3_M4P3_AUGER;
static PyObject *__pyx_n_s_L3_M4P4_AUGER;
static PyObject *__pyx_n_s_L3_M4P5_AUGER;
static PyObject *__pyx_n_s_L3_M4Q1_AUGER;
static PyObject *__pyx_n_s_L3_M4Q2_AUGER;
static PyObject *__pyx_n_s_L3_M4Q3_AUGER;
static PyObject *__pyx_n_s_L3_M5M1_AUGER;
static PyObject *__pyx_n_s_L3_M5M2_AUGER;
static PyObject *__pyx_n_s_L3_M5M3_AUGER;
static PyObject *__pyx_n_s_L3_M5M4_AUGER;
static PyObject *__pyx_n_s_L3_M5M5_AUGER;
static PyObject *__pyx_n_s_L3_M5N1_AUGER;
static PyObject *__pyx_n_s_L3_M5N2_AUGER;
static PyObject *__pyx_n_s_L3_M5N3_AUGER;
static PyObject *__pyx_n_s_L3_M5N4_AUGER;
static PyObject *__pyx_n_s_L3_M5N5_AUGER;
static PyObject *__pyx_n_s_L3_M5N6_AUGER;
static PyObject *__pyx_n_s_L3_M5N7_AUGER;
static PyObject *__pyx_n_s_L3_M5O1_AUGER;
static PyObject *__pyx_n_s_L3_M5O2_AUGER;
static PyObject *__pyx_n_s_L3_M5O3_AUGER;
static PyObject *__pyx_n_s_L3_M5O4_AUGER;
static PyObject *__pyx_n_s_L3_M5O5_AUGER;
static PyObject *__pyx_n_s_L3_M5O6_AUGER;
static PyObject *__pyx_n_s_L3_M5O7_AUGER;
static PyObject *__pyx_n_s_L3_M5P1_AUGER;
static PyObject *__pyx_n_s_L3_M5P2_AUGER;
static PyObject *__pyx_n_s_L3_M5P3_AUGER;
static PyObject *__pyx_n_s_L3_M5P4_AUGER;
static PyObject *__pyx_n_s_L3_M5P5_AUGER;
static PyObject *__pyx_n_s_L3_M5Q1_AUGER;
static PyObject *__pyx_n_s_L3_M5Q2_AUGER;
static PyObject *__pyx_n_s_L3_M5Q3_AUGER;
static PyObject *__pyx_n_s_L3_SHELL;
static PyObject *__pyx_n_s_LA1_LINE;
static PyObject *__pyx_n_s_LA2_LINE;
static PyObject *__pyx_n_s_LA_LINE;
static PyObject *__pyx_n_s_LB10_LINE;
static PyObject *__pyx_n_s_LB15_LINE;
static PyObject *__pyx_n_s_LB17_LINE;
static PyObject *__pyx_n_s_LB1_LINE;
static PyObject *__pyx_n_s_LB2_LINE;
static PyObject *__pyx_n_s_LB3_LINE;
static PyObject *__pyx_n_s_LB4_LINE;
static PyObject *__pyx_n_s_LB5_LINE;
static PyObject *__pyx_n_s_LB6_LINE;
static PyObject *__pyx_n_s_LB7_LINE;
static PyObject *__pyx_n_s_LB9_LINE;
static PyObject *__pyx_n_s_LB_LINE;
static PyObject *__pyx_n_s_LE_LINE;
static PyObject *__pyx_n_s_LG1_LINE;
static PyObject *__pyx_n_s_LG2_LINE;
static PyObject *__pyx_n_s_LG3_LINE;
static PyObject *__pyx_n_s_LG4_LINE;
static PyObject *__pyx_n_s_LG5_LINE;
static PyObject *__pyx_n_s_LG6_LINE;
static PyObject *__pyx_n_s_LG8_LINE;
static PyObject *__pyx_n_s_LL_LINE;
static PyObject *__pyx_n_s_LS_LINE;
static PyObject *__pyx_n_s_LT_LINE;
static PyObject *__pyx_n_s_LU_LINE;
static PyObject *__pyx_n_s_LV_LINE;
static PyObject *__pyx_n_s_LineEnergy;
static PyObject *__pyx_n_s_LineEnergy_2;
static PyObject *__pyx_n_s_M1M2_LINE;
static PyObject *__pyx_n_s_M1M3_LINE;
static PyObject *__pyx_n_s_M1M4_LINE;
static PyObject *__pyx_n_s_M1M5_LINE;
static PyObject *__pyx_n_s_M1N1_LINE;
static PyObject *__pyx_n_s_M1N2_LINE;
static PyObject *__pyx_n_s_M1N3_LINE;
static PyObject *__pyx_n_s_M1N4_LINE;
static PyObject *__pyx_n_s_M1N5_LINE;
static PyObject *__pyx_n_s_M1N6_LINE;
static PyObject *__pyx_n_s_M1N7_LINE;
static PyObject *__pyx_n_s_M1O1_LINE;
static PyObject *__pyx_n_s_M1O2_LINE;
static PyObject *__pyx_n_s_M1O3_LINE;
static PyObject *__pyx_n_s_M1O4_LINE;
static PyObject *__pyx_n_s_M1O5_LINE;
static PyObject *__pyx_n_s_M1O6_LINE;
static PyObject *__pyx_n_s_M1O7_LINE;
static PyObject *__pyx_n_s_M1P1_LINE;
static PyObject *__pyx_n_s_M1P2_LINE;
static PyObject *__pyx_n_s_M1P3_LINE;
static PyObject *__pyx_n_s_M1P4_LINE;
static PyObject *__pyx_n_s_M1P5_LINE;
static PyObject *__pyx_n_s_M1_M2M2_AUGER;
static PyObject *__pyx_n_s_M1_M2M3_AUGER;
static PyObject *__pyx_n_s_M1_M2M4_AUGER;
static PyObject *__pyx_n_s_M1_M2M5_AUGER;
static PyObject *__pyx_n_s_M1_M2N1_AUGER;
static PyObject *__pyx_n_s_M1_M2N2_AUGER;
static PyObject *__pyx_n_s_M1_M2N3_AUGER;
static PyObject *__pyx_n_s_M1_M2N4_AUGER;
static PyObject *__pyx_n_s_M1_M2N5_AUGER;
static PyObject *__pyx_n_s_M1_M2N6_AUGER;
static PyObject *__pyx_n_s_M1_M2N7_AUGER;
static PyObject *__pyx_n_s_M1_M2O1_AUGER;
static PyObject *__pyx_n_s_M1_M2O2_AUGER;
static PyObject *__pyx_n_s_M1_M2O3_AUGER;
static PyObject *__pyx_n_s_M1_M2O4_AUGER;
static PyObject *__pyx_n_s_M1_M2O5_AUGER;
static PyObject *__pyx_n_s_M1_M2O6_AUGER;
static PyObject *__pyx_n_s_M1_M2O7_AUGER;
static PyObject *__pyx_n_s_M1_M2P1_AUGER;
static PyObject *__pyx_n_s_M1_M2P2_AUGER;
static PyObject *__pyx_n_s_M1_M2P3_AUGER;
static PyObject *__pyx_n_s_M1_M2P4_AUGER;
static PyObject *__pyx_n_s_M1_M2P5_AUGER;
static PyObject *__pyx_n_s_M1_M2Q1_AUGER;
static PyObject *__pyx_n_s_M1_M2Q2_AUGER;
static PyObject *__pyx_n_s_M1_M2Q3_AUGER;
static PyObject *__pyx_n_s_M1_M3M2_AUGER;
static PyObject *__pyx_n_s_M1_M3M3_AUGER;
static PyObject *__pyx_n_s_M1_M3M4_AUGER;
static PyObject *__pyx_n_s_M1_M3M5_AUGER;
static PyObject *__pyx_n_s_M1_M3N1_AUGER;
static PyObject *__pyx_n_s_M1_M3N2_AUGER;
static PyObject *__pyx_n_s_M1_M3N3_AUGER;
static PyObject *__pyx_n_s_M1_M3N4_AUGER;
static PyObject *__pyx_n_s_M1_M3N5_AUGER;
static PyObject *__pyx_n_s_M1_M3N6_AUGER;
static PyObject *__pyx_n_s_M1_M3N7_AUGER;
static PyObject *__pyx_n_s_M1_M3O1_AUGER;
static PyObject *__pyx_n_s_M1_M3O2_AUGER;
static PyObject *__pyx_n_s_M1_M3O3_AUGER;
static PyObject *__pyx_n_s_M1_M3O4_AUGER;
static PyObject *__pyx_n_s_M1_M3O5_AUGER;
static PyObject *__pyx_n_s_M1_M3O6_AUGER;
static PyObject *__pyx_n_s_M1_M3O7_AUGER;
static PyObject *__pyx_n_s_M1_M3P1_AUGER;
static PyObject *__pyx_n_s_M1_M3P2_AUGER;
static PyObject *__pyx_n_s_M1_M3P3_AUGER;
static PyObject *__pyx_n_s_M1_M3P4_AUGER;
static PyObject *__pyx_n_s_M1_M3P5_AUGER;
static PyObject *__pyx_n_s_M1_M3Q1_AUGER;
static PyObject *__pyx_n_s_M1_M3Q2_AUGER;
static PyObject *__pyx_n_s_M1_M3Q3_AUGER;
static PyObject *__pyx_n_s_M1_M4M2_AUGER;
static PyObject *__pyx_n_s_M1_M4M3_AUGER;
static PyObject *__pyx_n_s_M1_M4M4_AUGER;
static PyObject *__pyx_n_s_M1_M4M5_AUGER;
static PyObject *__pyx_n_s_M1_M4N1_AUGER;
static PyObject *__pyx_n_s_M1_M4N2_AUGER;
static PyObject *__pyx_n_s_M1_M4N3_AUGER;
static PyObject *__pyx_n_s_M1_M4N4_AUGER;
static PyObject *__pyx_n_s_M1_M4N5_AUGER;
static PyObject *__pyx_n_s_M1_M4N6_AUGER;
static PyObject *__pyx_n_s_M1_M4N7_AUGER;
static PyObject *__pyx_n_s_M1_M4O1_AUGER;
static PyObject *__pyx_n_s_M1_M4O2_AUGER;
static PyObject *__pyx_n_s_M1_M4O3_AUGER;
static PyObject *__pyx_n_s_M1_M4O4_AUGER;
static PyObject *__pyx_n_s_M1_M4O5_AUGER;
static PyObject *__pyx_n_s_M1_M4O6_AUGER;
static PyObject *__pyx_n_s_M1_M4O7_AUGER;
static PyObject *__pyx_n_s_M1_M4P1_AUGER;
static PyObject *__pyx_n_s_M1_M4P2_AUGER;
static PyObject *__pyx_n_s_M1_M4P3_AUGER;
static PyObject *__pyx_n_s_M1_M4P4_AUGER;
static PyObject *__pyx_n_s_M1_M4P5_AUGER;
static PyObject *__pyx_n_s_M1_M4Q1_AUGER;
static PyObject *__pyx_n_s_M1_M4Q2_AUGER;
static PyObject *__pyx_n_s_M1_M4Q3_AUGER;
static PyObject *__pyx_n_s_M1_M5M2_AUGER;
static PyObject *__pyx_n_s_M1_M5M3_AUGER;
static PyObject *__pyx_n_s_M1_M5M4_AUGER;
static PyObject *__pyx_n_s_M1_M5M5_AUGER;
static PyObject *__pyx_n_s_M1_M5N1_AUGER;
static PyObject *__pyx_n_s_M1_M5N2_AUGER;
static PyObject *__pyx_n_s_M1_M5N3_AUGER;
static PyObject *__pyx_n_s_M1_M5N4_AUGER;
static PyObject *__pyx_n_s_M1_M5N5_AUGER;
static PyObject *__pyx_n_s_M1_M5N6_AUGER;
static PyObject *__pyx_n_s_M1_M5N7_AUGER;
static PyObject *__pyx_n_s_M1_M5O1_AUGER;
static PyObject *__pyx_n_s_M1_M5O2_AUGER;
static PyObject *__pyx_n_s_M1_M5O3_AUGER;
static PyObject *__pyx_n_s_M1_M5O4_AUGER;
static PyObject *__pyx_n_s_M1_M5O5_AUGER;
static PyObject *__pyx_n_s_M1_M5O6_AUGER;
static PyObject *__pyx_n_s_M1_M5O7_AUGER;
static PyObject *__pyx_n_s_M1_M5P1_AUGER;
static PyObject *__pyx_n_s_M1_M5P2_AUGER;
static PyObject *__pyx_n_s_M1_M5P3_AUGER;
static PyObject *__pyx_n_s_M1_M5P4_AUGER;
static PyObject *__pyx_n_s_M1_M5P5_AUGER;
static PyObject *__pyx_n_s_M1_M5Q1_AUGER;
static PyObject *__pyx_n_s_M1_M5Q2_AUGER;
static PyObject *__pyx_n_s_M1_M5Q3_AUGER;
static PyObject *__pyx_n_s_M1_SHELL;
static PyObject *__pyx_n_s_M2M3_LINE;
static PyObject *__pyx_n_s_M2M4_LINE;
static PyObject *__pyx_n_s_M2M5_LINE;
static PyObject *__pyx_n_s_M2N1_LINE;
static PyObject *__pyx_n_s_M2N2_LINE;
static PyObject *__pyx_n_s_M2N3_LINE;
static PyObject *__pyx_n_s_M2N4_LINE;
static PyObject *__pyx_n_s_M2N5_LINE;
static PyObject *__pyx_n_s_M2N6_LINE;
static PyObject *__pyx_n_s_M2N7_LINE;
static PyObject *__pyx_n_s_M2O1_LINE;
static PyObject *__pyx_n_s_M2O2_LINE;
static PyObject *__pyx_n_s_M2O3_LINE;
static PyObject *__pyx_n_s_M2O4_LINE;
static PyObject *__pyx_n_s_M2O5_LINE;
static PyObject *__pyx_n_s_M2O6_LINE;
static PyObject *__pyx_n_s_M2O7_LINE;
static PyObject *__pyx_n_s_M2P1_LINE;
static PyObject *__pyx_n_s_M2P2_LINE;
static PyObject *__pyx_n_s_M2P3_LINE;
static PyObject *__pyx_n_s_M2P4_LINE;
static PyObject *__pyx_n_s_M2P5_LINE;
static PyObject *__pyx_n_s_M2_M3M3_AUGER;
static PyObject *__pyx_n_s_M2_M3M4_AUGER;
static PyObject *__pyx_n_s_M2_M3M5_AUGER;
static PyObject *__pyx_n_s_M2_M3N1_AUGER;
static PyObject *__pyx_n_s_M2_M3N2_AUGER;
static PyObject *__pyx_n_s_M2_M3N3_AUGER;
static PyObject *__pyx_n_s_M2_M3N4_AUGER;
static PyObject *__pyx_n_s_M2_M3N5_AUGER;
static PyObject *__pyx_n_s_M2_M3N6_AUGER;
static PyObject *__pyx_n_s_M2_M3N7_AUGER;
static PyObject *__pyx_n_s_M2_M3O1_AUGER;
static PyObject *__pyx_n_s_M2_M3O2_AUGER;
static PyObject *__pyx_n_s_M2_M3O3_AUGER;
static PyObject *__pyx_n_s_M2_M3O4_AUGER;
static PyObject *__pyx_n_s_M2_M3O5_AUGER;
static PyObject *__pyx_n_s_M2_M3O6_AUGER;
static PyObject *__pyx_n_s_M2_M3O7_AUGER;
static PyObject *__pyx_n_s_M2_M3P1_AUGER;
static PyObject *__pyx_n_s_M2_M3P2_AUGER;
static PyObject *__pyx_n_s_M2_M3P3_AUGER;
static PyObject *__pyx_n_s_M2_M3P4_AUGER;
static PyObject *__pyx_n_s_M2_M3P5_AUGER;
static PyObject *__pyx_n_s_M2_M3Q1_AUGER;
static PyObject *__pyx_n_s_M2_M3Q2_AUGER;
static PyObject *__pyx_n_s_M2_M3Q3_AUGER;
static PyObject *__pyx_n_s_M2_M4M3_AUGER;
static PyObject *__pyx_n_s_M2_M4M4_AUGER;
static PyObject *__pyx_n_s_M2_M4M5_AUGER;
static PyObject *__pyx_n_s_M2_M4N1_AUGER;
static PyObject *__pyx_n_s_M2_M4N2_AUGER;
static PyObject *__pyx_n_s_M2_M4N3_AUGER;
static PyObject *__pyx_n_s_M2_M4N4_AUGER;
static PyObject *__pyx_n_s_M2_M4N5_AUGER;
static PyObject *__pyx_n_s_M2_M4N6_AUGER;
static PyObject *__pyx_n_s_M2_M4N7_AUGER;
static PyObject *__pyx_n_s_M2_M4O1_AUGER;
static PyObject *__pyx_n_s_M2_M4O2_AUGER;
static PyObject *__pyx_n_s_M2_M4O3_AUGER;
static PyObject *__pyx_n_s_M2_M4O4_AUGER;
static PyObject *__pyx_n_s_M2_M4O5_AUGER;
static PyObject *__pyx_n_s_M2_M4O6_AUGER;
static PyObject *__pyx_n_s_M2_M4O7_AUGER;
static PyObject *__pyx_n_s_M2_M4P1_AUGER;
static PyObject *__pyx_n_s_M2_M4P2_AUGER;
static PyObject *__pyx_n_s_M2_M4P3_AUGER;
static PyObject *__pyx_n_s_M2_M4P4_AUGER;
static PyObject *__pyx_n_s_M2_M4P5_AUGER;
static PyObject *__pyx_n_s_M2_M4Q1_AUGER;
static PyObject *__pyx_n_s_M2_M4Q2_AUGER;
static PyObject *__pyx_n_s_M2_M4Q3_AUGER;
static PyObject *__pyx_n_s_M2_M5M3_AUGER;
static PyObject *__pyx_n_s_M2_M5M4_AUGER;
static PyObject *__pyx_n_s_M2_M5M5_AUGER;
static PyObject *__pyx_n_s_M2_M5N1_AUGER;
static PyObject *__pyx_n_s_M2_M5N2_AUGER;
static PyObject *__pyx_n_s_M2_M5N3_AUGER;
static PyObject *__pyx_n_s_M2_M5N4_AUGER;
static PyObject *__pyx_n_s_M2_M5N5_AUGER;
static PyObject *__pyx_n_s_M2_M5N6_AUGER;
static PyObject *__pyx_n_s_M2_M5N7_AUGER;
static PyObject *__pyx_n_s_M2_M5O1_AUGER;
static PyObject *__pyx_n_s_M2_M5O2_AUGER;
static PyObject *__pyx_n_s_M2_M5O3_AUGER;
static PyObject *__pyx_n_s_M2_M5O4_AUGER;
static PyObject *__pyx_n_s_M2_M5O5_AUGER;
static PyObject *__pyx_n_s_M2_M5O6_AUGER;
static PyObject *__pyx_n_s_M2_M5O7_AUGER;
static PyObject *__pyx_n_s_M2_M5P1_AUGER;
static PyObject *__pyx_n_s_M2_M5P2_AUGER;
static PyObject *__pyx_n_s_M2_M5P3_AUGER;
static PyObject *__pyx_n_s_M2_M5P4_AUGER;
static PyObject *__pyx_n_s_M2_M5P5_AUGER;
static PyObject *__pyx_n_s_M2_M5Q1_AUGER;
static PyObject *__pyx_n_s_M2_M5Q2_AUGER;
static PyObject *__pyx_n_s_M2_M5Q3_AUGER;
static PyObject *__pyx_n_s_M2_SHELL;
static PyObject *__pyx_n_s_M3M4_LINE;
static PyObject *__pyx_n_s_M3M5_LINE;
static PyObject *__pyx_n_s_M3N1_LINE;
static PyObject *__pyx_n_s_M3N2_LINE;
static PyObject *__pyx_n_s_M3N3_LINE;
static PyObject *__pyx_n_s_M3N4_LINE;
static PyObject *__pyx_n_s_M3N5_LINE;
static PyObject *__pyx_n_s_M3N6_LINE;
static PyObject *__pyx_n_s_M3N7_LINE;
static PyObject *__pyx_n_s_M3O1_LINE;
static PyObject *__pyx_n_s_M3O2_LINE;
static PyObject *__pyx_n_s_M3O3_LINE;
static PyObject *__pyx_n_s_M3O4_LINE;
static PyObject *__pyx_n_s_M3O5_LINE;
static PyObject *__pyx_n_s_M3O6_LINE;
static PyObject *__pyx_n_s_M3O7_LINE;
static PyObject *__pyx_n_s_M3P1_LINE;
static PyObject *__pyx_n_s_M3P2_LINE;
static PyObject *__pyx_n_s_M3P3_LINE;
static PyObject *__pyx_n_s_M3P4_LINE;
static PyObject *__pyx_n_s_M3P5_LINE;
static PyObject *__pyx_n_s_M3Q1_LINE;
static PyObject *__pyx_n_s_M3_M4M4_AUGER;
static PyObject *__pyx_n_s_M3_M4M5_AUGER;
static PyObject *__pyx_n_s_M3_M4N1_AUGER;
static PyObject *__pyx_n_s_M3_M4N2_AUGER;
static PyObject *__pyx_n_s_M3_M4N3_AUGER;
static PyObject *__pyx_n_s_M3_M4N4_AUGER;
static PyObject *__pyx_n_s_M3_M4N5_AUGER;
static PyObject *__pyx_n_s_M3_M4N6_AUGER;
static PyObject *__pyx_n_s_M3_M4N7_AUGER;
static PyObject *__pyx_n_s_M3_M4O1_AUGER;
static PyObject *__pyx_n_s_M3_M4O2_AUGER;
static PyObject *__pyx_n_s_M3_M4O3_AUGER;
static PyObject *__pyx_n_s_M3_M4O4_AUGER;
static PyObject *__pyx_n_s_M3_M4O5_AUGER;
static PyObject *__pyx_n_s_M3_M4O6_AUGER;
static PyObject *__pyx_n_s_M3_M4O7_AUGER;
static PyObject *__pyx_n_s_M3_M4P1_AUGER;
static PyObject *__pyx_n_s_M3_M4P2_AUGER;
static PyObject *__pyx_n_s_M3_M4P3_AUGER;
static PyObject *__pyx_n_s_M3_M4P4_AUGER;
static PyObject *__pyx_n_s_M3_M4P5_AUGER;
static PyObject *__pyx_n_s_M3_M4Q1_AUGER;
static PyObject *__pyx_n_s_M3_M4Q2_AUGER;
static PyObject *__pyx_n_s_M3_M4Q3_AUGER;
static PyObject *__pyx_n_s_M3_M5M4_AUGER;
static PyObject *__pyx_n_s_M3_M5M5_AUGER;
static PyObject *__pyx_n_s_M3_M5N1_AUGER;
static PyObject *__pyx_n_s_M3_M5N2_AUGER;
static PyObject *__pyx_n_s_M3_M5N3_AUGER;
static PyObject *__pyx_n_s_M3_M5N4_AUGER;
static PyObject *__pyx_n_s_M3_M5N5_AUGER;
static PyObject *__pyx_n_s_M3_M5N6_AUGER;
static PyObject *__pyx_n_s_M3_M5N7_AUGER;
static PyObject *__pyx_n_s_M3_M5O1_AUGER;
static PyObject *__pyx_n_s_M3_M5O2_AUGER;
static PyObject *__pyx_n_s_M3_M5O3_AUGER;
static PyObject *__pyx_n_s_M3_M5O4_AUGER;
static PyObject *__pyx_n_s_M3_M5O5_AUGER;
static PyObject *__pyx_n_s_M3_M5O6_AUGER;
static PyObject *__pyx_n_s_M3_M5O7_AUGER;
static PyObject *__pyx_n_s_M3_M5P1_AUGER;
static PyObject *__pyx_n_s_M3_M5P2_AUGER;
static PyObject *__pyx_n_s_M3_M5P3_AUGER;
static PyObject *__pyx_n_s_M3_M5P4_AUGER;
static PyObject *__pyx_n_s_M3_M5P5_AUGER;
static PyObject *__pyx_n_s_M3_M5Q1_AUGER;
static PyObject *__pyx_n_s_M3_M5Q2_AUGER;
static PyObject *__pyx_n_s_M3_M5Q3_AUGER;
static PyObject *__pyx_n_s_M3_SHELL;
static PyObject *__pyx_n_s_M4M5_LINE;
static PyObject *__pyx_n_s_M4N1_LINE;
static PyObject *__pyx_n_s_M4N2_LINE;
static PyObject *__pyx_n_s_M4N3_LINE;
static PyObject *__pyx_n_s_M4N4_LINE;
static PyObject *__pyx_n_s_M4N5_LINE;
static PyObject *__pyx_n_s_M4N6_LINE;
static PyObject *__pyx_n_s_M4N7_LINE;
static PyObject *__pyx_n_s_M4O1_LINE;
static PyObject *__pyx_n_s_M4O2_LINE;
static PyObject *__pyx_n_s_M4O3_LINE;
static PyObject *__pyx_n_s_M4O4_LINE;
static PyObject *__pyx_n_s_M4O5_LINE;
static PyObject *__pyx_n_s_M4O6_LINE;
static PyObject *__pyx_n_s_M4O7_LINE;
static PyObject *__pyx_n_s_M4P1_LINE;
static PyObject *__pyx_n_s_M4P2_LINE;
static PyObject *__pyx_n_s_M4P3_LINE;
static PyObject *__pyx_n_s_M4P4_LINE;
static PyObject *__pyx_n_s_M4P5_LINE;
static PyObject *__pyx_n_s_M4_M5M5_AUGER;
static PyObject *__pyx_n_s_M4_M5N1_AUGER;
static PyObject *__pyx_n_s_M4_M5N2_AUGER;
static PyObject *__pyx_n_s_M4_M5N3_AUGER;
static PyObject *__pyx_n_s_M4_M5N4_AUGER;
static PyObject *__pyx_n_s_M4_M5N5_AUGER;
static PyObject *__pyx_n_s_M4_M5N6_AUGER;
static PyObject *__pyx_n_s_M4_M5N7_AUGER;
static PyObject *__pyx_n_s_M4_M5O1_AUGER;
static PyObject *__pyx_n_s_M4_M5O2_AUGER;
static PyObject *__pyx_n_s_M4_M5O3_AUGER;
static PyObject *__pyx_n_s_M4_M5O4_AUGER;
static PyObject *__pyx_n_s_M4_M5O5_AUGER;
static PyObject *__pyx_n_s_M4_M5O6_AUGER;
static PyObject *__pyx_n_s_M4_M5O7_AUGER;
static PyObject *__pyx_n_s_M4_M5P1_AUGER;
static PyObject *__pyx_n_s_M4_M5P2_AUGER;
static PyObject *__pyx_n_s_M4_M5P3_AUGER;
static PyObject *__pyx_n_s_M4_M5P4_AUGER;
static PyObject *__pyx_n_s_M4_M5P5_AUGER;
static PyObject *__pyx_n_s_M4_M5Q1_AUGER;
static PyObject *__pyx_n_s_M4_M5Q2_AUGER;
static PyObject *__pyx_n_s_M4_M5Q3_AUGER;
static PyObject *__pyx_n_s_M4_SHELL;
static PyObject *__pyx_n_s_M5N1_LINE;
static PyObject *__pyx_n_s_M5N2_LINE;
static PyObject *__pyx_n_s_M5N3_LINE;
static PyObject *__pyx_n_s_M5N4_LINE;
static PyObject *__pyx_n_s_M5N5_LINE;
static PyObject *__pyx_n_s_M5N6_LINE;
static PyObject *__pyx_n_s_M5N7_LINE;
static PyObject *__pyx_n_s_M5O1_LINE;
static PyObject *__pyx_n_s_M5O2_LINE;
static PyObject *__pyx_n_s_M5O3_LINE;
static PyObject *__pyx_n_s_M5O4_LINE;
static PyObject *__pyx_n_s_M5O5_LINE;
static PyObject *__pyx_n_s_M5O6_LINE;
static PyObject *__pyx_n_s_M5O7_LINE;
static PyObject *__pyx_n_s_M5P1_LINE;
static PyObject *__pyx_n_s_M5P2_LINE;
static PyObject *__pyx_n_s_M5P3_LINE;
static PyObject *__pyx_n_s_M5P4_LINE;
static PyObject *__pyx_n_s_M5P5_LINE;
static PyObject *__pyx_n_s_M5_SHELL;
static PyObject *__pyx_n_s_MA1_LINE;
static PyObject *__pyx_n_s_MA2_LINE;
static PyObject *__pyx_n_s_MB_LINE;
static PyObject *__pyx_n_s_MEC2;
static PyObject *__pyx_n_s_MG_LINE;
static PyObject *__pyx_n_s_MomentTransf;
static PyObject *__pyx_n_s_MomentTransf_2;
static PyObject *__pyx_n_s_N1N2_LINE;
static PyObject *__pyx_n_s_N1N3_LINE;
static PyObject *__pyx_n_s_N1N4_LINE;
static PyObject *__pyx_n_s_N1N5_LINE;
static PyObject *__pyx_n_s_N1N6_LINE;
static PyObject *__pyx_n_s_N1N7_LINE;
static PyObject *__pyx_n_s_N1O1_LINE;
static PyObject *__pyx_n_s_N1O2_LINE;
static PyObject *__pyx_n_s_N1O3_LINE;
static PyObject *__pyx_n_s_N1O4_LINE;
static PyObject *__pyx_n_s_N1O5_LINE;
static PyObject *__pyx_n_s_N1O6_LINE;
static PyObject *__pyx_n_s_N1O7_LINE;
static PyObject *__pyx_n_s_N1P1_LINE;
static PyObject *__pyx_n_s_N1P2_LINE;
static PyObject *__pyx_n_s_N1P3_LINE;
static PyObject *__pyx_n_s_N1P4_LINE;
static PyObject *__pyx_n_s_N1P5_LINE;
static PyObject *__pyx_n_s_N1_SHELL;
static PyObject *__pyx_n_s_N2N3_LINE;
static PyObject *__pyx_n_s_N2N4_LINE;
static PyObject *__pyx_n_s_N2N5_LINE;
static PyObject *__pyx_n_s_N2N6_LINE;
static PyObject *__pyx_n_s_N2N7_LINE;
static PyObject *__pyx_n_s_N2O1_LINE;
static PyObject *__pyx_n_s_N2O2_LINE;
static PyObject *__pyx_n_s_N2O3_LINE;
static PyObject *__pyx_n_s_N2O4_LINE;
static PyObject *__pyx_n_s_N2O5_LINE;
static PyObject *__pyx_n_s_N2O6_LINE;
static PyObject *__pyx_n_s_N2O7_LINE;
static PyObject *__pyx_n_s_N2P1_LINE;
static PyObject *__pyx_n_s_N2P2_LINE;
static PyObject *__pyx_n_s_N2P3_LINE;
static PyObject *__pyx_n_s_N2P4_LINE;
static PyObject *__pyx_n_s_N2P5_LINE;
static PyObject *__pyx_n_s_N2_SHELL;
static PyObject *__pyx_n_s_N3N4_LINE;
static PyObject *__pyx_n_s_N3N5_LINE;
static PyObject *__pyx_n_s_N3N6_LINE;
static PyObject *__pyx_n_s_N3N7_LINE;
static PyObject *__pyx_n_s_N3O1_LINE;
static PyObject *__pyx_n_s_N3O2_LINE;
static PyObject *__pyx_n_s_N3O3_LINE;
static PyObject *__pyx_n_s_N3O4_LINE;
static PyObject *__pyx_n_s_N3O5_LINE;
static PyObject *__pyx_n_s_N3O6_LINE;
static PyObject *__pyx_n_s_N3O7_LINE;
static PyObject *__pyx_n_s_N3P1_LINE;
static PyObject *__pyx_n_s_N3P2_LINE;
static PyObject *__pyx_n_s_N3P3_LINE;
static PyObject *__pyx_n_s_N3P4_LINE;
static PyObject *__pyx_n_s_N3P5_LINE;
static PyObject *__pyx_n_s_N3_SHELL;
static PyObject *__pyx_n_s_N4N5_LINE;
static PyObject *__pyx_n_s_N4N6_LINE;
static PyObject *__pyx_n_s_N4N7_LINE;
static PyObject *__pyx_n_s_N4O1_LINE;
static PyObject *__pyx_n_s_N4O2_LINE;
static PyObject *__pyx_n_s_N4O3_LINE;
static PyObject *__pyx_n_s_N4O4_LINE;
static PyObject *__pyx_n_s_N4O5_LINE;
static PyObject *__pyx_n_s_N4O6_LINE;
static PyObject *__pyx_n_s_N4O7_LINE;
static PyObject *__pyx_n_s_N4P1_LINE;
static PyObject *__pyx_n_s_N4P2_LINE;
static PyObject *__pyx_n_s_N4P3_LINE;
static PyObject *__pyx_n_s_N4P4_LINE;
static PyObject *__pyx_n_s_N4P5_LINE;
static PyObject *__pyx_n_s_N4_SHELL;
static PyObject *__pyx_n_s_N5N6_LINE;
static PyObject *__pyx_n_s_N5N7_LINE;
static PyObject *__pyx_n_s_N5O1_LINE;
static PyObject *__pyx_n_s_N5O2_LINE;
static PyObject *__pyx_n_s_N5O3_LINE;
static PyObject *__pyx_n_s_N5O4_LINE;
static PyObject *__pyx_n_s_N5O5_LINE;
static PyObject *__pyx_n_s_N5O6_LINE;
static PyObject *__pyx_n_s_N5O7_LINE;
static PyObject *__pyx_n_s_N5P1_LINE;
static PyObject *__pyx_n_s_N5P2_LINE;
static PyObject *__pyx_n_s_N5P3_LINE;
static PyObject *__pyx_n_s_N5P4_LINE;
static PyObject *__pyx_n_s_N5P5_LINE;
static PyObject *__pyx_n_s_N5_SHELL;
static PyObject *__pyx_n_s_N6N7_LINE;
static PyObject *__pyx_n_s_N6O1_LINE;
static PyObject *__pyx_n_s_N6O2_LINE;
static PyObject *__pyx_n_s_N6O3_LINE;
static PyObject *__pyx_n_s_N6O4_LINE;
static PyObject *__pyx_n_s_N6O5_LINE;
static PyObject *__pyx_n_s_N6O6_LINE;
static PyObject *__pyx_n_s_N6O7_LINE;
static PyObject *__pyx_n_s_N6P1_LINE;
static PyObject *__pyx_n_s_N6P2_LINE;
static PyObject *__pyx_n_s_N6P3_LINE;
static PyObject *__pyx_n_s_N6P4_LINE;
static PyObject *__pyx_n_s_N6P5_LINE;
static PyObject *__pyx_n_s_N6_SHELL;
static PyObject *__pyx_n_s_N7O1_LINE;
static PyObject *__pyx_n_s_N7O2_LINE;
static PyObject *__pyx_n_s_N7O3_LINE;
static PyObject *__pyx_n_s_N7O4_LINE;
static PyObject *__pyx_n_s_N7O5_LINE;
static PyObject *__pyx_n_s_N7O6_LINE;
static PyObject *__pyx_n_s_N7O7_LINE;
static PyObject *__pyx_n_s_N7P1_LINE;
static PyObject *__pyx_n_s_N7P2_LINE;
static PyObject *__pyx_n_s_N7P3_LINE;
static PyObject *__pyx_n_s_N7P4_LINE;
static PyObject *__pyx_n_s_N7P5_LINE;
static PyObject *__pyx_n_s_N7_SHELL;
static PyObject *__pyx_kp_u_Non_native_byte_order_not_suppor;
static PyObject *__pyx_n_s_O1O2_LINE;
static PyObject *__pyx_n_s_O1O3_LINE;
static PyObject *__pyx_n_s_O1O4_LINE;
static PyObject *__pyx_n_s_O1O5_LINE;
static PyObject *__pyx_n_s_O1O6_LINE;
static PyObject *__pyx_n_s_O1O7_LINE;
static PyObject *__pyx_n_s_O1P1_LINE;
static PyObject *__pyx_n_s_O1P2_LINE;
static PyObject *__pyx_n_s_O1P3_LINE;
static PyObject *__pyx_n_s_O1P4_LINE;
static PyObject *__pyx_n_s_O1P5_LINE;
static PyObject *__pyx_n_s_O1_SHELL;
static PyObject *__pyx_n_s_O2O3_LINE;
static PyObject *__pyx_n_s_O2O4_LINE;
static PyObject *__pyx_n_s_O2O5_LINE;
static PyObject *__pyx_n_s_O2O6_LINE;
static PyObject *__pyx_n_s_O2O7_LINE;
static PyObject *__pyx_n_s_O2P1_LINE;
static PyObject *__pyx_n_s_O2P2_LINE;
static PyObject *__pyx_n_s_O2P3_LINE;
static PyObject *__pyx_n_s_O2P4_LINE;
static PyObject *__pyx_n_s_O2P5_LINE;
static PyObject *__pyx_n_s_O2_SHELL;
static PyObject *__pyx_n_s_O3O4_LINE;
static PyObject *__pyx_n_s_O3O5_LINE;
static PyObject *__pyx_n_s_O3O6_LINE;
static PyObject *__pyx_n_s_O3O7_LINE;
static PyObject *__pyx_n_s_O3P1_LINE;
static PyObject *__pyx_n_s_O3P2_LINE;
static PyObject *__pyx_n_s_O3P3_LINE;
static PyObject *__pyx_n_s_O3P4_LINE;
static PyObject *__pyx_n_s_O3P5_LINE;
static PyObject *__pyx_n_s_O3_SHELL;
static PyObject *__pyx_n_s_O4O5_LINE;
static PyObject *__pyx_n_s_O4O6_LINE;
static PyObject *__pyx_n_s_O4O7_LINE;
static PyObject *__pyx_n_s_O4P1_LINE;
static PyObject *__pyx_n_s_O4P2_LINE;
static PyObject *__pyx_n_s_O4P3_LINE;
static PyObject *__pyx_n_s_O4P4_LINE;
static PyObject *__pyx_n_s_O4P5_LINE;
static PyObject *__pyx_n_s_O4_SHELL;
static PyObject *__pyx_n_s_O5O6_LINE;
static PyObject *__pyx_n_s_O5O7_LINE;
static PyObject *__pyx_n_s_O5P1_LINE;
static PyObject *__pyx_n_s_O5P2_LINE;
static PyObject *__pyx_n_s_O5P3_LINE;
static PyObject *__pyx_n_s_O5P4_LINE;
static PyObject *__pyx_n_s_O5P5_LINE;
static PyObject *__pyx_n_s_O5_SHELL;
static PyObject *__pyx_n_s_O6O7_LINE;
static PyObject *__pyx_n_s_O6P4_LINE;
static PyObject *__pyx_n_s_O6P5_LINE;
static PyObject *__pyx_n_s_O6_SHELL;
static PyObject *__pyx_n_s_O7P4_LINE;
static PyObject *__pyx_n_s_O7P5_LINE;
static PyObject *__pyx_n_s_O7_SHELL;
static PyObject *__pyx_n_s_P1P2_LINE;
static PyObject *__pyx_n_s_P1P3_LINE;
static PyObject *__pyx_n_s_P1P4_LINE;
static PyObject *__pyx_n_s_P1P5_LINE;
static PyObject *__pyx_n_s_P1_SHELL;
static PyObject *__pyx_n_s_P2P3_LINE;
static PyObject *__pyx_n_s_P2P4_LINE;
static PyObject *__pyx_n_s_P2P5_LINE;
static PyObject *__pyx_n_s_P2_SHELL;
static PyObject *__pyx_n_s_P3P4_LINE;
static PyObject *__pyx_n_s_P3P5_LINE;
static PyObject *__pyx_n_s_P3_SHELL;
static PyObject *__pyx_n_s_P4_SHELL;
static PyObject *__pyx_n_s_P5_SHELL;
static PyObject *__pyx_n_s_Q1_SHELL;
static PyObject *__pyx_n_s_Q2_SHELL;
static PyObject *__pyx_n_s_Q3_SHELL;
static PyObject *__pyx_n_s_RE2;
static PyObject *__pyx_n_s_R_E;
static PyObject *__pyx_n_s_RadRate;
static PyObject *__pyx_n_s_RadRate_2;
static PyObject *__pyx_n_s_RuntimeError;
static PyObject *__pyx_n_s_SF_Compt;
static PyObject *__pyx_n_s_SF_Compt_2;
static PyObject *__pyx_n_s_SetErrorMessages;
static PyObject *__pyx_n_s_SetExitStatus;
static PyObject *__pyx_n_s_SetHardExit;
static PyObject *__pyx_kp_s_Users_schoon_github_xraylib_pyt;
static PyObject *__pyx_n_s_ValueError;
static PyObject *__pyx_n_s_XRAYLIB_MAJOR;
static PyObject *__pyx_n_s_XRAYLIB_MINOR;
static PyObject *__pyx_n_s_XRL_1F;
static PyObject *__pyx_n_s_XRL_1F_locals_fun;
static PyObject *__pyx_n_s_XRL_1I;
static PyObject *__pyx_n_s_XRL_1I_locals_fun;
static PyObject *__pyx_n_s_XRL_2FF;
static PyObject *__pyx_n_s_XRL_2FF_locals_fun;
static PyObject *__pyx_n_s_XRL_2IF;
static PyObject *__pyx_n_s_XRL_2IF_locals_fun;
static PyObject *__pyx_n_s_XRL_2II;
static PyObject *__pyx_n_s_XRL_2II_locals_fun;
static PyObject *__pyx_n_s_XRL_3FFF;
static PyObject *__pyx_n_s_XRL_3FFF_locals_fun;
static PyObject *__pyx_n_s_XRL_3IFF;
static PyObject *__pyx_n_s_XRL_3IFF_locals_fun;
static PyObject *__pyx_n_s_XRL_3IIF;
static PyObject *__pyx_n_s_XRL_3IIF_locals_fun;
static PyObject *__pyx_n_s_XRL_4IFFF;
static PyObject *__pyx_n_s_XRL_4IFFF_locals_fun;
static PyObject *__pyx_n_s_XRayInit;
static PyObject *__pyx_n_s_Z;
static PyObject *__pyx_n_s_arg1;
static PyObject *__pyx_n_s_arg2;
static PyObject *__pyx_n_s_arg3;
static PyObject *__pyx_n_s_arg4;
static PyObject *__pyx_n_s_empty;
static PyObject *__pyx_n_s_exit_status;
static PyObject *__pyx_n_s_fun;
static PyObject *__pyx_n_s_fun_wrap;
static PyObject *__pyx_n_s_hard_exit;
static PyObject *__pyx_n_s_i;
static PyObject *__pyx_n_s_import;
static PyObject *__pyx_n_s_j;
static PyObject *__pyx_n_s_k;
static PyObject *__pyx_n_s_l;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_kp_u_ndarray_is_not_C_contiguous;
static PyObject *__pyx_kp_u_ndarray_is_not_Fortran_contiguou;
static PyObject *__pyx_n_s_np;
static PyObject *__pyx_n_s_numpy;
static PyObject *__pyx_kp_s_numpy_core_multiarray_failed_to;
static PyObject *__pyx_kp_s_numpy_core_umath_failed_to_impor;
static PyObject *__pyx_n_s_range;
static PyObject *__pyx_n_s_rv;
static PyObject *__pyx_n_s_status;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_kp_u_unknown_dtype_code_in_numpy_pxd;
static PyObject *__pyx_n_s_xraylib_np;
static PyObject *__pyx_pf_10xraylib_np_AtomicWeight(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_Z); /* proto */
static PyObject *__pyx_pf_10xraylib_np_2XRayInit(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_10xraylib_np_4SetHardExit(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_hard_exit); /* proto */
static PyObject *__pyx_pf_10xraylib_np_6SetExitStatus(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_exit_status); /* proto */
static PyObject *__pyx_pf_10xraylib_np_8GetExitStatus(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_10xraylib_np_10SetErrorMessages(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_status); /* proto */
static PyObject *__pyx_pf_10xraylib_np_12GetErrorMessages(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_10xraylib_np_6XRL_1I_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1); /* proto */
static PyObject *__pyx_pf_10xraylib_np_14XRL_1I(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_6XRL_1F_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1); /* proto */
static PyObject *__pyx_pf_10xraylib_np_16XRL_1F(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_7XRL_2IF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_18XRL_2IF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_7XRL_2II_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_20XRL_2II(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_7XRL_2FF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_22XRL_2FF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_8XRL_3IFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_24XRL_3IFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_8XRL_3FFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_26XRL_3FFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_8XRL_3IIF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_28XRL_3IIF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_9XRL_4IFFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3, PyArrayObject *__pyx_v_arg4); /* proto */
static PyObject *__pyx_pf_10xraylib_np_30XRL_4IFFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /* proto */
static PyObject *__pyx_pf_10xraylib_np_32_ElementDensity(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1); /* proto */
static PyObject *__pyx_pf_10xraylib_np_34_CS_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1); /* proto */
static PyObject *__pyx_pf_10xraylib_np_36_DCS_Thoms(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1); /* proto */
static PyObject *__pyx_pf_10xraylib_np_38_CS_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_40_CS_Photo(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_42_CS_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_44_CS_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_46_CS_Energy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_48_CSb_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_50_CSb_Photo(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_52_CSb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_54_CSb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_56_FF_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_58_SF_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_60_Fi(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_62_Fii(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_64_CS_Photo_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_66_CSb_Photo_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_68_CS_Total_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_70_CSb_Total_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_72_LineEnergy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_74_FluorYield(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_76_CosKronTransProb(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_78_EdgeEnergy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_80_JumpFactor(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_82_RadRate(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_84_DCS_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_86_DCSP_Thoms(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_88_MomentTransf(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_90_ComptonEnergy(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_92_DCS_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_94_DCS_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_96_DCSb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_98_DCSb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_100_DCSP_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_102_CS_FluorLine(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_104_CSb_FluorLine(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_106_CS_Photo_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_108_CSb_Photo_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_110_DCSP_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4); /* proto */
static PyObject *__pyx_pf_10xraylib_np_112_DCSP_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4); /* proto */
static PyObject *__pyx_pf_10xraylib_np_114_DCSPb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4); /* proto */
static PyObject *__pyx_pf_10xraylib_np_116_DCSPb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4); /* proto */
static PyObject *__pyx_pf_10xraylib_np_118_ComptonProfile(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_120_ComptonProfile_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_122_ElectronConfig(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_124_AtomicLevelWidth(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_126_AugerRate(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_128_AugerYield(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2); /* proto */
static PyObject *__pyx_pf_10xraylib_np_130_CS_FluorLine_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_132_CSb_FluorLine_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_134_CS_FluorLine_Kissel_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_136_CSb_FluorLine_Kissel_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_138_CS_FluorLine_Kissel_no_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_140_CSb_FluorLine_Kissel_no_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_142_CS_FluorLine_Kissel_Nonradiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_144_CSb_FluorLine_Kissel_Nonradiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_146_CS_FluorLine_Kissel_Radiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static PyObject *__pyx_pf_10xraylib_np_148_CSb_FluorLine_Kissel_Radiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3); /* proto */
static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */
static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info); /* proto */
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct__XRL_1I(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_1_XRL_1F(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_2_XRL_2IF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_3_XRL_2II(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_4_XRL_2FF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tuple_;
static PyObject *__pyx_tuple__3;
static PyObject *__pyx_tuple__5;
static PyObject *__pyx_tuple__7;
static PyObject *__pyx_tuple__9;
static PyObject *__pyx_tuple__11;
static PyObject *__pyx_tuple__13;
static PyObject *__pyx_tuple__15;
static PyObject *__pyx_tuple__17;
static PyObject *__pyx_tuple__19;
static PyObject *__pyx_tuple__20;
static PyObject *__pyx_tuple__21;
static PyObject *__pyx_tuple__22;
static PyObject *__pyx_tuple__23;
static PyObject *__pyx_tuple__24;
static PyObject *__pyx_tuple__25;
static PyObject *__pyx_tuple__26;
static PyObject *__pyx_tuple__27;
static PyObject *__pyx_tuple__28;
static PyObject *__pyx_tuple__31;
static PyObject *__pyx_tuple__33;
static PyObject *__pyx_tuple__36;
static PyObject *__pyx_tuple__39;
static PyObject *__pyx_tuple__41;
static PyObject *__pyx_tuple__43;
static PyObject *__pyx_tuple__45;
static PyObject *__pyx_tuple__47;
static PyObject *__pyx_tuple__49;
static PyObject *__pyx_tuple__51;
static PyObject *__pyx_tuple__53;
static PyObject *__pyx_tuple__55;
static PyObject *__pyx_tuple__57;
static PyObject *__pyx_tuple__59;
static PyObject *__pyx_tuple__61;
static PyObject *__pyx_tuple__63;
static PyObject *__pyx_tuple__65;
static PyObject *__pyx_tuple__67;
static PyObject *__pyx_tuple__69;
static PyObject *__pyx_tuple__71;
static PyObject *__pyx_tuple__73;
static PyObject *__pyx_tuple__75;
static PyObject *__pyx_tuple__77;
static PyObject *__pyx_tuple__79;
static PyObject *__pyx_tuple__81;
static PyObject *__pyx_tuple__83;
static PyObject *__pyx_tuple__85;
static PyObject *__pyx_tuple__87;
static PyObject *__pyx_tuple__89;
static PyObject *__pyx_tuple__91;
static PyObject *__pyx_tuple__93;
static PyObject *__pyx_tuple__95;
static PyObject *__pyx_tuple__97;
static PyObject *__pyx_tuple__99;
static PyObject *__pyx_codeobj__2;
static PyObject *__pyx_codeobj__4;
static PyObject *__pyx_codeobj__6;
static PyObject *__pyx_codeobj__8;
static PyObject *__pyx_tuple__101;
static PyObject *__pyx_tuple__103;
static PyObject *__pyx_tuple__105;
static PyObject *__pyx_tuple__107;
static PyObject *__pyx_tuple__109;
static PyObject *__pyx_tuple__111;
static PyObject *__pyx_tuple__113;
static PyObject *__pyx_tuple__115;
static PyObject *__pyx_tuple__117;
static PyObject *__pyx_tuple__119;
static PyObject *__pyx_tuple__121;
static PyObject *__pyx_tuple__123;
static PyObject *__pyx_tuple__125;
static PyObject *__pyx_tuple__127;
static PyObject *__pyx_tuple__129;
static PyObject *__pyx_tuple__131;
static PyObject *__pyx_tuple__133;
static PyObject *__pyx_tuple__135;
static PyObject *__pyx_tuple__137;
static PyObject *__pyx_tuple__139;
static PyObject *__pyx_tuple__141;
static PyObject *__pyx_tuple__143;
static PyObject *__pyx_tuple__145;
static PyObject *__pyx_tuple__147;
static PyObject *__pyx_tuple__149;
static PyObject *__pyx_tuple__151;
static PyObject *__pyx_tuple__153;
static PyObject *__pyx_tuple__155;
static PyObject *__pyx_tuple__157;
static PyObject *__pyx_tuple__159;
static PyObject *__pyx_tuple__161;
static PyObject *__pyx_tuple__163;
static PyObject *__pyx_tuple__165;
static PyObject *__pyx_tuple__167;
static PyObject *__pyx_tuple__169;
static PyObject *__pyx_tuple__171;
static PyObject *__pyx_tuple__173;
static PyObject *__pyx_codeobj__10;
static PyObject *__pyx_codeobj__12;
static PyObject *__pyx_codeobj__14;
static PyObject *__pyx_codeobj__16;
static PyObject *__pyx_codeobj__18;
static PyObject *__pyx_codeobj__29;
static PyObject *__pyx_codeobj__30;
static PyObject *__pyx_codeobj__32;
static PyObject *__pyx_codeobj__34;
static PyObject *__pyx_codeobj__35;
static PyObject *__pyx_codeobj__37;
static PyObject *__pyx_codeobj__38;
static PyObject *__pyx_codeobj__40;
static PyObject *__pyx_codeobj__42;
static PyObject *__pyx_codeobj__44;
static PyObject *__pyx_codeobj__46;
static PyObject *__pyx_codeobj__48;
static PyObject *__pyx_codeobj__50;
static PyObject *__pyx_codeobj__52;
static PyObject *__pyx_codeobj__54;
static PyObject *__pyx_codeobj__56;
static PyObject *__pyx_codeobj__58;
static PyObject *__pyx_codeobj__60;
static PyObject *__pyx_codeobj__62;
static PyObject *__pyx_codeobj__64;
static PyObject *__pyx_codeobj__66;
static PyObject *__pyx_codeobj__68;
static PyObject *__pyx_codeobj__70;
static PyObject *__pyx_codeobj__72;
static PyObject *__pyx_codeobj__74;
static PyObject *__pyx_codeobj__76;
static PyObject *__pyx_codeobj__78;
static PyObject *__pyx_codeobj__80;
static PyObject *__pyx_codeobj__82;
static PyObject *__pyx_codeobj__84;
static PyObject *__pyx_codeobj__86;
static PyObject *__pyx_codeobj__88;
static PyObject *__pyx_codeobj__90;
static PyObject *__pyx_codeobj__92;
static PyObject *__pyx_codeobj__94;
static PyObject *__pyx_codeobj__96;
static PyObject *__pyx_codeobj__98;
static PyObject *__pyx_codeobj__100;
static PyObject *__pyx_codeobj__102;
static PyObject *__pyx_codeobj__104;
static PyObject *__pyx_codeobj__106;
static PyObject *__pyx_codeobj__108;
static PyObject *__pyx_codeobj__110;
static PyObject *__pyx_codeobj__112;
static PyObject *__pyx_codeobj__114;
static PyObject *__pyx_codeobj__116;
static PyObject *__pyx_codeobj__118;
static PyObject *__pyx_codeobj__120;
static PyObject *__pyx_codeobj__122;
static PyObject *__pyx_codeobj__124;
static PyObject *__pyx_codeobj__126;
static PyObject *__pyx_codeobj__128;
static PyObject *__pyx_codeobj__130;
static PyObject *__pyx_codeobj__132;
static PyObject *__pyx_codeobj__134;
static PyObject *__pyx_codeobj__136;
static PyObject *__pyx_codeobj__138;
static PyObject *__pyx_codeobj__140;
static PyObject *__pyx_codeobj__142;
static PyObject *__pyx_codeobj__144;
static PyObject *__pyx_codeobj__146;
static PyObject *__pyx_codeobj__148;
static PyObject *__pyx_codeobj__150;
static PyObject *__pyx_codeobj__152;
static PyObject *__pyx_codeobj__154;
static PyObject *__pyx_codeobj__156;
static PyObject *__pyx_codeobj__158;
static PyObject *__pyx_codeobj__160;
static PyObject *__pyx_codeobj__162;
static PyObject *__pyx_codeobj__164;
static PyObject *__pyx_codeobj__166;
static PyObject *__pyx_codeobj__168;
static PyObject *__pyx_codeobj__170;
static PyObject *__pyx_codeobj__172;
static PyObject *__pyx_codeobj__174;
/* "xraylib_np.pyx":1496
* Q3_SHELL = xrl.Q3_SHELL
*
* def AtomicWeight(np.ndarray[np.int_t, ndim=1] Z not None): # <<<<<<<<<<<<<<
* #cdef np.ndarray[double] Zcopy = np.reshape(Z, Z.size, order='C')
* cdef np.ndarray[double, ndim=1, mode='c'] AW = np.empty((Z.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_1AtomicWeight(PyObject *__pyx_self, PyObject *__pyx_v_Z); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_1AtomicWeight = {"AtomicWeight", (PyCFunction)__pyx_pw_10xraylib_np_1AtomicWeight, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_1AtomicWeight(PyObject *__pyx_self, PyObject *__pyx_v_Z) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("AtomicWeight (wrapper)", 0);
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_Z), __pyx_ptype_5numpy_ndarray, 0, "Z", 0))) __PYX_ERR(0, 1496, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_AtomicWeight(__pyx_self, ((PyArrayObject *)__pyx_v_Z));
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_AtomicWeight(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_Z) {
PyArrayObject *__pyx_v_AW = 0;
npy_intp __pyx_v_i;
__Pyx_LocalBuf_ND __pyx_pybuffernd_AW;
__Pyx_Buffer __pyx_pybuffer_AW;
__Pyx_LocalBuf_ND __pyx_pybuffernd_Z;
__Pyx_Buffer __pyx_pybuffer_Z;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
Py_ssize_t __pyx_t_9;
Py_ssize_t __pyx_t_10;
__Pyx_RefNannySetupContext("AtomicWeight", 0);
__pyx_pybuffer_AW.pybuffer.buf = NULL;
__pyx_pybuffer_AW.refcount = 0;
__pyx_pybuffernd_AW.data = NULL;
__pyx_pybuffernd_AW.rcbuffer = &__pyx_pybuffer_AW;
__pyx_pybuffer_Z.pybuffer.buf = NULL;
__pyx_pybuffer_Z.refcount = 0;
__pyx_pybuffernd_Z.data = NULL;
__pyx_pybuffernd_Z.rcbuffer = &__pyx_pybuffer_Z;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_Z.rcbuffer->pybuffer, (PyObject*)__pyx_v_Z, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1496, __pyx_L1_error)
}
__pyx_pybuffernd_Z.diminfo[0].strides = __pyx_pybuffernd_Z.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_Z.diminfo[0].shape = __pyx_pybuffernd_Z.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1498
* def AtomicWeight(np.ndarray[np.int_t, ndim=1] Z not None):
* #cdef np.ndarray[double] Zcopy = np.reshape(Z, Z.size, order='C')
* cdef np.ndarray[double, ndim=1, mode='c'] AW = np.empty((Z.shape[0])) # <<<<<<<<<<<<<<
* for i in range(Z.shape[0]):
* AW[i] = xrl.AtomicWeight(Z[i])
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_Z->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_2);
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1498, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1498, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_AW.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 1, 0, __pyx_stack) == -1)) {
__pyx_v_AW = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_AW.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1498, __pyx_L1_error)
} else {__pyx_pybuffernd_AW.diminfo[0].strides = __pyx_pybuffernd_AW.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_AW.diminfo[0].shape = __pyx_pybuffernd_AW.rcbuffer->pybuffer.shape[0];
}
}
__pyx_t_6 = 0;
__pyx_v_AW = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1499
* #cdef np.ndarray[double] Zcopy = np.reshape(Z, Z.size, order='C')
* cdef np.ndarray[double, ndim=1, mode='c'] AW = np.empty((Z.shape[0]))
* for i in range(Z.shape[0]): # <<<<<<<<<<<<<<
* AW[i] = xrl.AtomicWeight(Z[i])
* return AW
*/
__pyx_t_7 = (__pyx_v_Z->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1500
* cdef np.ndarray[double, ndim=1, mode='c'] AW = np.empty((Z.shape[0]))
* for i in range(Z.shape[0]):
* AW[i] = xrl.AtomicWeight(Z[i]) # <<<<<<<<<<<<<<
* return AW
*
*/
__pyx_t_9 = __pyx_v_i;
__pyx_t_10 = __pyx_v_i;
*__Pyx_BufPtrCContig1d(double *, __pyx_pybuffernd_AW.rcbuffer->pybuffer.buf, __pyx_t_10, __pyx_pybuffernd_AW.diminfo[0].strides) = AtomicWeight((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_Z.rcbuffer->pybuffer.buf, __pyx_t_9, __pyx_pybuffernd_Z.diminfo[0].strides)));
}
/* "xraylib_np.pyx":1501
* for i in range(Z.shape[0]):
* AW[i] = xrl.AtomicWeight(Z[i])
* return AW # <<<<<<<<<<<<<<
*
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_AW));
__pyx_r = ((PyObject *)__pyx_v_AW);
goto __pyx_L0;
/* "xraylib_np.pyx":1496
* Q3_SHELL = xrl.Q3_SHELL
*
* def AtomicWeight(np.ndarray[np.int_t, ndim=1] Z not None): # <<<<<<<<<<<<<<
* #cdef np.ndarray[double] Zcopy = np.reshape(Z, Z.size, order='C')
* cdef np.ndarray[double, ndim=1, mode='c'] AW = np.empty((Z.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_AW.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_Z.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.AtomicWeight", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_AW.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_Z.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_AW);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1504
*
*
* def XRayInit(): xrl.XRayInit() # <<<<<<<<<<<<<<
*
* def SetHardExit(int hard_exit):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_3XRayInit(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_3XRayInit = {"XRayInit", (PyCFunction)__pyx_pw_10xraylib_np_3XRayInit, METH_NOARGS, 0};
static PyObject *__pyx_pw_10xraylib_np_3XRayInit(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRayInit (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_2XRayInit(__pyx_self);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_2XRayInit(CYTHON_UNUSED PyObject *__pyx_self) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRayInit", 0);
XRayInit();
/* function exit code */
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1506
* def XRayInit(): xrl.XRayInit()
*
* def SetHardExit(int hard_exit): # <<<<<<<<<<<<<<
* xrl.SetHardExit(hard_exit)
*
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_5SetHardExit(PyObject *__pyx_self, PyObject *__pyx_arg_hard_exit); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_5SetHardExit = {"SetHardExit", (PyCFunction)__pyx_pw_10xraylib_np_5SetHardExit, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_5SetHardExit(PyObject *__pyx_self, PyObject *__pyx_arg_hard_exit) {
int __pyx_v_hard_exit;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetHardExit (wrapper)", 0);
assert(__pyx_arg_hard_exit); {
__pyx_v_hard_exit = __Pyx_PyInt_As_int(__pyx_arg_hard_exit); if (unlikely((__pyx_v_hard_exit == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1506, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.SetHardExit", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_4SetHardExit(__pyx_self, ((int)__pyx_v_hard_exit));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_4SetHardExit(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_hard_exit) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetHardExit", 0);
/* "xraylib_np.pyx":1507
*
* def SetHardExit(int hard_exit):
* xrl.SetHardExit(hard_exit) # <<<<<<<<<<<<<<
*
* def SetExitStatus(int exit_status):
*/
SetHardExit(__pyx_v_hard_exit);
/* "xraylib_np.pyx":1506
* def XRayInit(): xrl.XRayInit()
*
* def SetHardExit(int hard_exit): # <<<<<<<<<<<<<<
* xrl.SetHardExit(hard_exit)
*
*/
/* function exit code */
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1509
* xrl.SetHardExit(hard_exit)
*
* def SetExitStatus(int exit_status): # <<<<<<<<<<<<<<
* xrl.SetExitStatus(exit_status)
*
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_7SetExitStatus(PyObject *__pyx_self, PyObject *__pyx_arg_exit_status); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_7SetExitStatus = {"SetExitStatus", (PyCFunction)__pyx_pw_10xraylib_np_7SetExitStatus, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_7SetExitStatus(PyObject *__pyx_self, PyObject *__pyx_arg_exit_status) {
int __pyx_v_exit_status;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetExitStatus (wrapper)", 0);
assert(__pyx_arg_exit_status); {
__pyx_v_exit_status = __Pyx_PyInt_As_int(__pyx_arg_exit_status); if (unlikely((__pyx_v_exit_status == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1509, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.SetExitStatus", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_6SetExitStatus(__pyx_self, ((int)__pyx_v_exit_status));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_6SetExitStatus(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_exit_status) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetExitStatus", 0);
/* "xraylib_np.pyx":1510
*
* def SetExitStatus(int exit_status):
* xrl.SetExitStatus(exit_status) # <<<<<<<<<<<<<<
*
* def GetExitStatus():
*/
SetExitStatus(__pyx_v_exit_status);
/* "xraylib_np.pyx":1509
* xrl.SetHardExit(hard_exit)
*
* def SetExitStatus(int exit_status): # <<<<<<<<<<<<<<
* xrl.SetExitStatus(exit_status)
*
*/
/* function exit code */
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1512
* xrl.SetExitStatus(exit_status)
*
* def GetExitStatus(): # <<<<<<<<<<<<<<
* return xrl.GetExitStatus()
*
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_9GetExitStatus(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_9GetExitStatus = {"GetExitStatus", (PyCFunction)__pyx_pw_10xraylib_np_9GetExitStatus, METH_NOARGS, 0};
static PyObject *__pyx_pw_10xraylib_np_9GetExitStatus(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("GetExitStatus (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_8GetExitStatus(__pyx_self);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_8GetExitStatus(CYTHON_UNUSED PyObject *__pyx_self) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("GetExitStatus", 0);
/* "xraylib_np.pyx":1513
*
* def GetExitStatus():
* return xrl.GetExitStatus() # <<<<<<<<<<<<<<
*
* def SetErrorMessages(int status):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = __Pyx_PyInt_From_int(GetExitStatus()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1513, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1512
* xrl.SetExitStatus(exit_status)
*
* def GetExitStatus(): # <<<<<<<<<<<<<<
* return xrl.GetExitStatus()
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.GetExitStatus", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1515
* return xrl.GetExitStatus()
*
* def SetErrorMessages(int status): # <<<<<<<<<<<<<<
* xrl.SetErrorMessages(status)
*
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_11SetErrorMessages(PyObject *__pyx_self, PyObject *__pyx_arg_status); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_11SetErrorMessages = {"SetErrorMessages", (PyCFunction)__pyx_pw_10xraylib_np_11SetErrorMessages, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_11SetErrorMessages(PyObject *__pyx_self, PyObject *__pyx_arg_status) {
int __pyx_v_status;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetErrorMessages (wrapper)", 0);
assert(__pyx_arg_status); {
__pyx_v_status = __Pyx_PyInt_As_int(__pyx_arg_status); if (unlikely((__pyx_v_status == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1515, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.SetErrorMessages", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_10SetErrorMessages(__pyx_self, ((int)__pyx_v_status));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_10SetErrorMessages(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_status) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("SetErrorMessages", 0);
/* "xraylib_np.pyx":1516
*
* def SetErrorMessages(int status):
* xrl.SetErrorMessages(status) # <<<<<<<<<<<<<<
*
* def GetErrorMessages():
*/
SetErrorMessages(__pyx_v_status);
/* "xraylib_np.pyx":1515
* return xrl.GetExitStatus()
*
* def SetErrorMessages(int status): # <<<<<<<<<<<<<<
* xrl.SetErrorMessages(status)
*
*/
/* function exit code */
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1518
* xrl.SetErrorMessages(status)
*
* def GetErrorMessages(): # <<<<<<<<<<<<<<
* return xrl.GetErrorMessages()
*
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_13GetErrorMessages(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_13GetErrorMessages = {"GetErrorMessages", (PyCFunction)__pyx_pw_10xraylib_np_13GetErrorMessages, METH_NOARGS, 0};
static PyObject *__pyx_pw_10xraylib_np_13GetErrorMessages(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("GetErrorMessages (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_12GetErrorMessages(__pyx_self);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_12GetErrorMessages(CYTHON_UNUSED PyObject *__pyx_self) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("GetErrorMessages", 0);
/* "xraylib_np.pyx":1519
*
* def GetErrorMessages():
* return xrl.GetErrorMessages() # <<<<<<<<<<<<<<
*
*
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = __Pyx_PyInt_From_int(GetErrorMessages()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1519, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1518
* xrl.SetErrorMessages(status)
*
* def GetErrorMessages(): # <<<<<<<<<<<<<<
* return xrl.GetErrorMessages()
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.GetErrorMessages", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1522
*
*
* def XRL_1I(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_15XRL_1I(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_15XRL_1I = {"XRL_1I", (PyCFunction)__pyx_pw_10xraylib_np_15XRL_1I, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_15XRL_1I(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_1I (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_14XRL_1I(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1523
*
* def XRL_1I(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_6XRL_1I_1fun(PyObject *__pyx_self, PyObject *__pyx_v_arg1); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_6XRL_1I_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_6XRL_1I_1fun, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_6XRL_1I_1fun(PyObject *__pyx_self, PyObject *__pyx_v_arg1) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1523, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_6XRL_1I_fun(__pyx_self, ((PyArrayObject *)__pyx_v_arg1));
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_6XRL_1I_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
Py_ssize_t __pyx_t_9;
double __pyx_t_10;
Py_ssize_t __pyx_t_11;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1523, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1524
* def XRL_1I(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i])
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_2);
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1524, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 1, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1524, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0];
}
}
__pyx_t_6 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1525
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* rv[i] = fun_wrap(arg1[i])
* return rv
*/
__pyx_t_7 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1526
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1526, __pyx_L1_error) }
__pyx_t_9 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_9, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
}
}
if (!__pyx_t_2) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_3};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_3};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
} else
#endif
{
__pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2); __pyx_t_2 = NULL;
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_t_3);
__pyx_t_3 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_10 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_10 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1526, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_11 = __pyx_v_i;
*__Pyx_BufPtrCContig1d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_11, __pyx_pybuffernd_rv.diminfo[0].strides) = __pyx_t_10;
}
/* "xraylib_np.pyx":1527
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1523
*
* def XRL_1I(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_1I.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1522
*
*
* def XRL_1I(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
static PyObject *__pyx_pf_10xraylib_np_14XRL_1I(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_1I", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)__pyx_tp_new_10xraylib_np___pyx_scope_struct__XRL_1I(__pyx_ptype_10xraylib_np___pyx_scope_struct__XRL_1I, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1522, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1523
*
* def XRL_1I(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_6XRL_1I_1fun, 0, __pyx_n_s_XRL_1I_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1523, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1528
* rv[i] = fun_wrap(arg1[i])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_1F(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1522
*
*
* def XRL_1I(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_1I", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1530
* return fun
*
* def XRL_1F(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_17XRL_1F(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_17XRL_1F = {"XRL_1F", (PyCFunction)__pyx_pw_10xraylib_np_17XRL_1F, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_17XRL_1F(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_1F (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_16XRL_1F(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1531
*
* def XRL_1F(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_6XRL_1F_1fun(PyObject *__pyx_self, PyObject *__pyx_v_arg1); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_6XRL_1F_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_6XRL_1F_1fun, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_6XRL_1F_1fun(PyObject *__pyx_self, PyObject *__pyx_v_arg1) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1531, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_6XRL_1F_fun(__pyx_self, ((PyArrayObject *)__pyx_v_arg1));
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_6XRL_1F_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
Py_ssize_t __pyx_t_9;
double __pyx_t_10;
Py_ssize_t __pyx_t_11;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1531, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1532
* def XRL_1F(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i])
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_2);
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1532, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1532, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 1, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1532, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0];
}
}
__pyx_t_6 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1533
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* rv[i] = fun_wrap(arg1[i])
* return rv
*/
__pyx_t_7 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1534
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1534, __pyx_L1_error) }
__pyx_t_9 = __pyx_v_i;
__pyx_t_3 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_9, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
}
}
if (!__pyx_t_2) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_3};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_3};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
} else
#endif
{
__pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2); __pyx_t_2 = NULL;
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_t_3);
__pyx_t_3 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_10 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_10 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1534, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_11 = __pyx_v_i;
*__Pyx_BufPtrCContig1d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_11, __pyx_pybuffernd_rv.diminfo[0].strides) = __pyx_t_10;
}
/* "xraylib_np.pyx":1535
* for i in range(arg1.shape[0]):
* rv[i] = fun_wrap(arg1[i])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1531
*
* def XRL_1F(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_1F.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1530
* return fun
*
* def XRL_1F(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
static PyObject *__pyx_pf_10xraylib_np_16XRL_1F(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_1F", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_1_XRL_1F(__pyx_ptype_10xraylib_np___pyx_scope_struct_1_XRL_1F, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1530, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1531
*
* def XRL_1F(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None): # <<<<<<<<<<<<<<
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
* for i in range(arg1.shape[0]):
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_6XRL_1F_1fun, 0, __pyx_n_s_XRL_1F_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1531, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1536
* rv[i] = fun_wrap(arg1[i])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_2IF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1530
* return fun
*
* def XRL_1F(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None):
* cdef np.ndarray[double, ndim=1, mode='c'] rv = np.empty((arg1.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_1F", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1538
* return fun
*
* def XRL_2IF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_19XRL_2IF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_19XRL_2IF = {"XRL_2IF", (PyCFunction)__pyx_pw_10xraylib_np_19XRL_2IF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_19XRL_2IF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_2IF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_18XRL_2IF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1539
*
* def XRL_2IF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_7XRL_2IF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_7XRL_2IF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_7XRL_2IF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_7XRL_2IF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, 1); __PYX_ERR(0, 1539, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1539, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1539, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_2IF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1539, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1540, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_7XRL_2IF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_7XRL_2IF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
Py_ssize_t __pyx_t_11;
Py_ssize_t __pyx_t_12;
int __pyx_t_13;
PyObject *__pyx_t_14 = NULL;
double __pyx_t_15;
Py_ssize_t __pyx_t_16;
Py_ssize_t __pyx_t_17;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1539, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1539, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1541
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
{
__pyx_t_2 = PyTuple_New(1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_2, 0+1, __pyx_t_5);
__pyx_t_5 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1541, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 2, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1541, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1];
}
}
__pyx_t_6 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1542
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
*/
__pyx_t_7 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1543
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
*/
__pyx_t_9 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
__pyx_v_j = __pyx_t_10;
/* "xraylib_np.pyx":1544
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1544, __pyx_L1_error) }
__pyx_t_11 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_11, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_12 = __pyx_v_j;
__pyx_t_2 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_12, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_4 = NULL;
__pyx_t_13 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_13 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_14 = PyTuple_New(2+__pyx_t_13); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
if (__pyx_t_4) {
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4); __pyx_t_4 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_14, 0+__pyx_t_13, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_13, __pyx_t_2);
__pyx_t_3 = 0;
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_15 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_15 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1544, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_16 = __pyx_v_i;
__pyx_t_17 = __pyx_v_j;
*__Pyx_BufPtrCContig2d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_rv.diminfo[1].strides) = __pyx_t_15;
}
}
/* "xraylib_np.pyx":1545
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1539
*
* def XRL_2IF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_14);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_2IF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1538
* return fun
*
* def XRL_2IF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
static PyObject *__pyx_pf_10xraylib_np_18XRL_2IF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_2IF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_2_XRL_2IF(__pyx_ptype_10xraylib_np___pyx_scope_struct_2_XRL_2IF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1538, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1539
*
* def XRL_2IF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_7XRL_2IF_1fun, 0, __pyx_n_s_XRL_2IF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__6)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1539, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1546
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_2II(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1538
* return fun
*
* def XRL_2IF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_2IF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1548
* return fun
*
* def XRL_2II(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_21XRL_2II(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_21XRL_2II = {"XRL_2II", (PyCFunction)__pyx_pw_10xraylib_np_21XRL_2II, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_21XRL_2II(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_2II (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_20XRL_2II(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1549
*
* def XRL_2II(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_7XRL_2II_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_7XRL_2II_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_7XRL_2II_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_7XRL_2II_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, 1); __PYX_ERR(0, 1549, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1549, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1549, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_2II.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1549, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1550, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_7XRL_2II_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_7XRL_2II_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
Py_ssize_t __pyx_t_11;
Py_ssize_t __pyx_t_12;
int __pyx_t_13;
PyObject *__pyx_t_14 = NULL;
double __pyx_t_15;
Py_ssize_t __pyx_t_16;
Py_ssize_t __pyx_t_17;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1549, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1549, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1551
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
{
__pyx_t_2 = PyTuple_New(1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_2, 0+1, __pyx_t_5);
__pyx_t_5 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1551, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1551, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 2, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1551, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1];
}
}
__pyx_t_6 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1552
* np.ndarray[np.int_t, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
*/
__pyx_t_7 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1553
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
*/
__pyx_t_9 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
__pyx_v_j = __pyx_t_10;
/* "xraylib_np.pyx":1554
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1554, __pyx_L1_error) }
__pyx_t_11 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_11, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_12 = __pyx_v_j;
__pyx_t_2 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_12, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_4 = NULL;
__pyx_t_13 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_13 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_14 = PyTuple_New(2+__pyx_t_13); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
if (__pyx_t_4) {
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4); __pyx_t_4 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_14, 0+__pyx_t_13, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_13, __pyx_t_2);
__pyx_t_3 = 0;
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_15 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_15 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1554, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_16 = __pyx_v_i;
__pyx_t_17 = __pyx_v_j;
*__Pyx_BufPtrCContig2d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_rv.diminfo[1].strides) = __pyx_t_15;
}
}
/* "xraylib_np.pyx":1555
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1549
*
* def XRL_2II(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_14);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_2II.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1548
* return fun
*
* def XRL_2II(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None):
*/
static PyObject *__pyx_pf_10xraylib_np_20XRL_2II(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_2II", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_3_XRL_2II(__pyx_ptype_10xraylib_np___pyx_scope_struct_3_XRL_2II, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1548, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1549
*
* def XRL_2II(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_7XRL_2II_1fun, 0, __pyx_n_s_XRL_2II_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__8)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1549, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1556
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_2FF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1548
* return fun
*
* def XRL_2II(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_2II", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1558
* return fun
*
* def XRL_2FF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_23XRL_2FF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_23XRL_2FF = {"XRL_2FF", (PyCFunction)__pyx_pw_10xraylib_np_23XRL_2FF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_23XRL_2FF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_2FF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_22XRL_2FF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1559
*
* def XRL_2FF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_7XRL_2FF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_7XRL_2FF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_7XRL_2FF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_7XRL_2FF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, 1); __PYX_ERR(0, 1559, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1559, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1559, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_2FF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1559, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1560, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_7XRL_2FF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_7XRL_2FF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyArrayObject *__pyx_t_6 = NULL;
npy_intp __pyx_t_7;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
Py_ssize_t __pyx_t_11;
Py_ssize_t __pyx_t_12;
int __pyx_t_13;
PyObject *__pyx_t_14 = NULL;
double __pyx_t_15;
Py_ssize_t __pyx_t_16;
Py_ssize_t __pyx_t_17;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1559, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1559, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1561
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_4);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_4 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_4) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_4, __pyx_t_5};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
} else
#endif
{
__pyx_t_2 = PyTuple_New(1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4); __pyx_t_4 = NULL;
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_2, 0+1, __pyx_t_5);
__pyx_t_5 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1561, __pyx_L1_error)
__pyx_t_6 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_6, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 2, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1561, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1];
}
}
__pyx_t_6 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1562
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
*/
__pyx_t_7 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_7; __pyx_t_8+=1) {
__pyx_v_i = __pyx_t_8;
/* "xraylib_np.pyx":1563
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
*/
__pyx_t_9 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
__pyx_v_j = __pyx_t_10;
/* "xraylib_np.pyx":1564
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1564, __pyx_L1_error) }
__pyx_t_11 = __pyx_v_i;
__pyx_t_3 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_11, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_12 = __pyx_v_j;
__pyx_t_2 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_12, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_4 = NULL;
__pyx_t_13 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_4)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_13 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_t_3, __pyx_t_2};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_13, 2+__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else
#endif
{
__pyx_t_14 = PyTuple_New(2+__pyx_t_13); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
if (__pyx_t_4) {
__Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4); __pyx_t_4 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_14, 0+__pyx_t_13, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_13, __pyx_t_2);
__pyx_t_3 = 0;
__pyx_t_2 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_15 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_15 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1564, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_16 = __pyx_v_i;
__pyx_t_17 = __pyx_v_j;
*__Pyx_BufPtrCContig2d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_rv.diminfo[1].strides) = __pyx_t_15;
}
}
/* "xraylib_np.pyx":1565
* for j in range(arg2.shape[0]):
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1559
*
* def XRL_2FF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_14);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_2FF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1558
* return fun
*
* def XRL_2FF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
static PyObject *__pyx_pf_10xraylib_np_22XRL_2FF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_2FF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_4_XRL_2FF(__pyx_ptype_10xraylib_np___pyx_scope_struct_4_XRL_2FF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1558, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1559
*
* def XRL_2FF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None):
* cdef np.ndarray[double, ndim=2, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0]))
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_7XRL_2FF_1fun, 0, __pyx_n_s_XRL_2FF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__10)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1559, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1566
* rv[i,j] = fun_wrap(arg1[i], arg2[j])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_3IFF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1558
* return fun
*
* def XRL_2FF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_2FF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1568
* return fun
*
* def XRL_3IFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_25XRL_3IFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_25XRL_3IFF = {"XRL_3IFF", (PyCFunction)__pyx_pw_10xraylib_np_25XRL_3IFF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_25XRL_3IFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_3IFF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_24XRL_3IFF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1569
*
* def XRL_3IFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_8XRL_3IFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_8XRL_3IFF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_8XRL_3IFF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_8XRL_3IFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyArrayObject *__pyx_v_arg3 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 1); __PYX_ERR(0, 1569, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 2); __PYX_ERR(0, 1569, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1569, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
__pyx_v_arg3 = ((PyArrayObject *)values[2]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1569, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_3IFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1569, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1570, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg3), __pyx_ptype_5numpy_ndarray, 0, "arg3", 0))) __PYX_ERR(0, 1571, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_8XRL_3IFF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_8XRL_3IFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
npy_intp __pyx_v_k;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg3;
__Pyx_Buffer __pyx_pybuffer_arg3;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyArrayObject *__pyx_t_7 = NULL;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
npy_intp __pyx_t_11;
npy_intp __pyx_t_12;
npy_intp __pyx_t_13;
Py_ssize_t __pyx_t_14;
Py_ssize_t __pyx_t_15;
Py_ssize_t __pyx_t_16;
int __pyx_t_17;
PyObject *__pyx_t_18 = NULL;
double __pyx_t_19;
Py_ssize_t __pyx_t_20;
Py_ssize_t __pyx_t_21;
Py_ssize_t __pyx_t_22;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
__pyx_pybuffer_arg3.pybuffer.buf = NULL;
__pyx_pybuffer_arg3.refcount = 0;
__pyx_pybuffernd_arg3.data = NULL;
__pyx_pybuffernd_arg3.rcbuffer = &__pyx_pybuffer_arg3;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1569, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1569, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg3, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1569, __pyx_L1_error)
}
__pyx_pybuffernd_arg3.diminfo[0].strides = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg3.diminfo[0].shape = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1572
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg3->dimensions[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_5);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_5 = 0;
__pyx_t_5 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_5)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_5) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5); __pyx_t_5 = NULL;
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_t_6);
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1572, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1572, __pyx_L1_error)
__pyx_t_7 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_7, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 3, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1572, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1]; __pyx_pybuffernd_rv.diminfo[2].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[2]; __pyx_pybuffernd_rv.diminfo[2].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[2];
}
}
__pyx_t_7 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1573
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
*/
__pyx_t_8 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
__pyx_v_i = __pyx_t_9;
/* "xraylib_np.pyx":1574
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
*/
__pyx_t_10 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
__pyx_v_j = __pyx_t_11;
/* "xraylib_np.pyx":1575
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
*/
__pyx_t_12 = (__pyx_v_arg3->dimensions[0]);
for (__pyx_t_13 = 0; __pyx_t_13 < __pyx_t_12; __pyx_t_13+=1) {
__pyx_v_k = __pyx_t_13;
/* "xraylib_np.pyx":1576
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1576, __pyx_L1_error) }
__pyx_t_14 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_14, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_15 = __pyx_v_j;
__pyx_t_4 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_15, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_16 = __pyx_v_k;
__pyx_t_6 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg3.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_arg3.diminfo[0].strides))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
__pyx_t_17 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_17 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_18 = PyTuple_New(3+__pyx_t_17); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_18);
if (__pyx_t_2) {
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_18, 0, __pyx_t_2); __pyx_t_2 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_18, 0+__pyx_t_17, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_18, 1+__pyx_t_17, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_18, 2+__pyx_t_17, __pyx_t_6);
__pyx_t_3 = 0;
__pyx_t_4 = 0;
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_18, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_19 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_19 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1576, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_20 = __pyx_v_i;
__pyx_t_21 = __pyx_v_j;
__pyx_t_22 = __pyx_v_k;
*__Pyx_BufPtrCContig3d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_20, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_21, __pyx_pybuffernd_rv.diminfo[1].strides, __pyx_t_22, __pyx_pybuffernd_rv.diminfo[2].strides) = __pyx_t_19;
}
}
}
/* "xraylib_np.pyx":1577
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1569
*
* def XRL_3IFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_18);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_3IFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1568
* return fun
*
* def XRL_3IFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
static PyObject *__pyx_pf_10xraylib_np_24XRL_3IFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_3IFF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(__pyx_ptype_10xraylib_np___pyx_scope_struct_5_XRL_3IFF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1568, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1569
*
* def XRL_3IFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_8XRL_3IFF_1fun, 0, __pyx_n_s_XRL_3IFF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__12)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1578
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_3FFF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1568
* return fun
*
* def XRL_3IFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_3IFF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1580
* return fun
*
* def XRL_3FFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_27XRL_3FFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_27XRL_3FFF = {"XRL_3FFF", (PyCFunction)__pyx_pw_10xraylib_np_27XRL_3FFF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_27XRL_3FFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_3FFF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_26XRL_3FFF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1581
*
* def XRL_3FFF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_8XRL_3FFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_8XRL_3FFF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_8XRL_3FFF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_8XRL_3FFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyArrayObject *__pyx_v_arg3 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 1); __PYX_ERR(0, 1581, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 2); __PYX_ERR(0, 1581, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1581, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
__pyx_v_arg3 = ((PyArrayObject *)values[2]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1581, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_3FFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1581, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1582, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg3), __pyx_ptype_5numpy_ndarray, 0, "arg3", 0))) __PYX_ERR(0, 1583, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_8XRL_3FFF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_8XRL_3FFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
npy_intp __pyx_v_k;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg3;
__Pyx_Buffer __pyx_pybuffer_arg3;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyArrayObject *__pyx_t_7 = NULL;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
npy_intp __pyx_t_11;
npy_intp __pyx_t_12;
npy_intp __pyx_t_13;
Py_ssize_t __pyx_t_14;
Py_ssize_t __pyx_t_15;
Py_ssize_t __pyx_t_16;
int __pyx_t_17;
PyObject *__pyx_t_18 = NULL;
double __pyx_t_19;
Py_ssize_t __pyx_t_20;
Py_ssize_t __pyx_t_21;
Py_ssize_t __pyx_t_22;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
__pyx_pybuffer_arg3.pybuffer.buf = NULL;
__pyx_pybuffer_arg3.refcount = 0;
__pyx_pybuffernd_arg3.data = NULL;
__pyx_pybuffernd_arg3.rcbuffer = &__pyx_pybuffer_arg3;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1581, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1581, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg3, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1581, __pyx_L1_error)
}
__pyx_pybuffernd_arg3.diminfo[0].strides = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg3.diminfo[0].shape = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1584
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg3->dimensions[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_5);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_5 = 0;
__pyx_t_5 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_5)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_5) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5); __pyx_t_5 = NULL;
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_t_6);
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1584, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1584, __pyx_L1_error)
__pyx_t_7 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_7, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 3, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1584, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1]; __pyx_pybuffernd_rv.diminfo[2].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[2]; __pyx_pybuffernd_rv.diminfo[2].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[2];
}
}
__pyx_t_7 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1585
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
*/
__pyx_t_8 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
__pyx_v_i = __pyx_t_9;
/* "xraylib_np.pyx":1586
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
*/
__pyx_t_10 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
__pyx_v_j = __pyx_t_11;
/* "xraylib_np.pyx":1587
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
*/
__pyx_t_12 = (__pyx_v_arg3->dimensions[0]);
for (__pyx_t_13 = 0; __pyx_t_13 < __pyx_t_12; __pyx_t_13+=1) {
__pyx_v_k = __pyx_t_13;
/* "xraylib_np.pyx":1588
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1588, __pyx_L1_error) }
__pyx_t_14 = __pyx_v_i;
__pyx_t_3 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_14, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_15 = __pyx_v_j;
__pyx_t_4 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_15, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_16 = __pyx_v_k;
__pyx_t_6 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg3.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_arg3.diminfo[0].strides))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
__pyx_t_17 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_17 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_18 = PyTuple_New(3+__pyx_t_17); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_18);
if (__pyx_t_2) {
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_18, 0, __pyx_t_2); __pyx_t_2 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_18, 0+__pyx_t_17, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_18, 1+__pyx_t_17, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_18, 2+__pyx_t_17, __pyx_t_6);
__pyx_t_3 = 0;
__pyx_t_4 = 0;
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_18, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_19 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_19 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1588, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_20 = __pyx_v_i;
__pyx_t_21 = __pyx_v_j;
__pyx_t_22 = __pyx_v_k;
*__Pyx_BufPtrCContig3d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_20, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_21, __pyx_pybuffernd_rv.diminfo[1].strides, __pyx_t_22, __pyx_pybuffernd_rv.diminfo[2].strides) = __pyx_t_19;
}
}
}
/* "xraylib_np.pyx":1589
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1581
*
* def XRL_3FFF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_18);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_3FFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1580
* return fun
*
* def XRL_3FFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
static PyObject *__pyx_pf_10xraylib_np_26XRL_3FFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_3FFF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(__pyx_ptype_10xraylib_np___pyx_scope_struct_6_XRL_3FFF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1580, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1581
*
* def XRL_3FFF(fun_wrap):
* def fun(np.ndarray[double, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_8XRL_3FFF_1fun, 0, __pyx_n_s_XRL_3FFF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__14)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1590
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_3IIF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1580
* return fun
*
* def XRL_3FFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[double, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_3FFF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1592
* return fun
*
* def XRL_3IIF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None,
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_29XRL_3IIF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_29XRL_3IIF = {"XRL_3IIF", (PyCFunction)__pyx_pw_10xraylib_np_29XRL_3IIF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_29XRL_3IIF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_3IIF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_28XRL_3IIF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1593
*
* def XRL_3IIF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_8XRL_3IIF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_8XRL_3IIF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_8XRL_3IIF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_8XRL_3IIF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyArrayObject *__pyx_v_arg3 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 1); __PYX_ERR(0, 1593, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, 2); __PYX_ERR(0, 1593, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1593, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
__pyx_v_arg3 = ((PyArrayObject *)values[2]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1593, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_3IIF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1593, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1594, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg3), __pyx_ptype_5numpy_ndarray, 0, "arg3", 0))) __PYX_ERR(0, 1595, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_8XRL_3IIF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_8XRL_3IIF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
npy_intp __pyx_v_k;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg3;
__Pyx_Buffer __pyx_pybuffer_arg3;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyArrayObject *__pyx_t_7 = NULL;
npy_intp __pyx_t_8;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
npy_intp __pyx_t_11;
npy_intp __pyx_t_12;
npy_intp __pyx_t_13;
Py_ssize_t __pyx_t_14;
Py_ssize_t __pyx_t_15;
Py_ssize_t __pyx_t_16;
int __pyx_t_17;
PyObject *__pyx_t_18 = NULL;
double __pyx_t_19;
Py_ssize_t __pyx_t_20;
Py_ssize_t __pyx_t_21;
Py_ssize_t __pyx_t_22;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
__pyx_pybuffer_arg3.pybuffer.buf = NULL;
__pyx_pybuffer_arg3.refcount = 0;
__pyx_pybuffernd_arg3.data = NULL;
__pyx_pybuffernd_arg3.rcbuffer = &__pyx_pybuffer_arg3;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1593, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1593, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg3, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1593, __pyx_L1_error)
}
__pyx_pybuffernd_arg3.diminfo[0].strides = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg3.diminfo[0].shape = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1596
* np.ndarray[np.int_t, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg3->dimensions[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_5);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_5 = 0;
__pyx_t_5 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_5)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_5) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5); __pyx_t_5 = NULL;
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_t_6);
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1596, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1596, __pyx_L1_error)
__pyx_t_7 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_7, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 3, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1596, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1]; __pyx_pybuffernd_rv.diminfo[2].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[2]; __pyx_pybuffernd_rv.diminfo[2].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[2];
}
}
__pyx_t_7 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1597
* np.ndarray[double, ndim=1] arg3 not None):
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
*/
__pyx_t_8 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
__pyx_v_i = __pyx_t_9;
/* "xraylib_np.pyx":1598
* cdef np.ndarray[double, ndim=3, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
*/
__pyx_t_10 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
__pyx_v_j = __pyx_t_11;
/* "xraylib_np.pyx":1599
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
*/
__pyx_t_12 = (__pyx_v_arg3->dimensions[0]);
for (__pyx_t_13 = 0; __pyx_t_13 < __pyx_t_12; __pyx_t_13+=1) {
__pyx_v_k = __pyx_t_13;
/* "xraylib_np.pyx":1600
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1600, __pyx_L1_error) }
__pyx_t_14 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_14, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_15 = __pyx_v_j;
__pyx_t_4 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_15, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_16 = __pyx_v_k;
__pyx_t_6 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg3.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_arg3.diminfo[0].strides))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_5 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
__pyx_t_17 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
__pyx_t_17 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
PyObject *__pyx_temp[4] = {__pyx_t_2, __pyx_t_3, __pyx_t_4, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_17, 3+__pyx_t_17); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_18 = PyTuple_New(3+__pyx_t_17); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_18);
if (__pyx_t_2) {
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_18, 0, __pyx_t_2); __pyx_t_2 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_18, 0+__pyx_t_17, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_18, 1+__pyx_t_17, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_18, 2+__pyx_t_17, __pyx_t_6);
__pyx_t_3 = 0;
__pyx_t_4 = 0;
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_18, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
}
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_19 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_19 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1600, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_20 = __pyx_v_i;
__pyx_t_21 = __pyx_v_j;
__pyx_t_22 = __pyx_v_k;
*__Pyx_BufPtrCContig3d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_20, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_21, __pyx_pybuffernd_rv.diminfo[1].strides, __pyx_t_22, __pyx_pybuffernd_rv.diminfo[2].strides) = __pyx_t_19;
}
}
}
/* "xraylib_np.pyx":1601
* for k in range(arg3.shape[0]):
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1593
*
* def XRL_3IIF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_18);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_3IIF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1592
* return fun
*
* def XRL_3IIF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None,
*/
static PyObject *__pyx_pf_10xraylib_np_28XRL_3IIF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_3IIF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(__pyx_ptype_10xraylib_np___pyx_scope_struct_7_XRL_3IIF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1592, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1593
*
* def XRL_3IIF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[np.int_t, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None):
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_8XRL_3IIF_1fun, 0, __pyx_n_s_XRL_3IIF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__16)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1593, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1602
* rv[i,j,k] = fun_wrap(arg1[i], arg2[j], arg3[k])
* return rv
* return fun # <<<<<<<<<<<<<<
*
* def XRL_4IFFF(fun_wrap):
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1592
* return fun
*
* def XRL_3IIF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[np.int_t, ndim=1] arg2 not None,
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_3IIF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1604
* return fun
*
* def XRL_4IFFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_31XRL_4IFFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_31XRL_4IFFF = {"XRL_4IFFF", (PyCFunction)__pyx_pw_10xraylib_np_31XRL_4IFFF, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_31XRL_4IFFF(PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("XRL_4IFFF (wrapper)", 0);
__pyx_r = __pyx_pf_10xraylib_np_30XRL_4IFFF(__pyx_self, ((PyObject *)__pyx_v_fun_wrap));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1605
*
* def XRL_4IFFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None,
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_9XRL_4IFFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_9XRL_4IFFF_1fun = {"fun", (PyCFunction)__pyx_pw_10xraylib_np_9XRL_4IFFF_1fun, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_9XRL_4IFFF_1fun(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyArrayObject *__pyx_v_arg1 = 0;
PyArrayObject *__pyx_v_arg2 = 0;
PyArrayObject *__pyx_v_arg3 = 0;
PyArrayObject *__pyx_v_arg4 = 0;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("fun (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,&__pyx_n_s_arg4,0};
PyObject* values[4] = {0,0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 4, 4, 1); __PYX_ERR(0, 1605, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 4, 4, 2); __PYX_ERR(0, 1605, __pyx_L3_error)
}
case 3:
if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg4)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("fun", 1, 4, 4, 3); __PYX_ERR(0, 1605, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fun") < 0)) __PYX_ERR(0, 1605, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
}
__pyx_v_arg1 = ((PyArrayObject *)values[0]);
__pyx_v_arg2 = ((PyArrayObject *)values[1]);
__pyx_v_arg3 = ((PyArrayObject *)values[2]);
__pyx_v_arg4 = ((PyArrayObject *)values[3]);
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("fun", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1605, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np.XRL_4IFFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg1), __pyx_ptype_5numpy_ndarray, 0, "arg1", 0))) __PYX_ERR(0, 1605, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg2), __pyx_ptype_5numpy_ndarray, 0, "arg2", 0))) __PYX_ERR(0, 1606, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg3), __pyx_ptype_5numpy_ndarray, 0, "arg3", 0))) __PYX_ERR(0, 1607, __pyx_L1_error)
if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arg4), __pyx_ptype_5numpy_ndarray, 0, "arg4", 0))) __PYX_ERR(0, 1608, __pyx_L1_error)
__pyx_r = __pyx_pf_10xraylib_np_9XRL_4IFFF_fun(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4);
/* function exit code */
goto __pyx_L0;
__pyx_L1_error:;
__pyx_r = NULL;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_9XRL_4IFFF_fun(PyObject *__pyx_self, PyArrayObject *__pyx_v_arg1, PyArrayObject *__pyx_v_arg2, PyArrayObject *__pyx_v_arg3, PyArrayObject *__pyx_v_arg4) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *__pyx_cur_scope;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *__pyx_outer_scope;
PyArrayObject *__pyx_v_rv = 0;
npy_intp __pyx_v_i;
npy_intp __pyx_v_j;
npy_intp __pyx_v_k;
npy_intp __pyx_v_l;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg1;
__Pyx_Buffer __pyx_pybuffer_arg1;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg2;
__Pyx_Buffer __pyx_pybuffer_arg2;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg3;
__Pyx_Buffer __pyx_pybuffer_arg3;
__Pyx_LocalBuf_ND __pyx_pybuffernd_arg4;
__Pyx_Buffer __pyx_pybuffer_arg4;
__Pyx_LocalBuf_ND __pyx_pybuffernd_rv;
__Pyx_Buffer __pyx_pybuffer_rv;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyArrayObject *__pyx_t_8 = NULL;
npy_intp __pyx_t_9;
npy_intp __pyx_t_10;
npy_intp __pyx_t_11;
npy_intp __pyx_t_12;
npy_intp __pyx_t_13;
npy_intp __pyx_t_14;
npy_intp __pyx_t_15;
npy_intp __pyx_t_16;
Py_ssize_t __pyx_t_17;
Py_ssize_t __pyx_t_18;
Py_ssize_t __pyx_t_19;
Py_ssize_t __pyx_t_20;
int __pyx_t_21;
PyObject *__pyx_t_22 = NULL;
double __pyx_t_23;
Py_ssize_t __pyx_t_24;
Py_ssize_t __pyx_t_25;
Py_ssize_t __pyx_t_26;
Py_ssize_t __pyx_t_27;
__Pyx_RefNannySetupContext("fun", 0);
__pyx_outer_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *) __Pyx_CyFunction_GetClosure(__pyx_self);
__pyx_cur_scope = __pyx_outer_scope;
__pyx_pybuffer_rv.pybuffer.buf = NULL;
__pyx_pybuffer_rv.refcount = 0;
__pyx_pybuffernd_rv.data = NULL;
__pyx_pybuffernd_rv.rcbuffer = &__pyx_pybuffer_rv;
__pyx_pybuffer_arg1.pybuffer.buf = NULL;
__pyx_pybuffer_arg1.refcount = 0;
__pyx_pybuffernd_arg1.data = NULL;
__pyx_pybuffernd_arg1.rcbuffer = &__pyx_pybuffer_arg1;
__pyx_pybuffer_arg2.pybuffer.buf = NULL;
__pyx_pybuffer_arg2.refcount = 0;
__pyx_pybuffernd_arg2.data = NULL;
__pyx_pybuffernd_arg2.rcbuffer = &__pyx_pybuffer_arg2;
__pyx_pybuffer_arg3.pybuffer.buf = NULL;
__pyx_pybuffer_arg3.refcount = 0;
__pyx_pybuffernd_arg3.data = NULL;
__pyx_pybuffernd_arg3.rcbuffer = &__pyx_pybuffer_arg3;
__pyx_pybuffer_arg4.pybuffer.buf = NULL;
__pyx_pybuffer_arg4.refcount = 0;
__pyx_pybuffernd_arg4.data = NULL;
__pyx_pybuffernd_arg4.rcbuffer = &__pyx_pybuffer_arg4;
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg1, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int_t, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1605, __pyx_L1_error)
}
__pyx_pybuffernd_arg1.diminfo[0].strides = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg1.diminfo[0].shape = __pyx_pybuffernd_arg1.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg2, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1605, __pyx_L1_error)
}
__pyx_pybuffernd_arg2.diminfo[0].strides = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg2.diminfo[0].shape = __pyx_pybuffernd_arg2.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg3, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1605, __pyx_L1_error)
}
__pyx_pybuffernd_arg3.diminfo[0].strides = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg3.diminfo[0].shape = __pyx_pybuffernd_arg3.rcbuffer->pybuffer.shape[0];
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_arg4.rcbuffer->pybuffer, (PyObject*)__pyx_v_arg4, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_STRIDES, 1, 0, __pyx_stack) == -1)) __PYX_ERR(0, 1605, __pyx_L1_error)
}
__pyx_pybuffernd_arg4.diminfo[0].strides = __pyx_pybuffernd_arg4.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_arg4.diminfo[0].shape = __pyx_pybuffernd_arg4.rcbuffer->pybuffer.shape[0];
/* "xraylib_np.pyx":1609
* np.ndarray[double, ndim=1] arg3 not None,
* np.ndarray[double, ndim=1] arg4 not None):
* cdef np.ndarray[double, ndim=4, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0], arg4.shape[0])) # <<<<<<<<<<<<<<
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
*/
__pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg1->dimensions[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg2->dimensions[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg3->dimensions[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_arg4->dimensions[0])); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_t_5);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_6);
__pyx_t_2 = 0;
__pyx_t_4 = 0;
__pyx_t_5 = 0;
__pyx_t_6 = 0;
__pyx_t_6 = NULL;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
__pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3);
if (likely(__pyx_t_6)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
__Pyx_INCREF(__pyx_t_6);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_3, function);
}
}
if (!__pyx_t_6) {
__pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__Pyx_GOTREF(__pyx_t_1);
} else {
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_t_7};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_t_7};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
} else
#endif
{
__pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_6); __pyx_t_6 = NULL;
__Pyx_GIVEREF(__pyx_t_7);
PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_7);
__pyx_t_7 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
}
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 1609, __pyx_L1_error)
__pyx_t_8 = ((PyArrayObject *)__pyx_t_1);
{
__Pyx_BufFmt_StackElem __pyx_stack[1];
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_rv.rcbuffer->pybuffer, (PyObject*)__pyx_t_8, &__Pyx_TypeInfo_double, PyBUF_FORMAT| PyBUF_C_CONTIGUOUS| PyBUF_WRITABLE, 4, 0, __pyx_stack) == -1)) {
__pyx_v_rv = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf = NULL;
__PYX_ERR(0, 1609, __pyx_L1_error)
} else {__pyx_pybuffernd_rv.diminfo[0].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_rv.diminfo[0].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_rv.diminfo[1].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_rv.diminfo[1].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[1]; __pyx_pybuffernd_rv.diminfo[2].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[2]; __pyx_pybuffernd_rv.diminfo[2].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[2]; __pyx_pybuffernd_rv.diminfo[3].strides = __pyx_pybuffernd_rv.rcbuffer->pybuffer.strides[3]; __pyx_pybuffernd_rv.diminfo[3].shape = __pyx_pybuffernd_rv.rcbuffer->pybuffer.shape[3];
}
}
__pyx_t_8 = 0;
__pyx_v_rv = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1610
* np.ndarray[double, ndim=1] arg4 not None):
* cdef np.ndarray[double, ndim=4, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0], arg4.shape[0]))
* for i in range(arg1.shape[0]): # <<<<<<<<<<<<<<
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
*/
__pyx_t_9 = (__pyx_v_arg1->dimensions[0]);
for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
__pyx_v_i = __pyx_t_10;
/* "xraylib_np.pyx":1611
* cdef np.ndarray[double, ndim=4, mode='c'] rv = np.empty((arg1.shape[0], arg2.shape[0], arg3.shape[0], arg4.shape[0]))
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]): # <<<<<<<<<<<<<<
* for k in range(arg3.shape[0]):
* for l in range(arg4.shape[0]):
*/
__pyx_t_11 = (__pyx_v_arg2->dimensions[0]);
for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
__pyx_v_j = __pyx_t_12;
/* "xraylib_np.pyx":1612
* for i in range(arg1.shape[0]):
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]): # <<<<<<<<<<<<<<
* for l in range(arg4.shape[0]):
* rv[i,j,k,l] = fun_wrap(arg1[i], arg2[j], arg3[k], arg4[l])
*/
__pyx_t_13 = (__pyx_v_arg3->dimensions[0]);
for (__pyx_t_14 = 0; __pyx_t_14 < __pyx_t_13; __pyx_t_14+=1) {
__pyx_v_k = __pyx_t_14;
/* "xraylib_np.pyx":1613
* for j in range(arg2.shape[0]):
* for k in range(arg3.shape[0]):
* for l in range(arg4.shape[0]): # <<<<<<<<<<<<<<
* rv[i,j,k,l] = fun_wrap(arg1[i], arg2[j], arg3[k], arg4[l])
* return rv
*/
__pyx_t_15 = (__pyx_v_arg4->dimensions[0]);
for (__pyx_t_16 = 0; __pyx_t_16 < __pyx_t_15; __pyx_t_16+=1) {
__pyx_v_l = __pyx_t_16;
/* "xraylib_np.pyx":1614
* for k in range(arg3.shape[0]):
* for l in range(arg4.shape[0]):
* rv[i,j,k,l] = fun_wrap(arg1[i], arg2[j], arg3[k], arg4[l]) # <<<<<<<<<<<<<<
* return rv
* return fun
*/
if (unlikely(!__pyx_cur_scope->__pyx_v_fun_wrap)) { __Pyx_RaiseClosureNameError("fun_wrap"); __PYX_ERR(0, 1614, __pyx_L1_error) }
__pyx_t_17 = __pyx_v_i;
__pyx_t_3 = __Pyx_PyInt_From_npy_long((*__Pyx_BufPtrStrided1d(__pyx_t_5numpy_int_t *, __pyx_pybuffernd_arg1.rcbuffer->pybuffer.buf, __pyx_t_17, __pyx_pybuffernd_arg1.diminfo[0].strides))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_18 = __pyx_v_j;
__pyx_t_5 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg2.rcbuffer->pybuffer.buf, __pyx_t_18, __pyx_pybuffernd_arg2.diminfo[0].strides))); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_19 = __pyx_v_k;
__pyx_t_7 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg3.rcbuffer->pybuffer.buf, __pyx_t_19, __pyx_pybuffernd_arg3.diminfo[0].strides))); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_20 = __pyx_v_l;
__pyx_t_6 = PyFloat_FromDouble((*__Pyx_BufPtrStrided1d(double *, __pyx_pybuffernd_arg4.rcbuffer->pybuffer.buf, __pyx_t_20, __pyx_pybuffernd_arg4.diminfo[0].strides))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__pyx_t_4 = __pyx_cur_scope->__pyx_v_fun_wrap; __pyx_t_2 = NULL;
__pyx_t_21 = 0;
if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
__pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
if (likely(__pyx_t_2)) {
PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
__Pyx_INCREF(__pyx_t_2);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_4, function);
__pyx_t_21 = 1;
}
}
#if CYTHON_FAST_PYCALL
if (PyFunction_Check(__pyx_t_4)) {
PyObject *__pyx_temp[5] = {__pyx_t_2, __pyx_t_3, __pyx_t_5, __pyx_t_7, __pyx_t_6};
__pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_21, 4+__pyx_t_21); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
#if CYTHON_FAST_PYCCALL
if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
PyObject *__pyx_temp[5] = {__pyx_t_2, __pyx_t_3, __pyx_t_5, __pyx_t_7, __pyx_t_6};
__pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_21, 4+__pyx_t_21); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
} else
#endif
{
__pyx_t_22 = PyTuple_New(4+__pyx_t_21); if (unlikely(!__pyx_t_22)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_22);
if (__pyx_t_2) {
__Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_22, 0, __pyx_t_2); __pyx_t_2 = NULL;
}
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_22, 0+__pyx_t_21, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_22, 1+__pyx_t_21, __pyx_t_5);
__Pyx_GIVEREF(__pyx_t_7);
PyTuple_SET_ITEM(__pyx_t_22, 2+__pyx_t_21, __pyx_t_7);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_22, 3+__pyx_t_21, __pyx_t_6);
__pyx_t_3 = 0;
__pyx_t_5 = 0;
__pyx_t_7 = 0;
__pyx_t_6 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_22, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_22); __pyx_t_22 = 0;
}
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_23 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_23 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1614, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_24 = __pyx_v_i;
__pyx_t_25 = __pyx_v_j;
__pyx_t_26 = __pyx_v_k;
__pyx_t_27 = __pyx_v_l;
*__Pyx_BufPtrCContig4d(double *, __pyx_pybuffernd_rv.rcbuffer->pybuffer.buf, __pyx_t_24, __pyx_pybuffernd_rv.diminfo[0].strides, __pyx_t_25, __pyx_pybuffernd_rv.diminfo[1].strides, __pyx_t_26, __pyx_pybuffernd_rv.diminfo[2].strides, __pyx_t_27, __pyx_pybuffernd_rv.diminfo[3].strides) = __pyx_t_23;
}
}
}
}
/* "xraylib_np.pyx":1615
* for l in range(arg4.shape[0]):
* rv[i,j,k,l] = fun_wrap(arg1[i], arg2[j], arg3[k], arg4[l])
* return rv # <<<<<<<<<<<<<<
* return fun
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_rv));
__pyx_r = ((PyObject *)__pyx_v_rv);
goto __pyx_L0;
/* "xraylib_np.pyx":1605
*
* def XRL_4IFFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None,
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_22);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg4.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("xraylib_np.XRL_4IFFF.fun", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__pyx_L0:;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg1.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg2.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg3.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arg4.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_rv.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_rv);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1604
* return fun
*
* def XRL_4IFFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
static PyObject *__pyx_pf_10xraylib_np_30XRL_4IFFF(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_fun_wrap) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *__pyx_cur_scope;
PyObject *__pyx_v_fun = 0;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("XRL_4IFFF", 0);
__pyx_cur_scope = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)__pyx_tp_new_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(__pyx_ptype_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF, __pyx_empty_tuple, NULL);
if (unlikely(!__pyx_cur_scope)) {
__pyx_cur_scope = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)Py_None);
__Pyx_INCREF(Py_None);
__PYX_ERR(0, 1604, __pyx_L1_error)
} else {
__Pyx_GOTREF(__pyx_cur_scope);
}
__pyx_cur_scope->__pyx_v_fun_wrap = __pyx_v_fun_wrap;
__Pyx_INCREF(__pyx_cur_scope->__pyx_v_fun_wrap);
__Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_fun_wrap);
/* "xraylib_np.pyx":1605
*
* def XRL_4IFFF(fun_wrap):
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None, # <<<<<<<<<<<<<<
* np.ndarray[double, ndim=1] arg2 not None,
* np.ndarray[double, ndim=1] arg3 not None,
*/
__pyx_t_1 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10xraylib_np_9XRL_4IFFF_1fun, 0, __pyx_n_s_XRL_4IFFF_locals_fun, ((PyObject*)__pyx_cur_scope), __pyx_n_s_xraylib_np, __pyx_d, ((PyObject *)__pyx_codeobj__18)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1605, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_fun = __pyx_t_1;
__pyx_t_1 = 0;
/* "xraylib_np.pyx":1616
* rv[i,j,k,l] = fun_wrap(arg1[i], arg2[j], arg3[k], arg4[l])
* return rv
* return fun # <<<<<<<<<<<<<<
*
*
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v_fun);
__pyx_r = __pyx_v_fun;
goto __pyx_L0;
/* "xraylib_np.pyx":1604
* return fun
*
* def XRL_4IFFF(fun_wrap): # <<<<<<<<<<<<<<
* def fun(np.ndarray[np.int_t, ndim=1] arg1 not None,
* np.ndarray[double, ndim=1] arg2 not None,
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np.XRL_4IFFF", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v_fun);
__Pyx_DECREF(((PyObject *)__pyx_cur_scope));
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1619
*
*
* def _ElementDensity(np.int_t arg1): # <<<<<<<<<<<<<<
* return xrl.ElementDensity(arg1)
* def _CS_KN(double arg1):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_33_ElementDensity(PyObject *__pyx_self, PyObject *__pyx_arg_arg1); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_33_ElementDensity = {"_ElementDensity", (PyCFunction)__pyx_pw_10xraylib_np_33_ElementDensity, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_33_ElementDensity(PyObject *__pyx_self, PyObject *__pyx_arg_arg1) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_ElementDensity (wrapper)", 0);
assert(__pyx_arg_arg1); {
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(__pyx_arg_arg1); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1619, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._ElementDensity", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_32_ElementDensity(__pyx_self, ((__pyx_t_5numpy_int_t)__pyx_v_arg1));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_32_ElementDensity(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_ElementDensity", 0);
/* "xraylib_np.pyx":1620
*
* def _ElementDensity(np.int_t arg1):
* return xrl.ElementDensity(arg1) # <<<<<<<<<<<<<<
* def _CS_KN(double arg1):
* return xrl.CS_KN(arg1)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(ElementDensity(__pyx_v_arg1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1620, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1619
*
*
* def _ElementDensity(np.int_t arg1): # <<<<<<<<<<<<<<
* return xrl.ElementDensity(arg1)
* def _CS_KN(double arg1):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._ElementDensity", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1621
* def _ElementDensity(np.int_t arg1):
* return xrl.ElementDensity(arg1)
* def _CS_KN(double arg1): # <<<<<<<<<<<<<<
* return xrl.CS_KN(arg1)
* def _DCS_Thoms(double arg1):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_35_CS_KN(PyObject *__pyx_self, PyObject *__pyx_arg_arg1); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_35_CS_KN = {"_CS_KN", (PyCFunction)__pyx_pw_10xraylib_np_35_CS_KN, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_35_CS_KN(PyObject *__pyx_self, PyObject *__pyx_arg_arg1) {
double __pyx_v_arg1;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_KN (wrapper)", 0);
assert(__pyx_arg_arg1); {
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(__pyx_arg_arg1); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1621, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_34_CS_KN(__pyx_self, ((double)__pyx_v_arg1));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_34_CS_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_KN", 0);
/* "xraylib_np.pyx":1622
* return xrl.ElementDensity(arg1)
* def _CS_KN(double arg1):
* return xrl.CS_KN(arg1) # <<<<<<<<<<<<<<
* def _DCS_Thoms(double arg1):
* return xrl.DCS_Thoms(arg1)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_KN(__pyx_v_arg1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1621
* def _ElementDensity(np.int_t arg1):
* return xrl.ElementDensity(arg1)
* def _CS_KN(double arg1): # <<<<<<<<<<<<<<
* return xrl.CS_KN(arg1)
* def _DCS_Thoms(double arg1):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1623
* def _CS_KN(double arg1):
* return xrl.CS_KN(arg1)
* def _DCS_Thoms(double arg1): # <<<<<<<<<<<<<<
* return xrl.DCS_Thoms(arg1)
* def _CS_Total(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_37_DCS_Thoms(PyObject *__pyx_self, PyObject *__pyx_arg_arg1); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_37_DCS_Thoms = {"_DCS_Thoms", (PyCFunction)__pyx_pw_10xraylib_np_37_DCS_Thoms, METH_O, 0};
static PyObject *__pyx_pw_10xraylib_np_37_DCS_Thoms(PyObject *__pyx_self, PyObject *__pyx_arg_arg1) {
double __pyx_v_arg1;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCS_Thoms (wrapper)", 0);
assert(__pyx_arg_arg1); {
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(__pyx_arg_arg1); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1623, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCS_Thoms", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_36_DCS_Thoms(__pyx_self, ((double)__pyx_v_arg1));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_36_DCS_Thoms(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCS_Thoms", 0);
/* "xraylib_np.pyx":1624
* return xrl.CS_KN(arg1)
* def _DCS_Thoms(double arg1):
* return xrl.DCS_Thoms(arg1) # <<<<<<<<<<<<<<
* def _CS_Total(np.int_t arg1, double arg2):
* return xrl.CS_Total(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCS_Thoms(__pyx_v_arg1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1624, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1623
* def _CS_KN(double arg1):
* return xrl.CS_KN(arg1)
* def _DCS_Thoms(double arg1): # <<<<<<<<<<<<<<
* return xrl.DCS_Thoms(arg1)
* def _CS_Total(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCS_Thoms", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1625
* def _DCS_Thoms(double arg1):
* return xrl.DCS_Thoms(arg1)
* def _CS_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Total(arg1, arg2)
* def _CS_Photo(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_39_CS_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_39_CS_Total = {"_CS_Total", (PyCFunction)__pyx_pw_10xraylib_np_39_CS_Total, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_39_CS_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Total (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Total", 1, 2, 2, 1); __PYX_ERR(0, 1625, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Total") < 0)) __PYX_ERR(0, 1625, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1625, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1625, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Total", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1625, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_38_CS_Total(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_38_CS_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Total", 0);
/* "xraylib_np.pyx":1626
* return xrl.DCS_Thoms(arg1)
* def _CS_Total(np.int_t arg1, double arg2):
* return xrl.CS_Total(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Photo(np.int_t arg1, double arg2):
* return xrl.CS_Photo(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Total(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1626, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1625
* def _DCS_Thoms(double arg1):
* return xrl.DCS_Thoms(arg1)
* def _CS_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Total(arg1, arg2)
* def _CS_Photo(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1627
* def _CS_Total(np.int_t arg1, double arg2):
* return xrl.CS_Total(arg1, arg2)
* def _CS_Photo(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Photo(arg1, arg2)
* def _CS_Rayl(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_41_CS_Photo(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_41_CS_Photo = {"_CS_Photo", (PyCFunction)__pyx_pw_10xraylib_np_41_CS_Photo, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_41_CS_Photo(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Photo (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Photo", 1, 2, 2, 1); __PYX_ERR(0, 1627, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Photo") < 0)) __PYX_ERR(0, 1627, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1627, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1627, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Photo", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1627, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Photo", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_40_CS_Photo(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_40_CS_Photo(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Photo", 0);
/* "xraylib_np.pyx":1628
* return xrl.CS_Total(arg1, arg2)
* def _CS_Photo(np.int_t arg1, double arg2):
* return xrl.CS_Photo(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Rayl(np.int_t arg1, double arg2):
* return xrl.CS_Rayl(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Photo(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1628, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1627
* def _CS_Total(np.int_t arg1, double arg2):
* return xrl.CS_Total(arg1, arg2)
* def _CS_Photo(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Photo(arg1, arg2)
* def _CS_Rayl(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Photo", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1629
* def _CS_Photo(np.int_t arg1, double arg2):
* return xrl.CS_Photo(arg1, arg2)
* def _CS_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Rayl(arg1, arg2)
* def _CS_Compt(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_43_CS_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_43_CS_Rayl = {"_CS_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_43_CS_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_43_CS_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Rayl", 1, 2, 2, 1); __PYX_ERR(0, 1629, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Rayl") < 0)) __PYX_ERR(0, 1629, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1629, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1629, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Rayl", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1629, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_42_CS_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_42_CS_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Rayl", 0);
/* "xraylib_np.pyx":1630
* return xrl.CS_Photo(arg1, arg2)
* def _CS_Rayl(np.int_t arg1, double arg2):
* return xrl.CS_Rayl(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Compt(np.int_t arg1, double arg2):
* return xrl.CS_Compt(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Rayl(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1630, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1629
* def _CS_Photo(np.int_t arg1, double arg2):
* return xrl.CS_Photo(arg1, arg2)
* def _CS_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Rayl(arg1, arg2)
* def _CS_Compt(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1631
* def _CS_Rayl(np.int_t arg1, double arg2):
* return xrl.CS_Rayl(arg1, arg2)
* def _CS_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Compt(arg1, arg2)
* def _CS_Energy(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_45_CS_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_45_CS_Compt = {"_CS_Compt", (PyCFunction)__pyx_pw_10xraylib_np_45_CS_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_45_CS_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Compt", 1, 2, 2, 1); __PYX_ERR(0, 1631, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Compt") < 0)) __PYX_ERR(0, 1631, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1631, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1631, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Compt", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1631, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_44_CS_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_44_CS_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Compt", 0);
/* "xraylib_np.pyx":1632
* return xrl.CS_Rayl(arg1, arg2)
* def _CS_Compt(np.int_t arg1, double arg2):
* return xrl.CS_Compt(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Energy(np.int_t arg1, double arg2):
* return xrl.CS_Energy(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Compt(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1632, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1631
* def _CS_Rayl(np.int_t arg1, double arg2):
* return xrl.CS_Rayl(arg1, arg2)
* def _CS_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Compt(arg1, arg2)
* def _CS_Energy(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1633
* def _CS_Compt(np.int_t arg1, double arg2):
* return xrl.CS_Compt(arg1, arg2)
* def _CS_Energy(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Energy(arg1, arg2)
* def _CSb_Total(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_47_CS_Energy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_47_CS_Energy = {"_CS_Energy", (PyCFunction)__pyx_pw_10xraylib_np_47_CS_Energy, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_47_CS_Energy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Energy (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Energy", 1, 2, 2, 1); __PYX_ERR(0, 1633, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Energy") < 0)) __PYX_ERR(0, 1633, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1633, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1633, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Energy", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1633, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Energy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_46_CS_Energy(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_46_CS_Energy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Energy", 0);
/* "xraylib_np.pyx":1634
* return xrl.CS_Compt(arg1, arg2)
* def _CS_Energy(np.int_t arg1, double arg2):
* return xrl.CS_Energy(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Total(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Energy(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1634, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1633
* def _CS_Compt(np.int_t arg1, double arg2):
* return xrl.CS_Compt(arg1, arg2)
* def _CS_Energy(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Energy(arg1, arg2)
* def _CSb_Total(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Energy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1635
* def _CS_Energy(np.int_t arg1, double arg2):
* return xrl.CS_Energy(arg1, arg2)
* def _CSb_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Total(arg1, arg2)
* def _CSb_Photo(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_49_CSb_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_49_CSb_Total = {"_CSb_Total", (PyCFunction)__pyx_pw_10xraylib_np_49_CSb_Total, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_49_CSb_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Total (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Total", 1, 2, 2, 1); __PYX_ERR(0, 1635, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Total") < 0)) __PYX_ERR(0, 1635, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1635, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1635, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Total", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1635, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_48_CSb_Total(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_48_CSb_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Total", 0);
/* "xraylib_np.pyx":1636
* return xrl.CS_Energy(arg1, arg2)
* def _CSb_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Total(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Photo(np.int_t arg1, double arg2):
* return xrl.CSb_Photo(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Total(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1636, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1635
* def _CS_Energy(np.int_t arg1, double arg2):
* return xrl.CS_Energy(arg1, arg2)
* def _CSb_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Total(arg1, arg2)
* def _CSb_Photo(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1637
* def _CSb_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Total(arg1, arg2)
* def _CSb_Photo(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo(arg1, arg2)
* def _CSb_Rayl(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_51_CSb_Photo(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_51_CSb_Photo = {"_CSb_Photo", (PyCFunction)__pyx_pw_10xraylib_np_51_CSb_Photo, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_51_CSb_Photo(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Photo (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Photo", 1, 2, 2, 1); __PYX_ERR(0, 1637, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Photo") < 0)) __PYX_ERR(0, 1637, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1637, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1637, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Photo", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1637, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Photo", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_50_CSb_Photo(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_50_CSb_Photo(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Photo", 0);
/* "xraylib_np.pyx":1638
* return xrl.CSb_Total(arg1, arg2)
* def _CSb_Photo(np.int_t arg1, double arg2):
* return xrl.CSb_Photo(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Rayl(np.int_t arg1, double arg2):
* return xrl.CSb_Rayl(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Photo(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1638, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1637
* def _CSb_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Total(arg1, arg2)
* def _CSb_Photo(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo(arg1, arg2)
* def _CSb_Rayl(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Photo", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1639
* def _CSb_Photo(np.int_t arg1, double arg2):
* return xrl.CSb_Photo(arg1, arg2)
* def _CSb_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Rayl(arg1, arg2)
* def _CSb_Compt(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_53_CSb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_53_CSb_Rayl = {"_CSb_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_53_CSb_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_53_CSb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Rayl", 1, 2, 2, 1); __PYX_ERR(0, 1639, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Rayl") < 0)) __PYX_ERR(0, 1639, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1639, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1639, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Rayl", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1639, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_52_CSb_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_52_CSb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Rayl", 0);
/* "xraylib_np.pyx":1640
* return xrl.CSb_Photo(arg1, arg2)
* def _CSb_Rayl(np.int_t arg1, double arg2):
* return xrl.CSb_Rayl(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Compt(np.int_t arg1, double arg2):
* return xrl.CSb_Compt(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Rayl(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1639
* def _CSb_Photo(np.int_t arg1, double arg2):
* return xrl.CSb_Photo(arg1, arg2)
* def _CSb_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Rayl(arg1, arg2)
* def _CSb_Compt(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1641
* def _CSb_Rayl(np.int_t arg1, double arg2):
* return xrl.CSb_Rayl(arg1, arg2)
* def _CSb_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Compt(arg1, arg2)
* def _FF_Rayl(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_55_CSb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_55_CSb_Compt = {"_CSb_Compt", (PyCFunction)__pyx_pw_10xraylib_np_55_CSb_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_55_CSb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Compt", 1, 2, 2, 1); __PYX_ERR(0, 1641, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Compt") < 0)) __PYX_ERR(0, 1641, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1641, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1641, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Compt", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1641, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_54_CSb_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_54_CSb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Compt", 0);
/* "xraylib_np.pyx":1642
* return xrl.CSb_Rayl(arg1, arg2)
* def _CSb_Compt(np.int_t arg1, double arg2):
* return xrl.CSb_Compt(arg1, arg2) # <<<<<<<<<<<<<<
* def _FF_Rayl(np.int_t arg1, double arg2):
* return xrl.FF_Rayl(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Compt(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1642, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1641
* def _CSb_Rayl(np.int_t arg1, double arg2):
* return xrl.CSb_Rayl(arg1, arg2)
* def _CSb_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Compt(arg1, arg2)
* def _FF_Rayl(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1643
* def _CSb_Compt(np.int_t arg1, double arg2):
* return xrl.CSb_Compt(arg1, arg2)
* def _FF_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.FF_Rayl(arg1, arg2)
* def _SF_Compt(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_57_FF_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_57_FF_Rayl = {"_FF_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_57_FF_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_57_FF_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_FF_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_FF_Rayl", 1, 2, 2, 1); __PYX_ERR(0, 1643, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_FF_Rayl") < 0)) __PYX_ERR(0, 1643, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1643, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1643, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_FF_Rayl", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1643, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._FF_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_56_FF_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_56_FF_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_FF_Rayl", 0);
/* "xraylib_np.pyx":1644
* return xrl.CSb_Compt(arg1, arg2)
* def _FF_Rayl(np.int_t arg1, double arg2):
* return xrl.FF_Rayl(arg1, arg2) # <<<<<<<<<<<<<<
* def _SF_Compt(np.int_t arg1, double arg2):
* return xrl.SF_Compt(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(FF_Rayl(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1644, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1643
* def _CSb_Compt(np.int_t arg1, double arg2):
* return xrl.CSb_Compt(arg1, arg2)
* def _FF_Rayl(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.FF_Rayl(arg1, arg2)
* def _SF_Compt(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._FF_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1645
* def _FF_Rayl(np.int_t arg1, double arg2):
* return xrl.FF_Rayl(arg1, arg2)
* def _SF_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.SF_Compt(arg1, arg2)
* def _Fi(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_59_SF_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_59_SF_Compt = {"_SF_Compt", (PyCFunction)__pyx_pw_10xraylib_np_59_SF_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_59_SF_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_SF_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_SF_Compt", 1, 2, 2, 1); __PYX_ERR(0, 1645, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_SF_Compt") < 0)) __PYX_ERR(0, 1645, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1645, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1645, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_SF_Compt", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1645, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._SF_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_58_SF_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_58_SF_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_SF_Compt", 0);
/* "xraylib_np.pyx":1646
* return xrl.FF_Rayl(arg1, arg2)
* def _SF_Compt(np.int_t arg1, double arg2):
* return xrl.SF_Compt(arg1, arg2) # <<<<<<<<<<<<<<
* def _Fi(np.int_t arg1, double arg2):
* return xrl.Fi(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(SF_Compt(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1646, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1645
* def _FF_Rayl(np.int_t arg1, double arg2):
* return xrl.FF_Rayl(arg1, arg2)
* def _SF_Compt(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.SF_Compt(arg1, arg2)
* def _Fi(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._SF_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1647
* def _SF_Compt(np.int_t arg1, double arg2):
* return xrl.SF_Compt(arg1, arg2)
* def _Fi(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.Fi(arg1, arg2)
* def _Fii(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_61_Fi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_61_Fi = {"_Fi", (PyCFunction)__pyx_pw_10xraylib_np_61_Fi, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_61_Fi(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_Fi (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_Fi", 1, 2, 2, 1); __PYX_ERR(0, 1647, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_Fi") < 0)) __PYX_ERR(0, 1647, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1647, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1647, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_Fi", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1647, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._Fi", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_60_Fi(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_60_Fi(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_Fi", 0);
/* "xraylib_np.pyx":1648
* return xrl.SF_Compt(arg1, arg2)
* def _Fi(np.int_t arg1, double arg2):
* return xrl.Fi(arg1, arg2) # <<<<<<<<<<<<<<
* def _Fii(np.int_t arg1, double arg2):
* return xrl.Fii(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(Fi(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1648, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1647
* def _SF_Compt(np.int_t arg1, double arg2):
* return xrl.SF_Compt(arg1, arg2)
* def _Fi(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.Fi(arg1, arg2)
* def _Fii(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._Fi", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1649
* def _Fi(np.int_t arg1, double arg2):
* return xrl.Fi(arg1, arg2)
* def _Fii(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.Fii(arg1, arg2)
* def _CS_Photo_Total(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_63_Fii(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_63_Fii = {"_Fii", (PyCFunction)__pyx_pw_10xraylib_np_63_Fii, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_63_Fii(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_Fii (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_Fii", 1, 2, 2, 1); __PYX_ERR(0, 1649, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_Fii") < 0)) __PYX_ERR(0, 1649, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1649, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1649, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_Fii", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1649, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._Fii", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_62_Fii(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_62_Fii(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_Fii", 0);
/* "xraylib_np.pyx":1650
* return xrl.Fi(arg1, arg2)
* def _Fii(np.int_t arg1, double arg2):
* return xrl.Fii(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CS_Photo_Total(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(Fii(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1650, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1649
* def _Fi(np.int_t arg1, double arg2):
* return xrl.Fi(arg1, arg2)
* def _Fii(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.Fii(arg1, arg2)
* def _CS_Photo_Total(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._Fii", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1651
* def _Fii(np.int_t arg1, double arg2):
* return xrl.Fii(arg1, arg2)
* def _CS_Photo_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Photo_Total(arg1, arg2)
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_65_CS_Photo_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_65_CS_Photo_Total = {"_CS_Photo_Total", (PyCFunction)__pyx_pw_10xraylib_np_65_CS_Photo_Total, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_65_CS_Photo_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Photo_Total (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Photo_Total", 1, 2, 2, 1); __PYX_ERR(0, 1651, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Photo_Total") < 0)) __PYX_ERR(0, 1651, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1651, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1651, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Photo_Total", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1651, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Photo_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_64_CS_Photo_Total(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_64_CS_Photo_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Photo_Total", 0);
/* "xraylib_np.pyx":1652
* return xrl.Fii(arg1, arg2)
* def _CS_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CS_Photo_Total(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Photo_Total(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Photo_Total(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1652, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1651
* def _Fii(np.int_t arg1, double arg2):
* return xrl.Fii(arg1, arg2)
* def _CS_Photo_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Photo_Total(arg1, arg2)
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Photo_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1653
* def _CS_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CS_Photo_Total(arg1, arg2)
* def _CSb_Photo_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo_Total(arg1, arg2)
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_67_CSb_Photo_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_67_CSb_Photo_Total = {"_CSb_Photo_Total", (PyCFunction)__pyx_pw_10xraylib_np_67_CSb_Photo_Total, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_67_CSb_Photo_Total(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Photo_Total (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Photo_Total", 1, 2, 2, 1); __PYX_ERR(0, 1653, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Photo_Total") < 0)) __PYX_ERR(0, 1653, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1653, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1653, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Photo_Total", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1653, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Photo_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_66_CSb_Photo_Total(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_66_CSb_Photo_Total(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Photo_Total", 0);
/* "xraylib_np.pyx":1654
* return xrl.CS_Photo_Total(arg1, arg2)
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Photo_Total(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CS_Total_Kissel(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Photo_Total(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1654, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1653
* def _CS_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CS_Photo_Total(arg1, arg2)
* def _CSb_Photo_Total(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo_Total(arg1, arg2)
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Photo_Total", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1655
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Photo_Total(arg1, arg2)
* def _CS_Total_Kissel(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Total_Kissel(arg1, arg2)
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_69_CS_Total_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_69_CS_Total_Kissel = {"_CS_Total_Kissel", (PyCFunction)__pyx_pw_10xraylib_np_69_CS_Total_Kissel, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_69_CS_Total_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Total_Kissel (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Total_Kissel", 1, 2, 2, 1); __PYX_ERR(0, 1655, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Total_Kissel") < 0)) __PYX_ERR(0, 1655, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1655, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1655, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Total_Kissel", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1655, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Total_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_68_CS_Total_Kissel(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_68_CS_Total_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Total_Kissel", 0);
/* "xraylib_np.pyx":1656
* return xrl.CSb_Photo_Total(arg1, arg2)
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CS_Total_Kissel(arg1, arg2) # <<<<<<<<<<<<<<
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CSb_Total_Kissel(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Total_Kissel(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1656, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1655
* def _CSb_Photo_Total(np.int_t arg1, double arg2):
* return xrl.CSb_Photo_Total(arg1, arg2)
* def _CS_Total_Kissel(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CS_Total_Kissel(arg1, arg2)
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Total_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1657
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CS_Total_Kissel(arg1, arg2)
* def _CSb_Total_Kissel(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Total_Kissel(arg1, arg2)
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_71_CSb_Total_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_71_CSb_Total_Kissel = {"_CSb_Total_Kissel", (PyCFunction)__pyx_pw_10xraylib_np_71_CSb_Total_Kissel, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_71_CSb_Total_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Total_Kissel (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Total_Kissel", 1, 2, 2, 1); __PYX_ERR(0, 1657, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Total_Kissel") < 0)) __PYX_ERR(0, 1657, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1657, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1657, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Total_Kissel", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1657, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Total_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_70_CSb_Total_Kissel(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_70_CSb_Total_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Total_Kissel", 0);
/* "xraylib_np.pyx":1658
* return xrl.CS_Total_Kissel(arg1, arg2)
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CSb_Total_Kissel(arg1, arg2) # <<<<<<<<<<<<<<
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.LineEnergy(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Total_Kissel(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1658, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1657
* def _CS_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CS_Total_Kissel(arg1, arg2)
* def _CSb_Total_Kissel(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.CSb_Total_Kissel(arg1, arg2)
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Total_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1659
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CSb_Total_Kissel(arg1, arg2)
* def _LineEnergy(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.LineEnergy(arg1, arg2)
* def _FluorYield(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_73_LineEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_73_LineEnergy = {"_LineEnergy", (PyCFunction)__pyx_pw_10xraylib_np_73_LineEnergy, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_73_LineEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_LineEnergy (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_LineEnergy", 1, 2, 2, 1); __PYX_ERR(0, 1659, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_LineEnergy") < 0)) __PYX_ERR(0, 1659, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1659, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1659, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_LineEnergy", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1659, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._LineEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_72_LineEnergy(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_72_LineEnergy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_LineEnergy", 0);
/* "xraylib_np.pyx":1660
* return xrl.CSb_Total_Kissel(arg1, arg2)
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.LineEnergy(arg1, arg2) # <<<<<<<<<<<<<<
* def _FluorYield(np.int_t arg1, np.int_t arg2):
* return xrl.FluorYield(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(LineEnergy(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1660, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1659
* def _CSb_Total_Kissel(np.int_t arg1, double arg2):
* return xrl.CSb_Total_Kissel(arg1, arg2)
* def _LineEnergy(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.LineEnergy(arg1, arg2)
* def _FluorYield(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._LineEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1661
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.LineEnergy(arg1, arg2)
* def _FluorYield(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.FluorYield(arg1, arg2)
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_75_FluorYield(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_75_FluorYield = {"_FluorYield", (PyCFunction)__pyx_pw_10xraylib_np_75_FluorYield, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_75_FluorYield(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_FluorYield (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_FluorYield", 1, 2, 2, 1); __PYX_ERR(0, 1661, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_FluorYield") < 0)) __PYX_ERR(0, 1661, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1661, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1661, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_FluorYield", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1661, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._FluorYield", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_74_FluorYield(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_74_FluorYield(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_FluorYield", 0);
/* "xraylib_np.pyx":1662
* return xrl.LineEnergy(arg1, arg2)
* def _FluorYield(np.int_t arg1, np.int_t arg2):
* return xrl.FluorYield(arg1, arg2) # <<<<<<<<<<<<<<
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
* return xrl.CosKronTransProb(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(FluorYield(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1662, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1661
* def _LineEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.LineEnergy(arg1, arg2)
* def _FluorYield(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.FluorYield(arg1, arg2)
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._FluorYield", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1663
* def _FluorYield(np.int_t arg1, np.int_t arg2):
* return xrl.FluorYield(arg1, arg2)
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.CosKronTransProb(arg1, arg2)
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_77_CosKronTransProb(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_77_CosKronTransProb = {"_CosKronTransProb", (PyCFunction)__pyx_pw_10xraylib_np_77_CosKronTransProb, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_77_CosKronTransProb(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CosKronTransProb (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CosKronTransProb", 1, 2, 2, 1); __PYX_ERR(0, 1663, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CosKronTransProb") < 0)) __PYX_ERR(0, 1663, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1663, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1663, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CosKronTransProb", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1663, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CosKronTransProb", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_76_CosKronTransProb(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_76_CosKronTransProb(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CosKronTransProb", 0);
/* "xraylib_np.pyx":1664
* return xrl.FluorYield(arg1, arg2)
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
* return xrl.CosKronTransProb(arg1, arg2) # <<<<<<<<<<<<<<
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.EdgeEnergy(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CosKronTransProb(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1664, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1663
* def _FluorYield(np.int_t arg1, np.int_t arg2):
* return xrl.FluorYield(arg1, arg2)
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.CosKronTransProb(arg1, arg2)
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CosKronTransProb", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1665
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
* return xrl.CosKronTransProb(arg1, arg2)
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.EdgeEnergy(arg1, arg2)
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_79_EdgeEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_79_EdgeEnergy = {"_EdgeEnergy", (PyCFunction)__pyx_pw_10xraylib_np_79_EdgeEnergy, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_79_EdgeEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_EdgeEnergy (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_EdgeEnergy", 1, 2, 2, 1); __PYX_ERR(0, 1665, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_EdgeEnergy") < 0)) __PYX_ERR(0, 1665, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1665, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1665, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_EdgeEnergy", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1665, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._EdgeEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_78_EdgeEnergy(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_78_EdgeEnergy(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_EdgeEnergy", 0);
/* "xraylib_np.pyx":1666
* return xrl.CosKronTransProb(arg1, arg2)
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.EdgeEnergy(arg1, arg2) # <<<<<<<<<<<<<<
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
* return xrl.JumpFactor(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(EdgeEnergy(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1666, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1665
* def _CosKronTransProb(np.int_t arg1, np.int_t arg2):
* return xrl.CosKronTransProb(arg1, arg2)
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.EdgeEnergy(arg1, arg2)
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._EdgeEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1667
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.EdgeEnergy(arg1, arg2)
* def _JumpFactor(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.JumpFactor(arg1, arg2)
* def _RadRate(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_81_JumpFactor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_81_JumpFactor = {"_JumpFactor", (PyCFunction)__pyx_pw_10xraylib_np_81_JumpFactor, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_81_JumpFactor(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_JumpFactor (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_JumpFactor", 1, 2, 2, 1); __PYX_ERR(0, 1667, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_JumpFactor") < 0)) __PYX_ERR(0, 1667, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1667, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1667, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_JumpFactor", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1667, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._JumpFactor", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_80_JumpFactor(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_80_JumpFactor(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_JumpFactor", 0);
/* "xraylib_np.pyx":1668
* return xrl.EdgeEnergy(arg1, arg2)
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
* return xrl.JumpFactor(arg1, arg2) # <<<<<<<<<<<<<<
* def _RadRate(np.int_t arg1, np.int_t arg2):
* return xrl.RadRate(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(JumpFactor(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1668, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1667
* def _EdgeEnergy(np.int_t arg1, np.int_t arg2):
* return xrl.EdgeEnergy(arg1, arg2)
* def _JumpFactor(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.JumpFactor(arg1, arg2)
* def _RadRate(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._JumpFactor", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1669
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
* return xrl.JumpFactor(arg1, arg2)
* def _RadRate(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.RadRate(arg1, arg2)
* def _DCS_KN(double arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_83_RadRate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_83_RadRate = {"_RadRate", (PyCFunction)__pyx_pw_10xraylib_np_83_RadRate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_83_RadRate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_RadRate (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_RadRate", 1, 2, 2, 1); __PYX_ERR(0, 1669, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_RadRate") < 0)) __PYX_ERR(0, 1669, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1669, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1669, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_RadRate", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1669, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._RadRate", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_82_RadRate(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_82_RadRate(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_RadRate", 0);
/* "xraylib_np.pyx":1670
* return xrl.JumpFactor(arg1, arg2)
* def _RadRate(np.int_t arg1, np.int_t arg2):
* return xrl.RadRate(arg1, arg2) # <<<<<<<<<<<<<<
* def _DCS_KN(double arg1, double arg2):
* return xrl.DCS_KN(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(RadRate(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1670, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1669
* def _JumpFactor(np.int_t arg1, np.int_t arg2):
* return xrl.JumpFactor(arg1, arg2)
* def _RadRate(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.RadRate(arg1, arg2)
* def _DCS_KN(double arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._RadRate", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1671
* def _RadRate(np.int_t arg1, np.int_t arg2):
* return xrl.RadRate(arg1, arg2)
* def _DCS_KN(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.DCS_KN(arg1, arg2)
* def _DCSP_Thoms(double arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_85_DCS_KN(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_85_DCS_KN = {"_DCS_KN", (PyCFunction)__pyx_pw_10xraylib_np_85_DCS_KN, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_85_DCS_KN(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
double __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCS_KN (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCS_KN", 1, 2, 2, 1); __PYX_ERR(0, 1671, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCS_KN") < 0)) __PYX_ERR(0, 1671, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(values[0]); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1671, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1671, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCS_KN", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1671, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCS_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_84_DCS_KN(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_84_DCS_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCS_KN", 0);
/* "xraylib_np.pyx":1672
* return xrl.RadRate(arg1, arg2)
* def _DCS_KN(double arg1, double arg2):
* return xrl.DCS_KN(arg1, arg2) # <<<<<<<<<<<<<<
* def _DCSP_Thoms(double arg1, double arg2):
* return xrl.DCSP_Thoms(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCS_KN(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1672, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1671
* def _RadRate(np.int_t arg1, np.int_t arg2):
* return xrl.RadRate(arg1, arg2)
* def _DCS_KN(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.DCS_KN(arg1, arg2)
* def _DCSP_Thoms(double arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCS_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1673
* def _DCS_KN(double arg1, double arg2):
* return xrl.DCS_KN(arg1, arg2)
* def _DCSP_Thoms(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.DCSP_Thoms(arg1, arg2)
* def _MomentTransf(double arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_87_DCSP_Thoms(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_87_DCSP_Thoms = {"_DCSP_Thoms", (PyCFunction)__pyx_pw_10xraylib_np_87_DCSP_Thoms, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_87_DCSP_Thoms(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
double __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSP_Thoms (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Thoms", 1, 2, 2, 1); __PYX_ERR(0, 1673, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSP_Thoms") < 0)) __PYX_ERR(0, 1673, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(values[0]); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1673, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1673, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSP_Thoms", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1673, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSP_Thoms", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_86_DCSP_Thoms(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_86_DCSP_Thoms(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSP_Thoms", 0);
/* "xraylib_np.pyx":1674
* return xrl.DCS_KN(arg1, arg2)
* def _DCSP_Thoms(double arg1, double arg2):
* return xrl.DCSP_Thoms(arg1, arg2) # <<<<<<<<<<<<<<
* def _MomentTransf(double arg1, double arg2):
* return xrl.MomentTransf(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSP_Thoms(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1674, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1673
* def _DCS_KN(double arg1, double arg2):
* return xrl.DCS_KN(arg1, arg2)
* def _DCSP_Thoms(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.DCSP_Thoms(arg1, arg2)
* def _MomentTransf(double arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSP_Thoms", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1675
* def _DCSP_Thoms(double arg1, double arg2):
* return xrl.DCSP_Thoms(arg1, arg2)
* def _MomentTransf(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.MomentTransf(arg1, arg2)
* def _ComptonEnergy(double arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_89_MomentTransf(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_89_MomentTransf = {"_MomentTransf", (PyCFunction)__pyx_pw_10xraylib_np_89_MomentTransf, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_89_MomentTransf(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
double __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_MomentTransf (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_MomentTransf", 1, 2, 2, 1); __PYX_ERR(0, 1675, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_MomentTransf") < 0)) __PYX_ERR(0, 1675, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(values[0]); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1675, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1675, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_MomentTransf", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1675, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._MomentTransf", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_88_MomentTransf(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_88_MomentTransf(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_MomentTransf", 0);
/* "xraylib_np.pyx":1676
* return xrl.DCSP_Thoms(arg1, arg2)
* def _MomentTransf(double arg1, double arg2):
* return xrl.MomentTransf(arg1, arg2) # <<<<<<<<<<<<<<
* def _ComptonEnergy(double arg1, double arg2):
* return xrl.ComptonEnergy(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(MomentTransf(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1676, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1675
* def _DCSP_Thoms(double arg1, double arg2):
* return xrl.DCSP_Thoms(arg1, arg2)
* def _MomentTransf(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.MomentTransf(arg1, arg2)
* def _ComptonEnergy(double arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._MomentTransf", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1677
* def _MomentTransf(double arg1, double arg2):
* return xrl.MomentTransf(arg1, arg2)
* def _ComptonEnergy(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.ComptonEnergy(arg1, arg2)
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_91_ComptonEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_91_ComptonEnergy = {"_ComptonEnergy", (PyCFunction)__pyx_pw_10xraylib_np_91_ComptonEnergy, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_91_ComptonEnergy(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
double __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_ComptonEnergy (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_ComptonEnergy", 1, 2, 2, 1); __PYX_ERR(0, 1677, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_ComptonEnergy") < 0)) __PYX_ERR(0, 1677, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(values[0]); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1677, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1677, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_ComptonEnergy", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1677, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._ComptonEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_90_ComptonEnergy(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_90_ComptonEnergy(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_ComptonEnergy", 0);
/* "xraylib_np.pyx":1678
* return xrl.MomentTransf(arg1, arg2)
* def _ComptonEnergy(double arg1, double arg2):
* return xrl.ComptonEnergy(arg1, arg2) # <<<<<<<<<<<<<<
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Rayl(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(ComptonEnergy(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1678, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1677
* def _MomentTransf(double arg1, double arg2):
* return xrl.MomentTransf(arg1, arg2)
* def _ComptonEnergy(double arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.ComptonEnergy(arg1, arg2)
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._ComptonEnergy", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1679
* def _ComptonEnergy(double arg1, double arg2):
* return xrl.ComptonEnergy(arg1, arg2)
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCS_Rayl(arg1, arg2, arg3)
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_93_DCS_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_93_DCS_Rayl = {"_DCS_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_93_DCS_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_93_DCS_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCS_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCS_Rayl", 1, 3, 3, 1); __PYX_ERR(0, 1679, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCS_Rayl", 1, 3, 3, 2); __PYX_ERR(0, 1679, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCS_Rayl") < 0)) __PYX_ERR(0, 1679, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1679, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1679, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1679, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCS_Rayl", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1679, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCS_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_92_DCS_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_92_DCS_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCS_Rayl", 0);
/* "xraylib_np.pyx":1680
* return xrl.ComptonEnergy(arg1, arg2)
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Rayl(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Compt(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCS_Rayl(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1680, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1679
* def _ComptonEnergy(double arg1, double arg2):
* return xrl.ComptonEnergy(arg1, arg2)
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCS_Rayl(arg1, arg2, arg3)
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCS_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1681
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Rayl(arg1, arg2, arg3)
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCS_Compt(arg1, arg2, arg3)
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_95_DCS_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_95_DCS_Compt = {"_DCS_Compt", (PyCFunction)__pyx_pw_10xraylib_np_95_DCS_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_95_DCS_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCS_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCS_Compt", 1, 3, 3, 1); __PYX_ERR(0, 1681, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCS_Compt", 1, 3, 3, 2); __PYX_ERR(0, 1681, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCS_Compt") < 0)) __PYX_ERR(0, 1681, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1681, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1681, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1681, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCS_Compt", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1681, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCS_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_94_DCS_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_94_DCS_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCS_Compt", 0);
/* "xraylib_np.pyx":1682
* return xrl.DCS_Rayl(arg1, arg2, arg3)
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Compt(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCS_Compt(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1682, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1681
* def _DCS_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Rayl(arg1, arg2, arg3)
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCS_Compt(arg1, arg2, arg3)
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCS_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1683
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Compt(arg1, arg2, arg3)
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_97_DCSb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_97_DCSb_Rayl = {"_DCSb_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_97_DCSb_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_97_DCSb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSb_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSb_Rayl", 1, 3, 3, 1); __PYX_ERR(0, 1683, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSb_Rayl", 1, 3, 3, 2); __PYX_ERR(0, 1683, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSb_Rayl") < 0)) __PYX_ERR(0, 1683, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1683, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1683, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1683, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSb_Rayl", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1683, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_96_DCSb_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_96_DCSb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSb_Rayl", 0);
/* "xraylib_np.pyx":1684
* return xrl.DCS_Compt(arg1, arg2, arg3)
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Rayl(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Compt(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSb_Rayl(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1684, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1683
* def _DCS_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCS_Compt(arg1, arg2, arg3)
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1685
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSb_Compt(arg1, arg2, arg3)
* def _DCSP_KN(double arg1, double arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_99_DCSb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_99_DCSb_Compt = {"_DCSb_Compt", (PyCFunction)__pyx_pw_10xraylib_np_99_DCSb_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_99_DCSb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSb_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSb_Compt", 1, 3, 3, 1); __PYX_ERR(0, 1685, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSb_Compt", 1, 3, 3, 2); __PYX_ERR(0, 1685, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSb_Compt") < 0)) __PYX_ERR(0, 1685, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1685, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1685, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1685, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSb_Compt", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1685, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_98_DCSb_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_98_DCSb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSb_Compt", 0);
/* "xraylib_np.pyx":1686
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Compt(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _DCSP_KN(double arg1, double arg2, double arg3):
* return xrl.DCSP_KN(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSb_Compt(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1686, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1685
* def _DCSb_Rayl(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Rayl(arg1, arg2, arg3)
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSb_Compt(arg1, arg2, arg3)
* def _DCSP_KN(double arg1, double arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1687
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Compt(arg1, arg2, arg3)
* def _DCSP_KN(double arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSP_KN(arg1, arg2, arg3)
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_101_DCSP_KN(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_101_DCSP_KN = {"_DCSP_KN", (PyCFunction)__pyx_pw_10xraylib_np_101_DCSP_KN, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_101_DCSP_KN(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
double __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSP_KN (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_KN", 1, 3, 3, 1); __PYX_ERR(0, 1687, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_KN", 1, 3, 3, 2); __PYX_ERR(0, 1687, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSP_KN") < 0)) __PYX_ERR(0, 1687, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __pyx_PyFloat_AsDouble(values[0]); if (unlikely((__pyx_v_arg1 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1687, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1687, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1687, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSP_KN", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1687, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSP_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_100_DCSP_KN(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_100_DCSP_KN(CYTHON_UNUSED PyObject *__pyx_self, double __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSP_KN", 0);
/* "xraylib_np.pyx":1688
* return xrl.DCSb_Compt(arg1, arg2, arg3)
* def _DCSP_KN(double arg1, double arg2, double arg3):
* return xrl.DCSP_KN(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSP_KN(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1688, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1687
* def _DCSb_Compt(np.int_t arg1, double arg2, double arg3):
* return xrl.DCSb_Compt(arg1, arg2, arg3)
* def _DCSP_KN(double arg1, double arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.DCSP_KN(arg1, arg2, arg3)
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSP_KN", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1689
* def _DCSP_KN(double arg1, double arg2, double arg3):
* return xrl.DCSP_KN(arg1, arg2, arg3)
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine(arg1, arg2, arg3)
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_103_CS_FluorLine(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_103_CS_FluorLine = {"_CS_FluorLine", (PyCFunction)__pyx_pw_10xraylib_np_103_CS_FluorLine, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_103_CS_FluorLine(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine", 1, 3, 3, 1); __PYX_ERR(0, 1689, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine", 1, 3, 3, 2); __PYX_ERR(0, 1689, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine") < 0)) __PYX_ERR(0, 1689, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1689, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1689, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1689, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1689, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_102_CS_FluorLine(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_102_CS_FluorLine(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine", 0);
/* "xraylib_np.pyx":1690
* return xrl.DCSP_KN(arg1, arg2, arg3)
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1690, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1689
* def _DCSP_KN(double arg1, double arg2, double arg3):
* return xrl.DCSP_KN(arg1, arg2, arg3)
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine(arg1, arg2, arg3)
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1691
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine(arg1, arg2, arg3)
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_105_CSb_FluorLine(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_105_CSb_FluorLine = {"_CSb_FluorLine", (PyCFunction)__pyx_pw_10xraylib_np_105_CSb_FluorLine, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_105_CSb_FluorLine(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine", 1, 3, 3, 1); __PYX_ERR(0, 1691, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine", 1, 3, 3, 2); __PYX_ERR(0, 1691, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine") < 0)) __PYX_ERR(0, 1691, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1691, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1691, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1691, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1691, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_104_CSb_FluorLine(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_104_CSb_FluorLine(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine", 0);
/* "xraylib_np.pyx":1692
* return xrl.CS_FluorLine(arg1, arg2, arg3)
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1692, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1691
* def _CS_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine(arg1, arg2, arg3)
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1693
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_107_CS_Photo_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_107_CS_Photo_Partial = {"_CS_Photo_Partial", (PyCFunction)__pyx_pw_10xraylib_np_107_CS_Photo_Partial, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_107_CS_Photo_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_Photo_Partial (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Photo_Partial", 1, 3, 3, 1); __PYX_ERR(0, 1693, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_Photo_Partial", 1, 3, 3, 2); __PYX_ERR(0, 1693, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_Photo_Partial") < 0)) __PYX_ERR(0, 1693, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1693, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1693, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1693, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_Photo_Partial", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1693, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_Photo_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_106_CS_Photo_Partial(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_106_CS_Photo_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_Photo_Partial", 0);
/* "xraylib_np.pyx":1694
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_Photo_Partial(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_Photo_Partial(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1694, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1693
* def _CSb_FluorLine(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine(arg1, arg2, arg3)
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_Photo_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1695
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_109_CSb_Photo_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_109_CSb_Photo_Partial = {"_CSb_Photo_Partial", (PyCFunction)__pyx_pw_10xraylib_np_109_CSb_Photo_Partial, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_109_CSb_Photo_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_Photo_Partial (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Photo_Partial", 1, 3, 3, 1); __PYX_ERR(0, 1695, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_Photo_Partial", 1, 3, 3, 2); __PYX_ERR(0, 1695, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_Photo_Partial") < 0)) __PYX_ERR(0, 1695, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1695, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1695, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1695, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_Photo_Partial", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1695, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_Photo_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_108_CSb_Photo_Partial(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_108_CSb_Photo_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_Photo_Partial", 0);
/* "xraylib_np.pyx":1696
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_Photo_Partial(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1696, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1695
* def _CS_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_Photo_Partial(arg1, arg2, arg3)
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_Photo_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1697
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_111_DCSP_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_111_DCSP_Rayl = {"_DCSP_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_111_DCSP_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_111_DCSP_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
double __pyx_v_arg4;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSP_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,&__pyx_n_s_arg4,0};
PyObject* values[4] = {0,0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Rayl", 1, 4, 4, 1); __PYX_ERR(0, 1697, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Rayl", 1, 4, 4, 2); __PYX_ERR(0, 1697, __pyx_L3_error)
}
case 3:
if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg4)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Rayl", 1, 4, 4, 3); __PYX_ERR(0, 1697, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSP_Rayl") < 0)) __PYX_ERR(0, 1697, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1697, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1697, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1697, __pyx_L3_error)
__pyx_v_arg4 = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_arg4 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1697, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSP_Rayl", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1697, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSP_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_110_DCSP_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_110_DCSP_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSP_Rayl", 0);
/* "xraylib_np.pyx":1698
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4) # <<<<<<<<<<<<<<
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSP_Rayl(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1698, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1697
* def _CSb_Photo_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_Photo_Partial(arg1, arg2, arg3)
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSP_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1699
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_113_DCSP_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_113_DCSP_Compt = {"_DCSP_Compt", (PyCFunction)__pyx_pw_10xraylib_np_113_DCSP_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_113_DCSP_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
double __pyx_v_arg4;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSP_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,&__pyx_n_s_arg4,0};
PyObject* values[4] = {0,0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Compt", 1, 4, 4, 1); __PYX_ERR(0, 1699, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Compt", 1, 4, 4, 2); __PYX_ERR(0, 1699, __pyx_L3_error)
}
case 3:
if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg4)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSP_Compt", 1, 4, 4, 3); __PYX_ERR(0, 1699, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSP_Compt") < 0)) __PYX_ERR(0, 1699, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1699, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1699, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1699, __pyx_L3_error)
__pyx_v_arg4 = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_arg4 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1699, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSP_Compt", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1699, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSP_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_112_DCSP_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_112_DCSP_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSP_Compt", 0);
/* "xraylib_np.pyx":1700
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4) # <<<<<<<<<<<<<<
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSP_Compt(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1700, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1699
* def _DCSP_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Rayl(arg1, arg2, arg3, arg4)
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSP_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1701
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_115_DCSPb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_115_DCSPb_Rayl = {"_DCSPb_Rayl", (PyCFunction)__pyx_pw_10xraylib_np_115_DCSPb_Rayl, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_115_DCSPb_Rayl(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
double __pyx_v_arg4;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSPb_Rayl (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,&__pyx_n_s_arg4,0};
PyObject* values[4] = {0,0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Rayl", 1, 4, 4, 1); __PYX_ERR(0, 1701, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Rayl", 1, 4, 4, 2); __PYX_ERR(0, 1701, __pyx_L3_error)
}
case 3:
if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg4)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Rayl", 1, 4, 4, 3); __PYX_ERR(0, 1701, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSPb_Rayl") < 0)) __PYX_ERR(0, 1701, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L3_error)
__pyx_v_arg4 = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_arg4 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSPb_Rayl", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1701, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSPb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_114_DCSPb_Rayl(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_114_DCSPb_Rayl(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSPb_Rayl", 0);
/* "xraylib_np.pyx":1702
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4) # <<<<<<<<<<<<<<
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSPb_Rayl(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1702, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1701
* def _DCSP_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSP_Compt(arg1, arg2, arg3, arg4)
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSPb_Rayl", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1703
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
* def _ComptonProfile(np.int_t arg1, double arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_117_DCSPb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_117_DCSPb_Compt = {"_DCSPb_Compt", (PyCFunction)__pyx_pw_10xraylib_np_117_DCSPb_Compt, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_117_DCSPb_Compt(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
double __pyx_v_arg3;
double __pyx_v_arg4;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_DCSPb_Compt (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,&__pyx_n_s_arg4,0};
PyObject* values[4] = {0,0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Compt", 1, 4, 4, 1); __PYX_ERR(0, 1703, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Compt", 1, 4, 4, 2); __PYX_ERR(0, 1703, __pyx_L3_error)
}
case 3:
if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg4)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_DCSPb_Compt", 1, 4, 4, 3); __PYX_ERR(0, 1703, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_DCSPb_Compt") < 0)) __PYX_ERR(0, 1703, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 4) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1703, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1703, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1703, __pyx_L3_error)
__pyx_v_arg4 = __pyx_PyFloat_AsDouble(values[3]); if (unlikely((__pyx_v_arg4 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1703, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_DCSPb_Compt", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1703, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._DCSPb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_116_DCSPb_Compt(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_116_DCSPb_Compt(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2, double __pyx_v_arg3, double __pyx_v_arg4) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_DCSPb_Compt", 0);
/* "xraylib_np.pyx":1704
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4) # <<<<<<<<<<<<<<
* def _ComptonProfile(np.int_t arg1, double arg2):
* return xrl.ComptonProfile(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(DCSPb_Compt(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3, __pyx_v_arg4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1704, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1703
* def _DCSPb_Rayl(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Rayl(arg1, arg2, arg3, arg4)
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4): # <<<<<<<<<<<<<<
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
* def _ComptonProfile(np.int_t arg1, double arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._DCSPb_Compt", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1705
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
* def _ComptonProfile(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.ComptonProfile(arg1, arg2)
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_119_ComptonProfile(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_119_ComptonProfile = {"_ComptonProfile", (PyCFunction)__pyx_pw_10xraylib_np_119_ComptonProfile, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_119_ComptonProfile(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
double __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_ComptonProfile (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_ComptonProfile", 1, 2, 2, 1); __PYX_ERR(0, 1705, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_ComptonProfile") < 0)) __PYX_ERR(0, 1705, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1705, __pyx_L3_error)
__pyx_v_arg2 = __pyx_PyFloat_AsDouble(values[1]); if (unlikely((__pyx_v_arg2 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1705, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_ComptonProfile", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1705, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._ComptonProfile", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_118_ComptonProfile(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_118_ComptonProfile(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, double __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_ComptonProfile", 0);
/* "xraylib_np.pyx":1706
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
* def _ComptonProfile(np.int_t arg1, double arg2):
* return xrl.ComptonProfile(arg1, arg2) # <<<<<<<<<<<<<<
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(ComptonProfile(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1706, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1705
* def _DCSPb_Compt(np.int_t arg1, double arg2, double arg3, double arg4):
* return xrl.DCSPb_Compt(arg1, arg2, arg3, arg4)
* def _ComptonProfile(np.int_t arg1, double arg2): # <<<<<<<<<<<<<<
* return xrl.ComptonProfile(arg1, arg2)
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._ComptonProfile", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1707
* def _ComptonProfile(np.int_t arg1, double arg2):
* return xrl.ComptonProfile(arg1, arg2)
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_121_ComptonProfile_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_121_ComptonProfile_Partial = {"_ComptonProfile_Partial", (PyCFunction)__pyx_pw_10xraylib_np_121_ComptonProfile_Partial, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_121_ComptonProfile_Partial(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_ComptonProfile_Partial (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_ComptonProfile_Partial", 1, 3, 3, 1); __PYX_ERR(0, 1707, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_ComptonProfile_Partial", 1, 3, 3, 2); __PYX_ERR(0, 1707, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_ComptonProfile_Partial") < 0)) __PYX_ERR(0, 1707, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1707, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1707, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1707, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_ComptonProfile_Partial", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1707, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._ComptonProfile_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_120_ComptonProfile_Partial(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_120_ComptonProfile_Partial(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_ComptonProfile_Partial", 0);
/* "xraylib_np.pyx":1708
* return xrl.ComptonProfile(arg1, arg2)
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
* return xrl.ElectronConfig(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(ComptonProfile_Partial(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1708, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1707
* def _ComptonProfile(np.int_t arg1, double arg2):
* return xrl.ComptonProfile(arg1, arg2)
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._ComptonProfile_Partial", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1709
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
* def _ElectronConfig(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.ElectronConfig(arg1, arg2)
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_123_ElectronConfig(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_123_ElectronConfig = {"_ElectronConfig", (PyCFunction)__pyx_pw_10xraylib_np_123_ElectronConfig, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_123_ElectronConfig(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_ElectronConfig (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_ElectronConfig", 1, 2, 2, 1); __PYX_ERR(0, 1709, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_ElectronConfig") < 0)) __PYX_ERR(0, 1709, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1709, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1709, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_ElectronConfig", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1709, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._ElectronConfig", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_122_ElectronConfig(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_122_ElectronConfig(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_ElectronConfig", 0);
/* "xraylib_np.pyx":1710
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
* return xrl.ElectronConfig(arg1, arg2) # <<<<<<<<<<<<<<
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
* return xrl.AtomicLevelWidth(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(ElectronConfig(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1710, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1709
* def _ComptonProfile_Partial(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.ComptonProfile_Partial(arg1, arg2, arg3)
* def _ElectronConfig(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.ElectronConfig(arg1, arg2)
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._ElectronConfig", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1711
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
* return xrl.ElectronConfig(arg1, arg2)
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AtomicLevelWidth(arg1, arg2)
* def _AugerRate(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_125_AtomicLevelWidth(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_125_AtomicLevelWidth = {"_AtomicLevelWidth", (PyCFunction)__pyx_pw_10xraylib_np_125_AtomicLevelWidth, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_125_AtomicLevelWidth(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_AtomicLevelWidth (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_AtomicLevelWidth", 1, 2, 2, 1); __PYX_ERR(0, 1711, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_AtomicLevelWidth") < 0)) __PYX_ERR(0, 1711, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1711, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1711, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_AtomicLevelWidth", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1711, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._AtomicLevelWidth", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_124_AtomicLevelWidth(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_124_AtomicLevelWidth(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_AtomicLevelWidth", 0);
/* "xraylib_np.pyx":1712
* return xrl.ElectronConfig(arg1, arg2)
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
* return xrl.AtomicLevelWidth(arg1, arg2) # <<<<<<<<<<<<<<
* def _AugerRate(np.int_t arg1, np.int_t arg2):
* return xrl.AugerRate(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(AtomicLevelWidth(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1712, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1711
* def _ElectronConfig(np.int_t arg1, np.int_t arg2):
* return xrl.ElectronConfig(arg1, arg2)
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AtomicLevelWidth(arg1, arg2)
* def _AugerRate(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._AtomicLevelWidth", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1713
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
* return xrl.AtomicLevelWidth(arg1, arg2)
* def _AugerRate(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AugerRate(arg1, arg2)
* def _AugerYield(np.int_t arg1, np.int_t arg2):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_127_AugerRate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_127_AugerRate = {"_AugerRate", (PyCFunction)__pyx_pw_10xraylib_np_127_AugerRate, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_127_AugerRate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_AugerRate (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_AugerRate", 1, 2, 2, 1); __PYX_ERR(0, 1713, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_AugerRate") < 0)) __PYX_ERR(0, 1713, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1713, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1713, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_AugerRate", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1713, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._AugerRate", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_126_AugerRate(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_126_AugerRate(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_AugerRate", 0);
/* "xraylib_np.pyx":1714
* return xrl.AtomicLevelWidth(arg1, arg2)
* def _AugerRate(np.int_t arg1, np.int_t arg2):
* return xrl.AugerRate(arg1, arg2) # <<<<<<<<<<<<<<
* def _AugerYield(np.int_t arg1, np.int_t arg2):
* return xrl.AugerYield(arg1, arg2)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(AugerRate(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1714, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1713
* def _AtomicLevelWidth(np.int_t arg1, np.int_t arg2):
* return xrl.AtomicLevelWidth(arg1, arg2)
* def _AugerRate(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AugerRate(arg1, arg2)
* def _AugerYield(np.int_t arg1, np.int_t arg2):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._AugerRate", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1715
* def _AugerRate(np.int_t arg1, np.int_t arg2):
* return xrl.AugerRate(arg1, arg2)
* def _AugerYield(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AugerYield(arg1, arg2)
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_129_AugerYield(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_129_AugerYield = {"_AugerYield", (PyCFunction)__pyx_pw_10xraylib_np_129_AugerYield, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_129_AugerYield(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_AugerYield (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,0};
PyObject* values[2] = {0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_AugerYield", 1, 2, 2, 1); __PYX_ERR(0, 1715, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_AugerYield") < 0)) __PYX_ERR(0, 1715, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1715, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1715, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_AugerYield", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1715, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._AugerYield", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_128_AugerYield(__pyx_self, __pyx_v_arg1, __pyx_v_arg2);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_128_AugerYield(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_AugerYield", 0);
/* "xraylib_np.pyx":1716
* return xrl.AugerRate(arg1, arg2)
* def _AugerYield(np.int_t arg1, np.int_t arg2):
* return xrl.AugerYield(arg1, arg2) # <<<<<<<<<<<<<<
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(AugerYield(__pyx_v_arg1, __pyx_v_arg2)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1716, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1715
* def _AugerRate(np.int_t arg1, np.int_t arg2):
* return xrl.AugerRate(arg1, arg2)
* def _AugerYield(np.int_t arg1, np.int_t arg2): # <<<<<<<<<<<<<<
* return xrl.AugerYield(arg1, arg2)
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._AugerYield", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1717
* def _AugerYield(np.int_t arg1, np.int_t arg2):
* return xrl.AugerYield(arg1, arg2)
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_131_CS_FluorLine_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_131_CS_FluorLine_Kissel = {"_CS_FluorLine_Kissel", (PyCFunction)__pyx_pw_10xraylib_np_131_CS_FluorLine_Kissel, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_131_CS_FluorLine_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel", 1, 3, 3, 1); __PYX_ERR(0, 1717, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel", 1, 3, 3, 2); __PYX_ERR(0, 1717, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine_Kissel") < 0)) __PYX_ERR(0, 1717, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1717, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1717, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1717, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1717, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_130_CS_FluorLine_Kissel(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_130_CS_FluorLine_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel", 0);
/* "xraylib_np.pyx":1718
* return xrl.AugerYield(arg1, arg2)
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine_Kissel(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1718, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1717
* def _AugerYield(np.int_t arg1, np.int_t arg2):
* return xrl.AugerYield(arg1, arg2)
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1719
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_133_CSb_FluorLine_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_133_CSb_FluorLine_Kissel = {"_CSb_FluorLine_Kissel", (PyCFunction)__pyx_pw_10xraylib_np_133_CSb_FluorLine_Kissel, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_133_CSb_FluorLine_Kissel(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel", 1, 3, 3, 1); __PYX_ERR(0, 1719, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel", 1, 3, 3, 2); __PYX_ERR(0, 1719, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine_Kissel") < 0)) __PYX_ERR(0, 1719, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1719, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1719, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1719, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1719, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_132_CSb_FluorLine_Kissel(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_132_CSb_FluorLine_Kissel(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel", 0);
/* "xraylib_np.pyx":1720
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine_Kissel(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1720, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1719
* def _CS_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1721
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_135_CS_FluorLine_Kissel_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_135_CS_FluorLine_Kissel_Cascade = {"_CS_FluorLine_Kissel_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_135_CS_FluorLine_Kissel_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_135_CS_FluorLine_Kissel_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1721, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1721, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine_Kissel_Cascade") < 0)) __PYX_ERR(0, 1721, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1721, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1721, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1721, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1721, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_134_CS_FluorLine_Kissel_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_134_CS_FluorLine_Kissel_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Cascade", 0);
/* "xraylib_np.pyx":1722
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine_Kissel_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1722, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1721
* def _CSb_FluorLine_Kissel(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1723
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_137_CSb_FluorLine_Kissel_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_137_CSb_FluorLine_Kissel_Cascade = {"_CSb_FluorLine_Kissel_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_137_CSb_FluorLine_Kissel_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_137_CSb_FluorLine_Kissel_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1723, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1723, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine_Kissel_Cascade") < 0)) __PYX_ERR(0, 1723, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1723, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1723, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1723, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1723, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_136_CSb_FluorLine_Kissel_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_136_CSb_FluorLine_Kissel_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Cascade", 0);
/* "xraylib_np.pyx":1724
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine_Kissel_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1724, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1723
* def _CS_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1725
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_139_CS_FluorLine_Kissel_no_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_139_CS_FluorLine_Kissel_no_Cascade = {"_CS_FluorLine_Kissel_no_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_139_CS_FluorLine_Kissel_no_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_139_CS_FluorLine_Kissel_no_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_no_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_no_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1725, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_no_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1725, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine_Kissel_no_Cascade") < 0)) __PYX_ERR(0, 1725, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1725, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1725, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1725, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_no_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1725, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_no_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_138_CS_FluorLine_Kissel_no_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_138_CS_FluorLine_Kissel_no_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_no_Cascade", 0);
/* "xraylib_np.pyx":1726
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine_Kissel_no_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1726, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1725
* def _CSb_FluorLine_Kissel_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_no_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1727
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_141_CSb_FluorLine_Kissel_no_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_141_CSb_FluorLine_Kissel_no_Cascade = {"_CSb_FluorLine_Kissel_no_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_141_CSb_FluorLine_Kissel_no_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_141_CSb_FluorLine_Kissel_no_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_no_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_no_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1727, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_no_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1727, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine_Kissel_no_Cascade") < 0)) __PYX_ERR(0, 1727, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1727, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1727, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1727, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_no_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1727, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_no_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_140_CSb_FluorLine_Kissel_no_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_140_CSb_FluorLine_Kissel_no_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_no_Cascade", 0);
/* "xraylib_np.pyx":1728
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine_Kissel_no_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1728, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1727
* def _CS_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_no_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1729
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_143_CS_FluorLine_Kissel_Nonradiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_143_CS_FluorLine_Kissel_Nonradiative_Cascade = {"_CS_FluorLine_Kissel_Nonradiative_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_143_CS_FluorLine_Kissel_Nonradiative_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_143_CS_FluorLine_Kissel_Nonradiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Nonradiative_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1729, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1729, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine_Kissel_Nonradiative_Cascade") < 0)) __PYX_ERR(0, 1729, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1729, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1729, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1729, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1729, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Nonradiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_142_CS_FluorLine_Kissel_Nonradiative_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_142_CS_FluorLine_Kissel_Nonradiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Nonradiative_Cascade", 0);
/* "xraylib_np.pyx":1730
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine_Kissel_Nonradiative_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1730, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1729
* def _CSb_FluorLine_Kissel_no_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_no_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Nonradiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1731
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_145_CSb_FluorLine_Kissel_Nonradiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_145_CSb_FluorLine_Kissel_Nonradiative_Cascade = {"_CSb_FluorLine_Kissel_Nonradiative_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_145_CSb_FluorLine_Kissel_Nonradiative_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_145_CSb_FluorLine_Kissel_Nonradiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Nonradiative_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1731, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1731, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine_Kissel_Nonradiative_Cascade") < 0)) __PYX_ERR(0, 1731, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1731, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1731, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1731, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Nonradiative_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1731, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Nonradiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_144_CSb_FluorLine_Kissel_Nonradiative_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_144_CSb_FluorLine_Kissel_Nonradiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Nonradiative_Cascade", 0);
/* "xraylib_np.pyx":1732
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine_Kissel_Nonradiative_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1732, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1731
* def _CS_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Nonradiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1733
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_147_CS_FluorLine_Kissel_Radiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_147_CS_FluorLine_Kissel_Radiative_Cascade = {"_CS_FluorLine_Kissel_Radiative_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_147_CS_FluorLine_Kissel_Radiative_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_147_CS_FluorLine_Kissel_Radiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Radiative_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1733, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1733, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CS_FluorLine_Kissel_Radiative_Cascade") < 0)) __PYX_ERR(0, 1733, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1733, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1733, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1733, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CS_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1733, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Radiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_146_CS_FluorLine_Kissel_Radiative_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_146_CS_FluorLine_Kissel_Radiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CS_FluorLine_Kissel_Radiative_Cascade", 0);
/* "xraylib_np.pyx":1734
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CS_FluorLine_Kissel_Radiative_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1734, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1733
* def _CSb_FluorLine_Kissel_Nonradiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Nonradiative_Cascade(arg1, arg2, arg3)
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CS_FluorLine_Kissel_Radiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "xraylib_np.pyx":1735
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* ElementDensity = XRL_1I(_ElementDensity)
*/
/* Python wrapper */
static PyObject *__pyx_pw_10xraylib_np_149_CSb_FluorLine_Kissel_Radiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_10xraylib_np_149_CSb_FluorLine_Kissel_Radiative_Cascade = {"_CSb_FluorLine_Kissel_Radiative_Cascade", (PyCFunction)__pyx_pw_10xraylib_np_149_CSb_FluorLine_Kissel_Radiative_Cascade, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_10xraylib_np_149_CSb_FluorLine_Kissel_Radiative_Cascade(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
__pyx_t_5numpy_int_t __pyx_v_arg1;
__pyx_t_5numpy_int_t __pyx_v_arg2;
double __pyx_v_arg3;
PyObject *__pyx_r = 0;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Radiative_Cascade (wrapper)", 0);
{
static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_arg1,&__pyx_n_s_arg2,&__pyx_n_s_arg3,0};
PyObject* values[3] = {0,0,0};
if (unlikely(__pyx_kwds)) {
Py_ssize_t kw_args;
const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
switch (pos_args) {
case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
case 0: break;
default: goto __pyx_L5_argtuple_error;
}
kw_args = PyDict_Size(__pyx_kwds);
switch (pos_args) {
case 0:
if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg1)) != 0)) kw_args--;
else goto __pyx_L5_argtuple_error;
case 1:
if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg2)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, 1); __PYX_ERR(0, 1735, __pyx_L3_error)
}
case 2:
if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_arg3)) != 0)) kw_args--;
else {
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, 2); __PYX_ERR(0, 1735, __pyx_L3_error)
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_CSb_FluorLine_Kissel_Radiative_Cascade") < 0)) __PYX_ERR(0, 1735, __pyx_L3_error)
}
} else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
goto __pyx_L5_argtuple_error;
} else {
values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
}
__pyx_v_arg1 = __Pyx_PyInt_As_npy_long(values[0]); if (unlikely((__pyx_v_arg1 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1735, __pyx_L3_error)
__pyx_v_arg2 = __Pyx_PyInt_As_npy_long(values[1]); if (unlikely((__pyx_v_arg2 == ((npy_long)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1735, __pyx_L3_error)
__pyx_v_arg3 = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_arg3 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 1735, __pyx_L3_error)
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("_CSb_FluorLine_Kissel_Radiative_Cascade", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1735, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Radiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
return NULL;
__pyx_L4_argument_unpacking_done:;
__pyx_r = __pyx_pf_10xraylib_np_148_CSb_FluorLine_Kissel_Radiative_Cascade(__pyx_self, __pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3);
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static PyObject *__pyx_pf_10xraylib_np_148_CSb_FluorLine_Kissel_Radiative_Cascade(CYTHON_UNUSED PyObject *__pyx_self, __pyx_t_5numpy_int_t __pyx_v_arg1, __pyx_t_5numpy_int_t __pyx_v_arg2, double __pyx_v_arg3) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("_CSb_FluorLine_Kissel_Radiative_Cascade", 0);
/* "xraylib_np.pyx":1736
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CSb_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3) # <<<<<<<<<<<<<<
* ElementDensity = XRL_1I(_ElementDensity)
* CS_KN = XRL_1F(_CS_KN)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyFloat_FromDouble(CSb_FluorLine_Kissel_Radiative_Cascade(__pyx_v_arg1, __pyx_v_arg2, __pyx_v_arg3)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1736, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "xraylib_np.pyx":1735
* def _CS_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3):
* return xrl.CS_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* def _CSb_FluorLine_Kissel_Radiative_Cascade(np.int_t arg1, np.int_t arg2, double arg3): # <<<<<<<<<<<<<<
* return xrl.CSb_FluorLine_Kissel_Radiative_Cascade(arg1, arg2, arg3)
* ElementDensity = XRL_1I(_ElementDensity)
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("xraylib_np._CSb_FluorLine_Kissel_Radiative_Cascade", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":197
* # experimental exception made for __getbuffer__ and __releasebuffer__
* # -- the details of this may change.
* def __getbuffer__(ndarray self, Py_buffer* info, int flags): # <<<<<<<<<<<<<<
* # This implementation of getbuffer is geared towards Cython
* # requirements, and does not yet fullfill the PEP.
*/
/* Python wrapper */
static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/
static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
int __pyx_r;
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("__getbuffer__ (wrapper)", 0);
__pyx_r = __pyx_pf_5numpy_7ndarray___getbuffer__(((PyArrayObject *)__pyx_v_self), ((Py_buffer *)__pyx_v_info), ((int)__pyx_v_flags));
/* function exit code */
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
int __pyx_v_copy_shape;
int __pyx_v_i;
int __pyx_v_ndim;
int __pyx_v_endian_detector;
int __pyx_v_little_endian;
int __pyx_v_t;
char *__pyx_v_f;
PyArray_Descr *__pyx_v_descr = 0;
int __pyx_v_offset;
int __pyx_v_hasfields;
int __pyx_r;
__Pyx_RefNannyDeclarations
int __pyx_t_1;
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
int __pyx_t_4;
int __pyx_t_5;
PyObject *__pyx_t_6 = NULL;
char *__pyx_t_7;
__Pyx_RefNannySetupContext("__getbuffer__", 0);
if (__pyx_v_info != NULL) {
__pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
__Pyx_GIVEREF(__pyx_v_info->obj);
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":203
* # of flags
*
* if info == NULL: return # <<<<<<<<<<<<<<
*
* cdef int copy_shape, i, ndim
*/
__pyx_t_1 = ((__pyx_v_info == NULL) != 0);
if (__pyx_t_1) {
__pyx_r = 0;
goto __pyx_L0;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":206
*
* cdef int copy_shape, i, ndim
* cdef int endian_detector = 1 # <<<<<<<<<<<<<<
* cdef bint little_endian = ((<char*>&endian_detector)[0] != 0)
*
*/
__pyx_v_endian_detector = 1;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":207
* cdef int copy_shape, i, ndim
* cdef int endian_detector = 1
* cdef bint little_endian = ((<char*>&endian_detector)[0] != 0) # <<<<<<<<<<<<<<
*
* ndim = PyArray_NDIM(self)
*/
__pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":209
* cdef bint little_endian = ((<char*>&endian_detector)[0] != 0)
*
* ndim = PyArray_NDIM(self) # <<<<<<<<<<<<<<
*
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
*/
__pyx_v_ndim = PyArray_NDIM(__pyx_v_self);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":211
* ndim = PyArray_NDIM(self)
*
* if sizeof(npy_intp) != sizeof(Py_ssize_t): # <<<<<<<<<<<<<<
* copy_shape = 1
* else:
*/
__pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":212
*
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
* copy_shape = 1 # <<<<<<<<<<<<<<
* else:
* copy_shape = 0
*/
__pyx_v_copy_shape = 1;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":211
* ndim = PyArray_NDIM(self)
*
* if sizeof(npy_intp) != sizeof(Py_ssize_t): # <<<<<<<<<<<<<<
* copy_shape = 1
* else:
*/
goto __pyx_L4;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":214
* copy_shape = 1
* else:
* copy_shape = 0 # <<<<<<<<<<<<<<
*
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
*/
/*else*/ {
__pyx_v_copy_shape = 0;
}
__pyx_L4:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":216
* copy_shape = 0
*
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
* raise ValueError(u"ndarray is not C contiguous")
*/
__pyx_t_2 = (((__pyx_v_flags & PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS) != 0);
if (__pyx_t_2) {
} else {
__pyx_t_1 = __pyx_t_2;
goto __pyx_L6_bool_binop_done;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":217
*
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
* and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)): # <<<<<<<<<<<<<<
* raise ValueError(u"ndarray is not C contiguous")
*
*/
__pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_C_CONTIGUOUS) != 0)) != 0);
__pyx_t_1 = __pyx_t_2;
__pyx_L6_bool_binop_done:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":216
* copy_shape = 0
*
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
* raise ValueError(u"ndarray is not C contiguous")
*/
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":218
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
* and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
* raise ValueError(u"ndarray is not C contiguous") # <<<<<<<<<<<<<<
*
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
*/
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 218, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 218, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":216
* copy_shape = 0
*
* if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
* raise ValueError(u"ndarray is not C contiguous")
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":220
* raise ValueError(u"ndarray is not C contiguous")
*
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
* raise ValueError(u"ndarray is not Fortran contiguous")
*/
__pyx_t_2 = (((__pyx_v_flags & PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS) != 0);
if (__pyx_t_2) {
} else {
__pyx_t_1 = __pyx_t_2;
goto __pyx_L9_bool_binop_done;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":221
*
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
* and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)): # <<<<<<<<<<<<<<
* raise ValueError(u"ndarray is not Fortran contiguous")
*
*/
__pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_F_CONTIGUOUS) != 0)) != 0);
__pyx_t_1 = __pyx_t_2;
__pyx_L9_bool_binop_done:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":220
* raise ValueError(u"ndarray is not C contiguous")
*
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
* raise ValueError(u"ndarray is not Fortran contiguous")
*/
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":222
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
* and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
* raise ValueError(u"ndarray is not Fortran contiguous") # <<<<<<<<<<<<<<
*
* info.buf = PyArray_DATA(self)
*/
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 222, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 222, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":220
* raise ValueError(u"ndarray is not C contiguous")
*
* if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS) # <<<<<<<<<<<<<<
* and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
* raise ValueError(u"ndarray is not Fortran contiguous")
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":224
* raise ValueError(u"ndarray is not Fortran contiguous")
*
* info.buf = PyArray_DATA(self) # <<<<<<<<<<<<<<
* info.ndim = ndim
* if copy_shape:
*/
__pyx_v_info->buf = PyArray_DATA(__pyx_v_self);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":225
*
* info.buf = PyArray_DATA(self)
* info.ndim = ndim # <<<<<<<<<<<<<<
* if copy_shape:
* # Allocate new buffer for strides and shape info.
*/
__pyx_v_info->ndim = __pyx_v_ndim;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":226
* info.buf = PyArray_DATA(self)
* info.ndim = ndim
* if copy_shape: # <<<<<<<<<<<<<<
* # Allocate new buffer for strides and shape info.
* # This is allocated as one block, strides first.
*/
__pyx_t_1 = (__pyx_v_copy_shape != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":229
* # Allocate new buffer for strides and shape info.
* # This is allocated as one block, strides first.
* info.strides = <Py_ssize_t*>stdlib.malloc(sizeof(Py_ssize_t) * <size_t>ndim * 2) # <<<<<<<<<<<<<<
* info.shape = info.strides + ndim
* for i in range(ndim):
*/
__pyx_v_info->strides = ((Py_ssize_t *)malloc((((sizeof(Py_ssize_t)) * ((size_t)__pyx_v_ndim)) * 2)));
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":230
* # This is allocated as one block, strides first.
* info.strides = <Py_ssize_t*>stdlib.malloc(sizeof(Py_ssize_t) * <size_t>ndim * 2)
* info.shape = info.strides + ndim # <<<<<<<<<<<<<<
* for i in range(ndim):
* info.strides[i] = PyArray_STRIDES(self)[i]
*/
__pyx_v_info->shape = (__pyx_v_info->strides + __pyx_v_ndim);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":231
* info.strides = <Py_ssize_t*>stdlib.malloc(sizeof(Py_ssize_t) * <size_t>ndim * 2)
* info.shape = info.strides + ndim
* for i in range(ndim): # <<<<<<<<<<<<<<
* info.strides[i] = PyArray_STRIDES(self)[i]
* info.shape[i] = PyArray_DIMS(self)[i]
*/
__pyx_t_4 = __pyx_v_ndim;
for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
__pyx_v_i = __pyx_t_5;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":232
* info.shape = info.strides + ndim
* for i in range(ndim):
* info.strides[i] = PyArray_STRIDES(self)[i] # <<<<<<<<<<<<<<
* info.shape[i] = PyArray_DIMS(self)[i]
* else:
*/
(__pyx_v_info->strides[__pyx_v_i]) = (PyArray_STRIDES(__pyx_v_self)[__pyx_v_i]);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":233
* for i in range(ndim):
* info.strides[i] = PyArray_STRIDES(self)[i]
* info.shape[i] = PyArray_DIMS(self)[i] # <<<<<<<<<<<<<<
* else:
* info.strides = <Py_ssize_t*>PyArray_STRIDES(self)
*/
(__pyx_v_info->shape[__pyx_v_i]) = (PyArray_DIMS(__pyx_v_self)[__pyx_v_i]);
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":226
* info.buf = PyArray_DATA(self)
* info.ndim = ndim
* if copy_shape: # <<<<<<<<<<<<<<
* # Allocate new buffer for strides and shape info.
* # This is allocated as one block, strides first.
*/
goto __pyx_L11;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":235
* info.shape[i] = PyArray_DIMS(self)[i]
* else:
* info.strides = <Py_ssize_t*>PyArray_STRIDES(self) # <<<<<<<<<<<<<<
* info.shape = <Py_ssize_t*>PyArray_DIMS(self)
* info.suboffsets = NULL
*/
/*else*/ {
__pyx_v_info->strides = ((Py_ssize_t *)PyArray_STRIDES(__pyx_v_self));
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":236
* else:
* info.strides = <Py_ssize_t*>PyArray_STRIDES(self)
* info.shape = <Py_ssize_t*>PyArray_DIMS(self) # <<<<<<<<<<<<<<
* info.suboffsets = NULL
* info.itemsize = PyArray_ITEMSIZE(self)
*/
__pyx_v_info->shape = ((Py_ssize_t *)PyArray_DIMS(__pyx_v_self));
}
__pyx_L11:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":237
* info.strides = <Py_ssize_t*>PyArray_STRIDES(self)
* info.shape = <Py_ssize_t*>PyArray_DIMS(self)
* info.suboffsets = NULL # <<<<<<<<<<<<<<
* info.itemsize = PyArray_ITEMSIZE(self)
* info.readonly = not PyArray_ISWRITEABLE(self)
*/
__pyx_v_info->suboffsets = NULL;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":238
* info.shape = <Py_ssize_t*>PyArray_DIMS(self)
* info.suboffsets = NULL
* info.itemsize = PyArray_ITEMSIZE(self) # <<<<<<<<<<<<<<
* info.readonly = not PyArray_ISWRITEABLE(self)
*
*/
__pyx_v_info->itemsize = PyArray_ITEMSIZE(__pyx_v_self);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":239
* info.suboffsets = NULL
* info.itemsize = PyArray_ITEMSIZE(self)
* info.readonly = not PyArray_ISWRITEABLE(self) # <<<<<<<<<<<<<<
*
* cdef int t
*/
__pyx_v_info->readonly = (!(PyArray_ISWRITEABLE(__pyx_v_self) != 0));
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":242
*
* cdef int t
* cdef char* f = NULL # <<<<<<<<<<<<<<
* cdef dtype descr = self.descr
* cdef int offset
*/
__pyx_v_f = NULL;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":243
* cdef int t
* cdef char* f = NULL
* cdef dtype descr = self.descr # <<<<<<<<<<<<<<
* cdef int offset
*
*/
__pyx_t_3 = ((PyObject *)__pyx_v_self->descr);
__Pyx_INCREF(__pyx_t_3);
__pyx_v_descr = ((PyArray_Descr *)__pyx_t_3);
__pyx_t_3 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":246
* cdef int offset
*
* cdef bint hasfields = PyDataType_HASFIELDS(descr) # <<<<<<<<<<<<<<
*
* if not hasfields and not copy_shape:
*/
__pyx_v_hasfields = PyDataType_HASFIELDS(__pyx_v_descr);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":248
* cdef bint hasfields = PyDataType_HASFIELDS(descr)
*
* if not hasfields and not copy_shape: # <<<<<<<<<<<<<<
* # do not call releasebuffer
* info.obj = None
*/
__pyx_t_2 = ((!(__pyx_v_hasfields != 0)) != 0);
if (__pyx_t_2) {
} else {
__pyx_t_1 = __pyx_t_2;
goto __pyx_L15_bool_binop_done;
}
__pyx_t_2 = ((!(__pyx_v_copy_shape != 0)) != 0);
__pyx_t_1 = __pyx_t_2;
__pyx_L15_bool_binop_done:;
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":250
* if not hasfields and not copy_shape:
* # do not call releasebuffer
* info.obj = None # <<<<<<<<<<<<<<
* else:
* # need to call releasebuffer
*/
__Pyx_INCREF(Py_None);
__Pyx_GIVEREF(Py_None);
__Pyx_GOTREF(__pyx_v_info->obj);
__Pyx_DECREF(__pyx_v_info->obj);
__pyx_v_info->obj = Py_None;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":248
* cdef bint hasfields = PyDataType_HASFIELDS(descr)
*
* if not hasfields and not copy_shape: # <<<<<<<<<<<<<<
* # do not call releasebuffer
* info.obj = None
*/
goto __pyx_L14;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":253
* else:
* # need to call releasebuffer
* info.obj = self # <<<<<<<<<<<<<<
*
* if not hasfields:
*/
/*else*/ {
__Pyx_INCREF(((PyObject *)__pyx_v_self));
__Pyx_GIVEREF(((PyObject *)__pyx_v_self));
__Pyx_GOTREF(__pyx_v_info->obj);
__Pyx_DECREF(__pyx_v_info->obj);
__pyx_v_info->obj = ((PyObject *)__pyx_v_self);
}
__pyx_L14:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":255
* info.obj = self
*
* if not hasfields: # <<<<<<<<<<<<<<
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or
*/
__pyx_t_1 = ((!(__pyx_v_hasfields != 0)) != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":256
*
* if not hasfields:
* t = descr.type_num # <<<<<<<<<<<<<<
* if ((descr.byteorder == c'>' and little_endian) or
* (descr.byteorder == c'<' and not little_endian)):
*/
__pyx_t_4 = __pyx_v_descr->type_num;
__pyx_v_t = __pyx_t_4;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":257
* if not hasfields:
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (descr.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
__pyx_t_2 = ((__pyx_v_descr->byteorder == '>') != 0);
if (!__pyx_t_2) {
goto __pyx_L20_next_or;
} else {
}
__pyx_t_2 = (__pyx_v_little_endian != 0);
if (!__pyx_t_2) {
} else {
__pyx_t_1 = __pyx_t_2;
goto __pyx_L19_bool_binop_done;
}
__pyx_L20_next_or:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":258
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or
* (descr.byteorder == c'<' and not little_endian)): # <<<<<<<<<<<<<<
* raise ValueError(u"Non-native byte order not supported")
* if t == NPY_BYTE: f = "b"
*/
__pyx_t_2 = ((__pyx_v_descr->byteorder == '<') != 0);
if (__pyx_t_2) {
} else {
__pyx_t_1 = __pyx_t_2;
goto __pyx_L19_bool_binop_done;
}
__pyx_t_2 = ((!(__pyx_v_little_endian != 0)) != 0);
__pyx_t_1 = __pyx_t_2;
__pyx_L19_bool_binop_done:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":257
* if not hasfields:
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (descr.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":259
* if ((descr.byteorder == c'>' and little_endian) or
* (descr.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported") # <<<<<<<<<<<<<<
* if t == NPY_BYTE: f = "b"
* elif t == NPY_UBYTE: f = "B"
*/
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__21, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 259, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 259, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":257
* if not hasfields:
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (descr.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":260
* (descr.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
* if t == NPY_BYTE: f = "b" # <<<<<<<<<<<<<<
* elif t == NPY_UBYTE: f = "B"
* elif t == NPY_SHORT: f = "h"
*/
switch (__pyx_v_t) {
case NPY_BYTE:
__pyx_v_f = ((char *)"b");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":261
* raise ValueError(u"Non-native byte order not supported")
* if t == NPY_BYTE: f = "b"
* elif t == NPY_UBYTE: f = "B" # <<<<<<<<<<<<<<
* elif t == NPY_SHORT: f = "h"
* elif t == NPY_USHORT: f = "H"
*/
case NPY_UBYTE:
__pyx_v_f = ((char *)"B");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":262
* if t == NPY_BYTE: f = "b"
* elif t == NPY_UBYTE: f = "B"
* elif t == NPY_SHORT: f = "h" # <<<<<<<<<<<<<<
* elif t == NPY_USHORT: f = "H"
* elif t == NPY_INT: f = "i"
*/
case NPY_SHORT:
__pyx_v_f = ((char *)"h");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":263
* elif t == NPY_UBYTE: f = "B"
* elif t == NPY_SHORT: f = "h"
* elif t == NPY_USHORT: f = "H" # <<<<<<<<<<<<<<
* elif t == NPY_INT: f = "i"
* elif t == NPY_UINT: f = "I"
*/
case NPY_USHORT:
__pyx_v_f = ((char *)"H");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":264
* elif t == NPY_SHORT: f = "h"
* elif t == NPY_USHORT: f = "H"
* elif t == NPY_INT: f = "i" # <<<<<<<<<<<<<<
* elif t == NPY_UINT: f = "I"
* elif t == NPY_LONG: f = "l"
*/
case NPY_INT:
__pyx_v_f = ((char *)"i");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":265
* elif t == NPY_USHORT: f = "H"
* elif t == NPY_INT: f = "i"
* elif t == NPY_UINT: f = "I" # <<<<<<<<<<<<<<
* elif t == NPY_LONG: f = "l"
* elif t == NPY_ULONG: f = "L"
*/
case NPY_UINT:
__pyx_v_f = ((char *)"I");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":266
* elif t == NPY_INT: f = "i"
* elif t == NPY_UINT: f = "I"
* elif t == NPY_LONG: f = "l" # <<<<<<<<<<<<<<
* elif t == NPY_ULONG: f = "L"
* elif t == NPY_LONGLONG: f = "q"
*/
case NPY_LONG:
__pyx_v_f = ((char *)"l");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":267
* elif t == NPY_UINT: f = "I"
* elif t == NPY_LONG: f = "l"
* elif t == NPY_ULONG: f = "L" # <<<<<<<<<<<<<<
* elif t == NPY_LONGLONG: f = "q"
* elif t == NPY_ULONGLONG: f = "Q"
*/
case NPY_ULONG:
__pyx_v_f = ((char *)"L");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":268
* elif t == NPY_LONG: f = "l"
* elif t == NPY_ULONG: f = "L"
* elif t == NPY_LONGLONG: f = "q" # <<<<<<<<<<<<<<
* elif t == NPY_ULONGLONG: f = "Q"
* elif t == NPY_FLOAT: f = "f"
*/
case NPY_LONGLONG:
__pyx_v_f = ((char *)"q");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":269
* elif t == NPY_ULONG: f = "L"
* elif t == NPY_LONGLONG: f = "q"
* elif t == NPY_ULONGLONG: f = "Q" # <<<<<<<<<<<<<<
* elif t == NPY_FLOAT: f = "f"
* elif t == NPY_DOUBLE: f = "d"
*/
case NPY_ULONGLONG:
__pyx_v_f = ((char *)"Q");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":270
* elif t == NPY_LONGLONG: f = "q"
* elif t == NPY_ULONGLONG: f = "Q"
* elif t == NPY_FLOAT: f = "f" # <<<<<<<<<<<<<<
* elif t == NPY_DOUBLE: f = "d"
* elif t == NPY_LONGDOUBLE: f = "g"
*/
case NPY_FLOAT:
__pyx_v_f = ((char *)"f");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":271
* elif t == NPY_ULONGLONG: f = "Q"
* elif t == NPY_FLOAT: f = "f"
* elif t == NPY_DOUBLE: f = "d" # <<<<<<<<<<<<<<
* elif t == NPY_LONGDOUBLE: f = "g"
* elif t == NPY_CFLOAT: f = "Zf"
*/
case NPY_DOUBLE:
__pyx_v_f = ((char *)"d");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":272
* elif t == NPY_FLOAT: f = "f"
* elif t == NPY_DOUBLE: f = "d"
* elif t == NPY_LONGDOUBLE: f = "g" # <<<<<<<<<<<<<<
* elif t == NPY_CFLOAT: f = "Zf"
* elif t == NPY_CDOUBLE: f = "Zd"
*/
case NPY_LONGDOUBLE:
__pyx_v_f = ((char *)"g");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":273
* elif t == NPY_DOUBLE: f = "d"
* elif t == NPY_LONGDOUBLE: f = "g"
* elif t == NPY_CFLOAT: f = "Zf" # <<<<<<<<<<<<<<
* elif t == NPY_CDOUBLE: f = "Zd"
* elif t == NPY_CLONGDOUBLE: f = "Zg"
*/
case NPY_CFLOAT:
__pyx_v_f = ((char *)"Zf");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":274
* elif t == NPY_LONGDOUBLE: f = "g"
* elif t == NPY_CFLOAT: f = "Zf"
* elif t == NPY_CDOUBLE: f = "Zd" # <<<<<<<<<<<<<<
* elif t == NPY_CLONGDOUBLE: f = "Zg"
* elif t == NPY_OBJECT: f = "O"
*/
case NPY_CDOUBLE:
__pyx_v_f = ((char *)"Zd");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":275
* elif t == NPY_CFLOAT: f = "Zf"
* elif t == NPY_CDOUBLE: f = "Zd"
* elif t == NPY_CLONGDOUBLE: f = "Zg" # <<<<<<<<<<<<<<
* elif t == NPY_OBJECT: f = "O"
* else:
*/
case NPY_CLONGDOUBLE:
__pyx_v_f = ((char *)"Zg");
break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":276
* elif t == NPY_CDOUBLE: f = "Zd"
* elif t == NPY_CLONGDOUBLE: f = "Zg"
* elif t == NPY_OBJECT: f = "O" # <<<<<<<<<<<<<<
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
*/
case NPY_OBJECT:
__pyx_v_f = ((char *)"O");
break;
default:
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":278
* elif t == NPY_OBJECT: f = "O"
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t) # <<<<<<<<<<<<<<
* info.format = f
* return
*/
__pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_6 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_6);
__pyx_t_6 = 0;
__pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_Raise(__pyx_t_6, 0, 0, 0);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__PYX_ERR(1, 278, __pyx_L1_error)
break;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":279
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
* info.format = f # <<<<<<<<<<<<<<
* return
* else:
*/
__pyx_v_info->format = __pyx_v_f;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":280
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
* info.format = f
* return # <<<<<<<<<<<<<<
* else:
* info.format = <char*>stdlib.malloc(_buffer_format_string_len)
*/
__pyx_r = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":255
* info.obj = self
*
* if not hasfields: # <<<<<<<<<<<<<<
* t = descr.type_num
* if ((descr.byteorder == c'>' and little_endian) or
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":282
* return
* else:
* info.format = <char*>stdlib.malloc(_buffer_format_string_len) # <<<<<<<<<<<<<<
* info.format[0] = c'^' # Native data types, manual alignment
* offset = 0
*/
/*else*/ {
__pyx_v_info->format = ((char *)malloc(0xFF));
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":283
* else:
* info.format = <char*>stdlib.malloc(_buffer_format_string_len)
* info.format[0] = c'^' # Native data types, manual alignment # <<<<<<<<<<<<<<
* offset = 0
* f = _util_dtypestring(descr, info.format + 1,
*/
(__pyx_v_info->format[0]) = '^';
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":284
* info.format = <char*>stdlib.malloc(_buffer_format_string_len)
* info.format[0] = c'^' # Native data types, manual alignment
* offset = 0 # <<<<<<<<<<<<<<
* f = _util_dtypestring(descr, info.format + 1,
* info.format + _buffer_format_string_len,
*/
__pyx_v_offset = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":285
* info.format[0] = c'^' # Native data types, manual alignment
* offset = 0
* f = _util_dtypestring(descr, info.format + 1, # <<<<<<<<<<<<<<
* info.format + _buffer_format_string_len,
* &offset)
*/
__pyx_t_7 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 0xFF), (&__pyx_v_offset)); if (unlikely(__pyx_t_7 == NULL)) __PYX_ERR(1, 285, __pyx_L1_error)
__pyx_v_f = __pyx_t_7;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":288
* info.format + _buffer_format_string_len,
* &offset)
* f[0] = c'\0' # Terminate format string # <<<<<<<<<<<<<<
*
* def __releasebuffer__(ndarray self, Py_buffer* info):
*/
(__pyx_v_f[0]) = '\x00';
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":197
* # experimental exception made for __getbuffer__ and __releasebuffer__
* # -- the details of this may change.
* def __getbuffer__(ndarray self, Py_buffer* info, int flags): # <<<<<<<<<<<<<<
* # This implementation of getbuffer is geared towards Cython
* # requirements, and does not yet fullfill the PEP.
*/
/* function exit code */
__pyx_r = 0;
goto __pyx_L0;
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_AddTraceback("numpy.ndarray.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = -1;
if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
__Pyx_GOTREF(__pyx_v_info->obj);
__Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
}
goto __pyx_L2;
__pyx_L0:;
if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
__Pyx_GOTREF(Py_None);
__Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
}
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_descr);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":290
* f[0] = c'\0' # Terminate format string
*
* def __releasebuffer__(ndarray self, Py_buffer* info): # <<<<<<<<<<<<<<
* if PyArray_HASFIELDS(self):
* stdlib.free(info.format)
*/
/* Python wrapper */
static CYTHON_UNUSED void __pyx_pw_5numpy_7ndarray_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info); /*proto*/
static CYTHON_UNUSED void __pyx_pw_5numpy_7ndarray_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("__releasebuffer__ (wrapper)", 0);
__pyx_pf_5numpy_7ndarray_2__releasebuffer__(((PyArrayObject *)__pyx_v_self), ((Py_buffer *)__pyx_v_info));
/* function exit code */
__Pyx_RefNannyFinishContext();
}
static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
__Pyx_RefNannyDeclarations
int __pyx_t_1;
__Pyx_RefNannySetupContext("__releasebuffer__", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":291
*
* def __releasebuffer__(ndarray self, Py_buffer* info):
* if PyArray_HASFIELDS(self): # <<<<<<<<<<<<<<
* stdlib.free(info.format)
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
*/
__pyx_t_1 = (PyArray_HASFIELDS(__pyx_v_self) != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":292
* def __releasebuffer__(ndarray self, Py_buffer* info):
* if PyArray_HASFIELDS(self):
* stdlib.free(info.format) # <<<<<<<<<<<<<<
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
* stdlib.free(info.strides)
*/
free(__pyx_v_info->format);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":291
*
* def __releasebuffer__(ndarray self, Py_buffer* info):
* if PyArray_HASFIELDS(self): # <<<<<<<<<<<<<<
* stdlib.free(info.format)
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":293
* if PyArray_HASFIELDS(self):
* stdlib.free(info.format)
* if sizeof(npy_intp) != sizeof(Py_ssize_t): # <<<<<<<<<<<<<<
* stdlib.free(info.strides)
* # info.shape was stored after info.strides in the same block
*/
__pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":294
* stdlib.free(info.format)
* if sizeof(npy_intp) != sizeof(Py_ssize_t):
* stdlib.free(info.strides) # <<<<<<<<<<<<<<
* # info.shape was stored after info.strides in the same block
*
*/
free(__pyx_v_info->strides);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":293
* if PyArray_HASFIELDS(self):
* stdlib.free(info.format)
* if sizeof(npy_intp) != sizeof(Py_ssize_t): # <<<<<<<<<<<<<<
* stdlib.free(info.strides)
* # info.shape was stored after info.strides in the same block
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":290
* f[0] = c'\0' # Terminate format string
*
* def __releasebuffer__(ndarray self, Py_buffer* info): # <<<<<<<<<<<<<<
* if PyArray_HASFIELDS(self):
* stdlib.free(info.format)
*/
/* function exit code */
__Pyx_RefNannyFinishContext();
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":770
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(1, <void*>a)
*
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":771
*
* cdef inline object PyArray_MultiIterNew1(a):
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew2(a, b):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 771, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":770
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(1, <void*>a)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew1", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":773
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":774
*
* cdef inline object PyArray_MultiIterNew2(a, b):
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew3(a, b, c):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 774, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":773
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew2", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":776
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":777
*
* cdef inline object PyArray_MultiIterNew3(a, b, c):
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 777, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":776
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew3", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":779
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":780
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 780, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":779
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew4", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":782
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":783
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
*
* cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 783, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":782
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew5", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":785
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL: # <<<<<<<<<<<<<<
* # Recursive utility function used in __getbuffer__ to get format
* # string. The new location in the format string is returned.
*/
static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx_v_descr, char *__pyx_v_f, char *__pyx_v_end, int *__pyx_v_offset) {
PyArray_Descr *__pyx_v_child = 0;
int __pyx_v_endian_detector;
int __pyx_v_little_endian;
PyObject *__pyx_v_fields = 0;
PyObject *__pyx_v_childname = NULL;
PyObject *__pyx_v_new_offset = NULL;
PyObject *__pyx_v_t = NULL;
char *__pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
Py_ssize_t __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
int __pyx_t_5;
int __pyx_t_6;
int __pyx_t_7;
long __pyx_t_8;
char *__pyx_t_9;
__Pyx_RefNannySetupContext("_util_dtypestring", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":790
*
* cdef dtype child
* cdef int endian_detector = 1 # <<<<<<<<<<<<<<
* cdef bint little_endian = ((<char*>&endian_detector)[0] != 0)
* cdef tuple fields
*/
__pyx_v_endian_detector = 1;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":791
* cdef dtype child
* cdef int endian_detector = 1
* cdef bint little_endian = ((<char*>&endian_detector)[0] != 0) # <<<<<<<<<<<<<<
* cdef tuple fields
*
*/
__pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":794
* cdef tuple fields
*
* for childname in descr.names: # <<<<<<<<<<<<<<
* fields = descr.fields[childname]
* child, new_offset = fields
*/
if (unlikely(__pyx_v_descr->names == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
__PYX_ERR(1, 794, __pyx_L1_error)
}
__pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
for (;;) {
if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(1, 794, __pyx_L1_error)
#else
__pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 794, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
#endif
__Pyx_XDECREF_SET(__pyx_v_childname, __pyx_t_3);
__pyx_t_3 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":795
*
* for childname in descr.names:
* fields = descr.fields[childname] # <<<<<<<<<<<<<<
* child, new_offset = fields
*
*/
if (unlikely(__pyx_v_descr->fields == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 795, __pyx_L1_error)
}
__pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 795, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) __PYX_ERR(1, 795, __pyx_L1_error)
__Pyx_XDECREF_SET(__pyx_v_fields, ((PyObject*)__pyx_t_3));
__pyx_t_3 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":796
* for childname in descr.names:
* fields = descr.fields[childname]
* child, new_offset = fields # <<<<<<<<<<<<<<
*
* if (end - f) - <int>(new_offset - offset[0]) < 15:
*/
if (likely(__pyx_v_fields != Py_None)) {
PyObject* sequence = __pyx_v_fields;
#if !CYTHON_COMPILING_IN_PYPY
Py_ssize_t size = Py_SIZE(sequence);
#else
Py_ssize_t size = PySequence_Size(sequence);
#endif
if (unlikely(size != 2)) {
if (size > 2) __Pyx_RaiseTooManyValuesError(2);
else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
__PYX_ERR(1, 796, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
__pyx_t_3 = PyTuple_GET_ITEM(sequence, 0);
__pyx_t_4 = PyTuple_GET_ITEM(sequence, 1);
__Pyx_INCREF(__pyx_t_3);
__Pyx_INCREF(__pyx_t_4);
#else
__pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 796, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 796, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
#endif
} else {
__Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 796, __pyx_L1_error)
}
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) __PYX_ERR(1, 796, __pyx_L1_error)
__Pyx_XDECREF_SET(__pyx_v_child, ((PyArray_Descr *)__pyx_t_3));
__pyx_t_3 = 0;
__Pyx_XDECREF_SET(__pyx_v_new_offset, __pyx_t_4);
__pyx_t_4 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":798
* child, new_offset = fields
*
* if (end - f) - <int>(new_offset - offset[0]) < 15: # <<<<<<<<<<<<<<
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
*
*/
__pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 798, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 798, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 798, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = ((((__pyx_v_end - __pyx_v_f) - ((int)__pyx_t_5)) < 15) != 0);
if (__pyx_t_6) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":799
*
* if (end - f) - <int>(new_offset - offset[0]) < 15:
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd") # <<<<<<<<<<<<<<
*
* if ((child.byteorder == c'>' and little_endian) or
*/
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__22, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 799, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 799, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":798
* child, new_offset = fields
*
* if (end - f) - <int>(new_offset - offset[0]) < 15: # <<<<<<<<<<<<<<
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
*
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":801
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
*
* if ((child.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (child.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
__pyx_t_7 = ((__pyx_v_child->byteorder == '>') != 0);
if (!__pyx_t_7) {
goto __pyx_L8_next_or;
} else {
}
__pyx_t_7 = (__pyx_v_little_endian != 0);
if (!__pyx_t_7) {
} else {
__pyx_t_6 = __pyx_t_7;
goto __pyx_L7_bool_binop_done;
}
__pyx_L8_next_or:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":802
*
* if ((child.byteorder == c'>' and little_endian) or
* (child.byteorder == c'<' and not little_endian)): # <<<<<<<<<<<<<<
* raise ValueError(u"Non-native byte order not supported")
* # One could encode it in the format string and have Cython
*/
__pyx_t_7 = ((__pyx_v_child->byteorder == '<') != 0);
if (__pyx_t_7) {
} else {
__pyx_t_6 = __pyx_t_7;
goto __pyx_L7_bool_binop_done;
}
__pyx_t_7 = ((!(__pyx_v_little_endian != 0)) != 0);
__pyx_t_6 = __pyx_t_7;
__pyx_L7_bool_binop_done:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":801
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
*
* if ((child.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (child.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
if (__pyx_t_6) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":803
* if ((child.byteorder == c'>' and little_endian) or
* (child.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported") # <<<<<<<<<<<<<<
* # One could encode it in the format string and have Cython
* # complain instead, BUT: < and > in format strings also imply
*/
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__23, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 803, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 803, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":801
* raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
*
* if ((child.byteorder == c'>' and little_endian) or # <<<<<<<<<<<<<<
* (child.byteorder == c'<' and not little_endian)):
* raise ValueError(u"Non-native byte order not supported")
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":813
*
* # Output padding bytes
* while offset[0] < new_offset: # <<<<<<<<<<<<<<
* f[0] = 120 # "x"; pad byte
* f += 1
*/
while (1) {
__pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 813, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 813, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 813, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (!__pyx_t_6) break;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":814
* # Output padding bytes
* while offset[0] < new_offset:
* f[0] = 120 # "x"; pad byte # <<<<<<<<<<<<<<
* f += 1
* offset[0] += 1
*/
(__pyx_v_f[0]) = 0x78;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":815
* while offset[0] < new_offset:
* f[0] = 120 # "x"; pad byte
* f += 1 # <<<<<<<<<<<<<<
* offset[0] += 1
*
*/
__pyx_v_f = (__pyx_v_f + 1);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":816
* f[0] = 120 # "x"; pad byte
* f += 1
* offset[0] += 1 # <<<<<<<<<<<<<<
*
* offset[0] += child.itemsize
*/
__pyx_t_8 = 0;
(__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + 1);
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":818
* offset[0] += 1
*
* offset[0] += child.itemsize # <<<<<<<<<<<<<<
*
* if not PyDataType_HASFIELDS(child):
*/
__pyx_t_8 = 0;
(__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":820
* offset[0] += child.itemsize
*
* if not PyDataType_HASFIELDS(child): # <<<<<<<<<<<<<<
* t = child.type_num
* if end - f < 5:
*/
__pyx_t_6 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
if (__pyx_t_6) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":821
*
* if not PyDataType_HASFIELDS(child):
* t = child.type_num # <<<<<<<<<<<<<<
* if end - f < 5:
* raise RuntimeError(u"Format string allocated too short.")
*/
__pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 821, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4);
__pyx_t_4 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":822
* if not PyDataType_HASFIELDS(child):
* t = child.type_num
* if end - f < 5: # <<<<<<<<<<<<<<
* raise RuntimeError(u"Format string allocated too short.")
*
*/
__pyx_t_6 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
if (__pyx_t_6) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":823
* t = child.type_num
* if end - f < 5:
* raise RuntimeError(u"Format string allocated too short.") # <<<<<<<<<<<<<<
*
* # Until ticket #99 is fixed, use integers to avoid warnings
*/
__pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__24, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 823, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_Raise(__pyx_t_4, 0, 0, 0);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__PYX_ERR(1, 823, __pyx_L1_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":822
* if not PyDataType_HASFIELDS(child):
* t = child.type_num
* if end - f < 5: # <<<<<<<<<<<<<<
* raise RuntimeError(u"Format string allocated too short.")
*
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":826
*
* # Until ticket #99 is fixed, use integers to avoid warnings
* if t == NPY_BYTE: f[0] = 98 #"b" # <<<<<<<<<<<<<<
* elif t == NPY_UBYTE: f[0] = 66 #"B"
* elif t == NPY_SHORT: f[0] = 104 #"h"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 826, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 826, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 826, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 98;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":827
* # Until ticket #99 is fixed, use integers to avoid warnings
* if t == NPY_BYTE: f[0] = 98 #"b"
* elif t == NPY_UBYTE: f[0] = 66 #"B" # <<<<<<<<<<<<<<
* elif t == NPY_SHORT: f[0] = 104 #"h"
* elif t == NPY_USHORT: f[0] = 72 #"H"
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UBYTE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 827, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 827, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 827, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 66;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":828
* if t == NPY_BYTE: f[0] = 98 #"b"
* elif t == NPY_UBYTE: f[0] = 66 #"B"
* elif t == NPY_SHORT: f[0] = 104 #"h" # <<<<<<<<<<<<<<
* elif t == NPY_USHORT: f[0] = 72 #"H"
* elif t == NPY_INT: f[0] = 105 #"i"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_SHORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 828, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 828, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 828, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x68;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":829
* elif t == NPY_UBYTE: f[0] = 66 #"B"
* elif t == NPY_SHORT: f[0] = 104 #"h"
* elif t == NPY_USHORT: f[0] = 72 #"H" # <<<<<<<<<<<<<<
* elif t == NPY_INT: f[0] = 105 #"i"
* elif t == NPY_UINT: f[0] = 73 #"I"
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_USHORT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 829, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 829, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 829, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 72;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":830
* elif t == NPY_SHORT: f[0] = 104 #"h"
* elif t == NPY_USHORT: f[0] = 72 #"H"
* elif t == NPY_INT: f[0] = 105 #"i" # <<<<<<<<<<<<<<
* elif t == NPY_UINT: f[0] = 73 #"I"
* elif t == NPY_LONG: f[0] = 108 #"l"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 830, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 830, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 830, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x69;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":831
* elif t == NPY_USHORT: f[0] = 72 #"H"
* elif t == NPY_INT: f[0] = 105 #"i"
* elif t == NPY_UINT: f[0] = 73 #"I" # <<<<<<<<<<<<<<
* elif t == NPY_LONG: f[0] = 108 #"l"
* elif t == NPY_ULONG: f[0] = 76 #"L"
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UINT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 831, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 831, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 831, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 73;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":832
* elif t == NPY_INT: f[0] = 105 #"i"
* elif t == NPY_UINT: f[0] = 73 #"I"
* elif t == NPY_LONG: f[0] = 108 #"l" # <<<<<<<<<<<<<<
* elif t == NPY_ULONG: f[0] = 76 #"L"
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 832, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 832, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 832, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x6C;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":833
* elif t == NPY_UINT: f[0] = 73 #"I"
* elif t == NPY_LONG: f[0] = 108 #"l"
* elif t == NPY_ULONG: f[0] = 76 #"L" # <<<<<<<<<<<<<<
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 833, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 833, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 833, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 76;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":834
* elif t == NPY_LONG: f[0] = 108 #"l"
* elif t == NPY_ULONG: f[0] = 76 #"L"
* elif t == NPY_LONGLONG: f[0] = 113 #"q" # <<<<<<<<<<<<<<
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
* elif t == NPY_FLOAT: f[0] = 102 #"f"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 834, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 834, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 834, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x71;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":835
* elif t == NPY_ULONG: f[0] = 76 #"L"
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q" # <<<<<<<<<<<<<<
* elif t == NPY_FLOAT: f[0] = 102 #"f"
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 835, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 835, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 835, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 81;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":836
* elif t == NPY_LONGLONG: f[0] = 113 #"q"
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
* elif t == NPY_FLOAT: f[0] = 102 #"f" # <<<<<<<<<<<<<<
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 836, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 836, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 836, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x66;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":837
* elif t == NPY_ULONGLONG: f[0] = 81 #"Q"
* elif t == NPY_FLOAT: f[0] = 102 #"f"
* elif t == NPY_DOUBLE: f[0] = 100 #"d" # <<<<<<<<<<<<<<
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 837, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 837, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 837, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x64;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":838
* elif t == NPY_FLOAT: f[0] = 102 #"f"
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g" # <<<<<<<<<<<<<<
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 838, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 838, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 838, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 0x67;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":839
* elif t == NPY_DOUBLE: f[0] = 100 #"d"
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf # <<<<<<<<<<<<<<
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 839, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 839, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 839, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 90;
(__pyx_v_f[1]) = 0x66;
__pyx_v_f = (__pyx_v_f + 1);
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":840
* elif t == NPY_LONGDOUBLE: f[0] = 103 #"g"
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd # <<<<<<<<<<<<<<
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
* elif t == NPY_OBJECT: f[0] = 79 #"O"
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 840, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 840, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 840, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 90;
(__pyx_v_f[1]) = 0x64;
__pyx_v_f = (__pyx_v_f + 1);
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":841
* elif t == NPY_CFLOAT: f[0] = 90; f[1] = 102; f += 1 # Zf
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg # <<<<<<<<<<<<<<
* elif t == NPY_OBJECT: f[0] = 79 #"O"
* else:
*/
__pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 841, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 841, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 841, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 90;
(__pyx_v_f[1]) = 0x67;
__pyx_v_f = (__pyx_v_f + 1);
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":842
* elif t == NPY_CDOUBLE: f[0] = 90; f[1] = 100; f += 1 # Zd
* elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
* elif t == NPY_OBJECT: f[0] = 79 #"O" # <<<<<<<<<<<<<<
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
*/
__pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_OBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 842, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 842, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 842, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
(__pyx_v_f[0]) = 79;
goto __pyx_L15;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":844
* elif t == NPY_OBJECT: f[0] = 79 #"O"
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t) # <<<<<<<<<<<<<<
* f += 1
* else:
*/
/*else*/ {
__pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 844, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
__pyx_t_3 = 0;
__pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_Raise(__pyx_t_3, 0, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__PYX_ERR(1, 844, __pyx_L1_error)
}
__pyx_L15:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":845
* else:
* raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
* f += 1 # <<<<<<<<<<<<<<
* else:
* # Cython ignores struct boundary information ("T{...}"),
*/
__pyx_v_f = (__pyx_v_f + 1);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":820
* offset[0] += child.itemsize
*
* if not PyDataType_HASFIELDS(child): # <<<<<<<<<<<<<<
* t = child.type_num
* if end - f < 5:
*/
goto __pyx_L13;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":849
* # Cython ignores struct boundary information ("T{...}"),
* # so don't output it
* f = _util_dtypestring(child, f, end, offset) # <<<<<<<<<<<<<<
* return f
*
*/
/*else*/ {
__pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset); if (unlikely(__pyx_t_9 == NULL)) __PYX_ERR(1, 849, __pyx_L1_error)
__pyx_v_f = __pyx_t_9;
}
__pyx_L13:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":794
* cdef tuple fields
*
* for childname in descr.names: # <<<<<<<<<<<<<<
* fields = descr.fields[childname]
* child, new_offset = fields
*/
}
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":850
* # so don't output it
* f = _util_dtypestring(child, f, end, offset)
* return f # <<<<<<<<<<<<<<
*
*
*/
__pyx_r = __pyx_v_f;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":785
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL: # <<<<<<<<<<<<<<
* # Recursive utility function used in __getbuffer__ to get format
* # string. The new location in the format string is returned.
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_AddTraceback("numpy._util_dtypestring", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF((PyObject *)__pyx_v_child);
__Pyx_XDECREF(__pyx_v_fields);
__Pyx_XDECREF(__pyx_v_childname);
__Pyx_XDECREF(__pyx_v_new_offset);
__Pyx_XDECREF(__pyx_v_t);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":966
*
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
* cdef PyObject* baseptr
* if base is None:
*/
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
PyObject *__pyx_v_baseptr;
__Pyx_RefNannyDeclarations
int __pyx_t_1;
int __pyx_t_2;
__Pyx_RefNannySetupContext("set_array_base", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":968
* cdef inline void set_array_base(ndarray arr, object base):
* cdef PyObject* baseptr
* if base is None: # <<<<<<<<<<<<<<
* baseptr = NULL
* else:
*/
__pyx_t_1 = (__pyx_v_base == Py_None);
__pyx_t_2 = (__pyx_t_1 != 0);
if (__pyx_t_2) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":969
* cdef PyObject* baseptr
* if base is None:
* baseptr = NULL # <<<<<<<<<<<<<<
* else:
* Py_INCREF(base) # important to do this before decref below!
*/
__pyx_v_baseptr = NULL;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":968
* cdef inline void set_array_base(ndarray arr, object base):
* cdef PyObject* baseptr
* if base is None: # <<<<<<<<<<<<<<
* baseptr = NULL
* else:
*/
goto __pyx_L3;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":971
* baseptr = NULL
* else:
* Py_INCREF(base) # important to do this before decref below! # <<<<<<<<<<<<<<
* baseptr = <PyObject*>base
* Py_XDECREF(arr.base)
*/
/*else*/ {
Py_INCREF(__pyx_v_base);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":972
* else:
* Py_INCREF(base) # important to do this before decref below!
* baseptr = <PyObject*>base # <<<<<<<<<<<<<<
* Py_XDECREF(arr.base)
* arr.base = baseptr
*/
__pyx_v_baseptr = ((PyObject *)__pyx_v_base);
}
__pyx_L3:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":973
* Py_INCREF(base) # important to do this before decref below!
* baseptr = <PyObject*>base
* Py_XDECREF(arr.base) # <<<<<<<<<<<<<<
* arr.base = baseptr
*
*/
Py_XDECREF(__pyx_v_arr->base);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":974
* baseptr = <PyObject*>base
* Py_XDECREF(arr.base)
* arr.base = baseptr # <<<<<<<<<<<<<<
*
* cdef inline object get_array_base(ndarray arr):
*/
__pyx_v_arr->base = __pyx_v_baseptr;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":966
*
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
* cdef PyObject* baseptr
* if base is None:
*/
/* function exit code */
__Pyx_RefNannyFinishContext();
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":976
* arr.base = baseptr
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
* if arr.base is NULL:
* return None
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
int __pyx_t_1;
__Pyx_RefNannySetupContext("get_array_base", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":977
*
* cdef inline object get_array_base(ndarray arr):
* if arr.base is NULL: # <<<<<<<<<<<<<<
* return None
* else:
*/
__pyx_t_1 = ((__pyx_v_arr->base == NULL) != 0);
if (__pyx_t_1) {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":978
* cdef inline object get_array_base(ndarray arr):
* if arr.base is NULL:
* return None # <<<<<<<<<<<<<<
* else:
* return <object>arr.base
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(Py_None);
__pyx_r = Py_None;
goto __pyx_L0;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":977
*
* cdef inline object get_array_base(ndarray arr):
* if arr.base is NULL: # <<<<<<<<<<<<<<
* return None
* else:
*/
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":980
* return None
* else:
* return <object>arr.base # <<<<<<<<<<<<<<
*
*
*/
/*else*/ {
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_arr->base));
__pyx_r = ((PyObject *)__pyx_v_arr->base);
goto __pyx_L0;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":976
* arr.base = baseptr
*
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
* if arr.base is NULL:
* return None
*/
/* function exit code */
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":985
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
* try:
* _import_array()
*/
static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
int __pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
int __pyx_t_4;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
__Pyx_RefNannySetupContext("import_array", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":986
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* _import_array()
* except Exception:
*/
{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":987
* cdef inline int import_array() except -1:
* try:
* _import_array() # <<<<<<<<<<<<<<
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import")
*/
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(1, 987, __pyx_L3_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":986
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* _import_array()
* except Exception:
*/
}
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
goto __pyx_L10_try_end;
__pyx_L3_error:;
__Pyx_PyThreadState_assign
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":988
* try:
* _import_array()
* except Exception: # <<<<<<<<<<<<<<
* raise ImportError("numpy.core.multiarray failed to import")
*
*/
__pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
if (__pyx_t_4) {
__Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 988, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GOTREF(__pyx_t_7);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":989
* _import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
*
* cdef inline int import_umath() except -1:
*/
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__25, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 989, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_Raise(__pyx_t_8, 0, 0, 0);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__PYX_ERR(1, 989, __pyx_L5_except_error)
}
goto __pyx_L5_except_error;
__pyx_L5_except_error:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":986
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* _import_array()
* except Exception:
*/
__Pyx_PyThreadState_assign
__Pyx_XGIVEREF(__pyx_t_1);
__Pyx_XGIVEREF(__pyx_t_2);
__Pyx_XGIVEREF(__pyx_t_3);
__Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
goto __pyx_L1_error;
__pyx_L10_try_end:;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":985
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
* try:
* _import_array()
*/
/* function exit code */
__pyx_r = 0;
goto __pyx_L0;
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_8);
__Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = -1;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":991
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
* try:
* _import_umath()
*/
static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
int __pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
int __pyx_t_4;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
__Pyx_RefNannySetupContext("import_umath", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":992
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":993
* cdef inline int import_umath() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
* except Exception:
* raise ImportError("numpy.core.umath failed to import")
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(1, 993, __pyx_L3_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":992
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
}
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
goto __pyx_L10_try_end;
__pyx_L3_error:;
__Pyx_PyThreadState_assign
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":994
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
* raise ImportError("numpy.core.umath failed to import")
*
*/
__pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
if (__pyx_t_4) {
__Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 994, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GOTREF(__pyx_t_7);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":995
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
*
* cdef inline int import_ufunc() except -1:
*/
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__26, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 995, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_Raise(__pyx_t_8, 0, 0, 0);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__PYX_ERR(1, 995, __pyx_L5_except_error)
}
goto __pyx_L5_except_error;
__pyx_L5_except_error:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":992
*
* cdef inline int import_umath() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
__Pyx_PyThreadState_assign
__Pyx_XGIVEREF(__pyx_t_1);
__Pyx_XGIVEREF(__pyx_t_2);
__Pyx_XGIVEREF(__pyx_t_3);
__Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
goto __pyx_L1_error;
__pyx_L10_try_end:;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":991
* raise ImportError("numpy.core.multiarray failed to import")
*
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
* try:
* _import_umath()
*/
/* function exit code */
__pyx_r = 0;
goto __pyx_L0;
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_8);
__Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = -1;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":997
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
* try:
* _import_umath()
*/
static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
int __pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
int __pyx_t_4;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
__Pyx_RefNannySetupContext("import_ufunc", 0);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":998
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":999
* cdef inline int import_ufunc() except -1:
* try:
* _import_umath() # <<<<<<<<<<<<<<
* except Exception:
* raise ImportError("numpy.core.umath failed to import")
*/
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(1, 999, __pyx_L3_error)
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":998
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
}
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
goto __pyx_L10_try_end;
__pyx_L3_error:;
__Pyx_PyThreadState_assign
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":1000
* try:
* _import_umath()
* except Exception: # <<<<<<<<<<<<<<
* raise ImportError("numpy.core.umath failed to import")
*/
__pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
if (__pyx_t_4) {
__Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1000, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GOTREF(__pyx_t_7);
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":1001
* _import_umath()
* except Exception:
* raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<
*/
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__27, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1001, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_Raise(__pyx_t_8, 0, 0, 0);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__PYX_ERR(1, 1001, __pyx_L5_except_error)
}
goto __pyx_L5_except_error;
__pyx_L5_except_error:;
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":998
*
* cdef inline int import_ufunc() except -1:
* try: # <<<<<<<<<<<<<<
* _import_umath()
* except Exception:
*/
__Pyx_PyThreadState_assign
__Pyx_XGIVEREF(__pyx_t_1);
__Pyx_XGIVEREF(__pyx_t_2);
__Pyx_XGIVEREF(__pyx_t_3);
__Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
goto __pyx_L1_error;
__pyx_L10_try_end:;
}
/* "../../../../../../usr/local/lib/python3.5/site-packages/Cython/Includes/numpy/__init__.pxd":997
* raise ImportError("numpy.core.umath failed to import")
*
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
* try:
* _import_umath()
*/
/* function exit code */
__pyx_r = 0;
goto __pyx_L0;
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_8);
__Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = -1;
__pyx_L0:;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
static struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *__pyx_freelist_10xraylib_np___pyx_scope_struct__XRL_1I[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct__XRL_1I = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct__XRL_1I(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct__XRL_1I > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct__XRL_1I[--__pyx_freecount_10xraylib_np___pyx_scope_struct__XRL_1I];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct__XRL_1I(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct__XRL_1I < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct__XRL_1I[__pyx_freecount_10xraylib_np___pyx_scope_struct__XRL_1I++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct__XRL_1I(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct__XRL_1I(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct__XRL_1I = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct__XRL_1I", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct__XRL_1I), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct__XRL_1I, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct__XRL_1I, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct__XRL_1I, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct__XRL_1I, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *__pyx_freelist_10xraylib_np___pyx_scope_struct_1_XRL_1F[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_1_XRL_1F = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_1_XRL_1F(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_1_XRL_1F > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_1_XRL_1F[--__pyx_freecount_10xraylib_np___pyx_scope_struct_1_XRL_1F];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_1_XRL_1F(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_1_XRL_1F < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_1_XRL_1F[__pyx_freecount_10xraylib_np___pyx_scope_struct_1_XRL_1F++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_1_XRL_1F(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_1_XRL_1F(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_1_XRL_1F = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_1_XRL_1F", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_1_XRL_1F), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_1_XRL_1F, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_1_XRL_1F, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_1_XRL_1F, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_1_XRL_1F, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *__pyx_freelist_10xraylib_np___pyx_scope_struct_2_XRL_2IF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_2_XRL_2IF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_2_XRL_2IF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_2_XRL_2IF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_2_XRL_2IF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_2_XRL_2IF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_2_XRL_2IF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_2_XRL_2IF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_2_XRL_2IF[__pyx_freecount_10xraylib_np___pyx_scope_struct_2_XRL_2IF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_2_XRL_2IF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_2_XRL_2IF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_2_XRL_2IF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_2_XRL_2IF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_2_XRL_2IF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_2_XRL_2IF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_2_XRL_2IF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_2_XRL_2IF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_2_XRL_2IF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *__pyx_freelist_10xraylib_np___pyx_scope_struct_3_XRL_2II[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_3_XRL_2II = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_3_XRL_2II(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_3_XRL_2II > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_3_XRL_2II[--__pyx_freecount_10xraylib_np___pyx_scope_struct_3_XRL_2II];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_3_XRL_2II(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_3_XRL_2II < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_3_XRL_2II[__pyx_freecount_10xraylib_np___pyx_scope_struct_3_XRL_2II++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_3_XRL_2II(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_3_XRL_2II(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_3_XRL_2II = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_3_XRL_2II", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_3_XRL_2II), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_3_XRL_2II, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_3_XRL_2II, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_3_XRL_2II, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_3_XRL_2II, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *__pyx_freelist_10xraylib_np___pyx_scope_struct_4_XRL_2FF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_4_XRL_2FF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_4_XRL_2FF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_4_XRL_2FF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_4_XRL_2FF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_4_XRL_2FF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_4_XRL_2FF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_4_XRL_2FF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_4_XRL_2FF[__pyx_freecount_10xraylib_np___pyx_scope_struct_4_XRL_2FF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_4_XRL_2FF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_4_XRL_2FF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_4_XRL_2FF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_4_XRL_2FF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_4_XRL_2FF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_4_XRL_2FF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_4_XRL_2FF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_4_XRL_2FF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_4_XRL_2FF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *__pyx_freelist_10xraylib_np___pyx_scope_struct_5_XRL_3IFF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_5_XRL_3IFF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_5_XRL_3IFF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_5_XRL_3IFF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_5_XRL_3IFF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_5_XRL_3IFF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_5_XRL_3IFF[__pyx_freecount_10xraylib_np___pyx_scope_struct_5_XRL_3IFF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_5_XRL_3IFF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_5_XRL_3IFF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_5_XRL_3IFF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_5_XRL_3IFF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_5_XRL_3IFF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_5_XRL_3IFF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_5_XRL_3IFF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_5_XRL_3IFF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *__pyx_freelist_10xraylib_np___pyx_scope_struct_6_XRL_3FFF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_6_XRL_3FFF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_6_XRL_3FFF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_6_XRL_3FFF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_6_XRL_3FFF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_6_XRL_3FFF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_6_XRL_3FFF[__pyx_freecount_10xraylib_np___pyx_scope_struct_6_XRL_3FFF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_6_XRL_3FFF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_6_XRL_3FFF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_6_XRL_3FFF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_6_XRL_3FFF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_6_XRL_3FFF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_6_XRL_3FFF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_6_XRL_3FFF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_6_XRL_3FFF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *__pyx_freelist_10xraylib_np___pyx_scope_struct_7_XRL_3IIF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_7_XRL_3IIF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_7_XRL_3IIF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_7_XRL_3IIF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_7_XRL_3IIF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_7_XRL_3IIF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_7_XRL_3IIF[__pyx_freecount_10xraylib_np___pyx_scope_struct_7_XRL_3IIF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_7_XRL_3IIF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_7_XRL_3IIF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_7_XRL_3IIF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_7_XRL_3IIF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_7_XRL_3IIF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_7_XRL_3IIF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_7_XRL_3IIF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_7_XRL_3IIF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *__pyx_freelist_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF[8];
static int __pyx_freecount_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF = 0;
static PyObject *__pyx_tp_new_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
PyObject *o;
if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF)))) {
o = (PyObject*)__pyx_freelist_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF[--__pyx_freecount_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF];
memset(o, 0, sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF));
(void) PyObject_INIT(o, t);
PyObject_GC_Track(o);
} else {
o = (*t->tp_alloc)(t, 0);
if (unlikely(!o)) return 0;
}
return o;
}
static void __pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(PyObject *o) {
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)o;
PyObject_GC_UnTrack(o);
Py_CLEAR(p->__pyx_v_fun_wrap);
if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF)))) {
__pyx_freelist_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF[__pyx_freecount_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF++] = ((struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)o);
} else {
(*Py_TYPE(o)->tp_free)(o);
}
}
static int __pyx_tp_traverse_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(PyObject *o, visitproc v, void *a) {
int e;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)o;
if (p->__pyx_v_fun_wrap) {
e = (*v)(p->__pyx_v_fun_wrap, a); if (e) return e;
}
return 0;
}
static int __pyx_tp_clear_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF(PyObject *o) {
PyObject* tmp;
struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *p = (struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF *)o;
tmp = ((PyObject*)p->__pyx_v_fun_wrap);
p->__pyx_v_fun_wrap = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
static PyTypeObject __pyx_type_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF = {
PyVarObject_HEAD_INIT(0, 0)
"xraylib_np.__pyx_scope_struct_8_XRL_4IFFF", /*tp_name*/
sizeof(struct __pyx_obj_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF, /*tp_dealloc*/
0, /*tp_print*/
0, /*tp_getattr*/
0, /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
0, /*tp_compare*/
#endif
#if PY_MAJOR_VERSION >= 3
0, /*tp_as_async*/
#endif
0, /*tp_repr*/
0, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call*/
0, /*tp_str*/
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
__pyx_tp_traverse_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF, /*tp_traverse*/
__pyx_tp_clear_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
0, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
0, /*tp_dict*/
0, /*tp_descr_get*/
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
0, /*tp_alloc*/
__pyx_tp_new_10xraylib_np___pyx_scope_struct_8_XRL_4IFFF, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
0, /*tp_mro*/
0, /*tp_cache*/
0, /*tp_subclasses*/
0, /*tp_weaklist*/
0, /*tp_del*/
0, /*tp_version_tag*/
#if PY_VERSION_HEX >= 0x030400a1
0, /*tp_finalize*/
#endif
};
static PyMethodDef __pyx_methods[] = {
{0, 0, 0, 0}
};
#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef __pyx_moduledef = {
#if PY_VERSION_HEX < 0x03020000
{ PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
#else
PyModuleDef_HEAD_INIT,
#endif
"xraylib_np",
0, /* m_doc */
-1, /* m_size */
__pyx_methods /* m_methods */,
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL /* m_free */
};
#endif
static __Pyx_StringTabEntry __pyx_string_tab[] = {
{&__pyx_n_s_AVOGNUM, __pyx_k_AVOGNUM, sizeof(__pyx_k_AVOGNUM), 0, 0, 1, 1},
{&__pyx_n_s_AW, __pyx_k_AW, sizeof(__pyx_k_AW), 0, 0, 1, 1},
{&__pyx_n_s_AtomicLevelWidth, __pyx_k_AtomicLevelWidth, sizeof(__pyx_k_AtomicLevelWidth), 0, 0, 1, 1},
{&__pyx_n_s_AtomicLevelWidth_2, __pyx_k_AtomicLevelWidth_2, sizeof(__pyx_k_AtomicLevelWidth_2), 0, 0, 1, 1},
{&__pyx_n_s_AtomicWeight, __pyx_k_AtomicWeight, sizeof(__pyx_k_AtomicWeight), 0, 0, 1, 1},
{&__pyx_n_s_AugerRate, __pyx_k_AugerRate, sizeof(__pyx_k_AugerRate), 0, 0, 1, 1},
{&__pyx_n_s_AugerRate_2, __pyx_k_AugerRate_2, sizeof(__pyx_k_AugerRate_2), 0, 0, 1, 1},
{&__pyx_n_s_AugerYield, __pyx_k_AugerYield, sizeof(__pyx_k_AugerYield), 0, 0, 1, 1},
{&__pyx_n_s_AugerYield_2, __pyx_k_AugerYield_2, sizeof(__pyx_k_AugerYield_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Compt, __pyx_k_CS_Compt, sizeof(__pyx_k_CS_Compt), 0, 0, 1, 1},
{&__pyx_n_s_CS_Compt_2, __pyx_k_CS_Compt_2, sizeof(__pyx_k_CS_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Energy, __pyx_k_CS_Energy, sizeof(__pyx_k_CS_Energy), 0, 0, 1, 1},
{&__pyx_n_s_CS_Energy_2, __pyx_k_CS_Energy_2, sizeof(__pyx_k_CS_Energy_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine, __pyx_k_CS_FluorLine, sizeof(__pyx_k_CS_FluorLine), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_2, __pyx_k_CS_FluorLine_2, sizeof(__pyx_k_CS_FluorLine_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel, __pyx_k_CS_FluorLine_Kissel, sizeof(__pyx_k_CS_FluorLine_Kissel), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_2, __pyx_k_CS_FluorLine_Kissel_2, sizeof(__pyx_k_CS_FluorLine_Kissel_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Cascade, __pyx_k_CS_FluorLine_Kissel_Cascade, sizeof(__pyx_k_CS_FluorLine_Kissel_Cascade), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Cascade_2, __pyx_k_CS_FluorLine_Kissel_Cascade_2, sizeof(__pyx_k_CS_FluorLine_Kissel_Cascade_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Nonradiativ, __pyx_k_CS_FluorLine_Kissel_Nonradiativ, sizeof(__pyx_k_CS_FluorLine_Kissel_Nonradiativ), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Nonradiative, __pyx_k_CS_FluorLine_Kissel_Nonradiative, sizeof(__pyx_k_CS_FluorLine_Kissel_Nonradiative), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Radiative_C, __pyx_k_CS_FluorLine_Kissel_Radiative_C, sizeof(__pyx_k_CS_FluorLine_Kissel_Radiative_C), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_Radiative_Ca, __pyx_k_CS_FluorLine_Kissel_Radiative_Ca, sizeof(__pyx_k_CS_FluorLine_Kissel_Radiative_Ca), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_no_Cascade, __pyx_k_CS_FluorLine_Kissel_no_Cascade, sizeof(__pyx_k_CS_FluorLine_Kissel_no_Cascade), 0, 0, 1, 1},
{&__pyx_n_s_CS_FluorLine_Kissel_no_Cascade_2, __pyx_k_CS_FluorLine_Kissel_no_Cascade_2, sizeof(__pyx_k_CS_FluorLine_Kissel_no_Cascade_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_KN, __pyx_k_CS_KN, sizeof(__pyx_k_CS_KN), 0, 0, 1, 1},
{&__pyx_n_s_CS_KN_2, __pyx_k_CS_KN_2, sizeof(__pyx_k_CS_KN_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo, __pyx_k_CS_Photo, sizeof(__pyx_k_CS_Photo), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo_2, __pyx_k_CS_Photo_2, sizeof(__pyx_k_CS_Photo_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo_Partial, __pyx_k_CS_Photo_Partial, sizeof(__pyx_k_CS_Photo_Partial), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo_Partial_2, __pyx_k_CS_Photo_Partial_2, sizeof(__pyx_k_CS_Photo_Partial_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo_Total, __pyx_k_CS_Photo_Total, sizeof(__pyx_k_CS_Photo_Total), 0, 0, 1, 1},
{&__pyx_n_s_CS_Photo_Total_2, __pyx_k_CS_Photo_Total_2, sizeof(__pyx_k_CS_Photo_Total_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Rayl, __pyx_k_CS_Rayl, sizeof(__pyx_k_CS_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_CS_Rayl_2, __pyx_k_CS_Rayl_2, sizeof(__pyx_k_CS_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Total, __pyx_k_CS_Total, sizeof(__pyx_k_CS_Total), 0, 0, 1, 1},
{&__pyx_n_s_CS_Total_2, __pyx_k_CS_Total_2, sizeof(__pyx_k_CS_Total_2), 0, 0, 1, 1},
{&__pyx_n_s_CS_Total_Kissel, __pyx_k_CS_Total_Kissel, sizeof(__pyx_k_CS_Total_Kissel), 0, 0, 1, 1},
{&__pyx_n_s_CS_Total_Kissel_2, __pyx_k_CS_Total_Kissel_2, sizeof(__pyx_k_CS_Total_Kissel_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Compt, __pyx_k_CSb_Compt, sizeof(__pyx_k_CSb_Compt), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Compt_2, __pyx_k_CSb_Compt_2, sizeof(__pyx_k_CSb_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine, __pyx_k_CSb_FluorLine, sizeof(__pyx_k_CSb_FluorLine), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_2, __pyx_k_CSb_FluorLine_2, sizeof(__pyx_k_CSb_FluorLine_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel, __pyx_k_CSb_FluorLine_Kissel, sizeof(__pyx_k_CSb_FluorLine_Kissel), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_2, __pyx_k_CSb_FluorLine_Kissel_2, sizeof(__pyx_k_CSb_FluorLine_Kissel_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Cascade, __pyx_k_CSb_FluorLine_Kissel_Cascade, sizeof(__pyx_k_CSb_FluorLine_Kissel_Cascade), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Cascade_2, __pyx_k_CSb_FluorLine_Kissel_Cascade_2, sizeof(__pyx_k_CSb_FluorLine_Kissel_Cascade_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Nonradiati, __pyx_k_CSb_FluorLine_Kissel_Nonradiati, sizeof(__pyx_k_CSb_FluorLine_Kissel_Nonradiati), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Nonradiativ, __pyx_k_CSb_FluorLine_Kissel_Nonradiativ, sizeof(__pyx_k_CSb_FluorLine_Kissel_Nonradiativ), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Radiative, __pyx_k_CSb_FluorLine_Kissel_Radiative, sizeof(__pyx_k_CSb_FluorLine_Kissel_Radiative), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_Radiative_C, __pyx_k_CSb_FluorLine_Kissel_Radiative_C, sizeof(__pyx_k_CSb_FluorLine_Kissel_Radiative_C), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_no_Cascade, __pyx_k_CSb_FluorLine_Kissel_no_Cascade, sizeof(__pyx_k_CSb_FluorLine_Kissel_no_Cascade), 0, 0, 1, 1},
{&__pyx_n_s_CSb_FluorLine_Kissel_no_Cascade_2, __pyx_k_CSb_FluorLine_Kissel_no_Cascade_2, sizeof(__pyx_k_CSb_FluorLine_Kissel_no_Cascade_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo, __pyx_k_CSb_Photo, sizeof(__pyx_k_CSb_Photo), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo_2, __pyx_k_CSb_Photo_2, sizeof(__pyx_k_CSb_Photo_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo_Partial, __pyx_k_CSb_Photo_Partial, sizeof(__pyx_k_CSb_Photo_Partial), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo_Partial_2, __pyx_k_CSb_Photo_Partial_2, sizeof(__pyx_k_CSb_Photo_Partial_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo_Total, __pyx_k_CSb_Photo_Total, sizeof(__pyx_k_CSb_Photo_Total), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Photo_Total_2, __pyx_k_CSb_Photo_Total_2, sizeof(__pyx_k_CSb_Photo_Total_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Rayl, __pyx_k_CSb_Rayl, sizeof(__pyx_k_CSb_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Rayl_2, __pyx_k_CSb_Rayl_2, sizeof(__pyx_k_CSb_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Total, __pyx_k_CSb_Total, sizeof(__pyx_k_CSb_Total), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Total_2, __pyx_k_CSb_Total_2, sizeof(__pyx_k_CSb_Total_2), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Total_Kissel, __pyx_k_CSb_Total_Kissel, sizeof(__pyx_k_CSb_Total_Kissel), 0, 0, 1, 1},
{&__pyx_n_s_CSb_Total_Kissel_2, __pyx_k_CSb_Total_Kissel_2, sizeof(__pyx_k_CSb_Total_Kissel_2), 0, 0, 1, 1},
{&__pyx_n_s_ComptonEnergy, __pyx_k_ComptonEnergy, sizeof(__pyx_k_ComptonEnergy), 0, 0, 1, 1},
{&__pyx_n_s_ComptonEnergy_2, __pyx_k_ComptonEnergy_2, sizeof(__pyx_k_ComptonEnergy_2), 0, 0, 1, 1},
{&__pyx_n_s_ComptonProfile, __pyx_k_ComptonProfile, sizeof(__pyx_k_ComptonProfile), 0, 0, 1, 1},
{&__pyx_n_s_ComptonProfile_2, __pyx_k_ComptonProfile_2, sizeof(__pyx_k_ComptonProfile_2), 0, 0, 1, 1},
{&__pyx_n_s_ComptonProfile_Partial, __pyx_k_ComptonProfile_Partial, sizeof(__pyx_k_ComptonProfile_Partial), 0, 0, 1, 1},
{&__pyx_n_s_ComptonProfile_Partial_2, __pyx_k_ComptonProfile_Partial_2, sizeof(__pyx_k_ComptonProfile_Partial_2), 0, 0, 1, 1},
{&__pyx_n_s_CosKronTransProb, __pyx_k_CosKronTransProb, sizeof(__pyx_k_CosKronTransProb), 0, 0, 1, 1},
{&__pyx_n_s_CosKronTransProb_2, __pyx_k_CosKronTransProb_2, sizeof(__pyx_k_CosKronTransProb_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Compt, __pyx_k_DCSP_Compt, sizeof(__pyx_k_DCSP_Compt), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Compt_2, __pyx_k_DCSP_Compt_2, sizeof(__pyx_k_DCSP_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_KN, __pyx_k_DCSP_KN, sizeof(__pyx_k_DCSP_KN), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_KN_2, __pyx_k_DCSP_KN_2, sizeof(__pyx_k_DCSP_KN_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Rayl, __pyx_k_DCSP_Rayl, sizeof(__pyx_k_DCSP_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Rayl_2, __pyx_k_DCSP_Rayl_2, sizeof(__pyx_k_DCSP_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Thoms, __pyx_k_DCSP_Thoms, sizeof(__pyx_k_DCSP_Thoms), 0, 0, 1, 1},
{&__pyx_n_s_DCSP_Thoms_2, __pyx_k_DCSP_Thoms_2, sizeof(__pyx_k_DCSP_Thoms_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSPb_Compt, __pyx_k_DCSPb_Compt, sizeof(__pyx_k_DCSPb_Compt), 0, 0, 1, 1},
{&__pyx_n_s_DCSPb_Compt_2, __pyx_k_DCSPb_Compt_2, sizeof(__pyx_k_DCSPb_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSPb_Rayl, __pyx_k_DCSPb_Rayl, sizeof(__pyx_k_DCSPb_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_DCSPb_Rayl_2, __pyx_k_DCSPb_Rayl_2, sizeof(__pyx_k_DCSPb_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Compt, __pyx_k_DCS_Compt, sizeof(__pyx_k_DCS_Compt), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Compt_2, __pyx_k_DCS_Compt_2, sizeof(__pyx_k_DCS_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_DCS_KN, __pyx_k_DCS_KN, sizeof(__pyx_k_DCS_KN), 0, 0, 1, 1},
{&__pyx_n_s_DCS_KN_2, __pyx_k_DCS_KN_2, sizeof(__pyx_k_DCS_KN_2), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Rayl, __pyx_k_DCS_Rayl, sizeof(__pyx_k_DCS_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Rayl_2, __pyx_k_DCS_Rayl_2, sizeof(__pyx_k_DCS_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Thoms, __pyx_k_DCS_Thoms, sizeof(__pyx_k_DCS_Thoms), 0, 0, 1, 1},
{&__pyx_n_s_DCS_Thoms_2, __pyx_k_DCS_Thoms_2, sizeof(__pyx_k_DCS_Thoms_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSb_Compt, __pyx_k_DCSb_Compt, sizeof(__pyx_k_DCSb_Compt), 0, 0, 1, 1},
{&__pyx_n_s_DCSb_Compt_2, __pyx_k_DCSb_Compt_2, sizeof(__pyx_k_DCSb_Compt_2), 0, 0, 1, 1},
{&__pyx_n_s_DCSb_Rayl, __pyx_k_DCSb_Rayl, sizeof(__pyx_k_DCSb_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_DCSb_Rayl_2, __pyx_k_DCSb_Rayl_2, sizeof(__pyx_k_DCSb_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_EdgeEnergy, __pyx_k_EdgeEnergy, sizeof(__pyx_k_EdgeEnergy), 0, 0, 1, 1},
{&__pyx_n_s_EdgeEnergy_2, __pyx_k_EdgeEnergy_2, sizeof(__pyx_k_EdgeEnergy_2), 0, 0, 1, 1},
{&__pyx_n_s_ElectronConfig, __pyx_k_ElectronConfig, sizeof(__pyx_k_ElectronConfig), 0, 0, 1, 1},
{&__pyx_n_s_ElectronConfig_2, __pyx_k_ElectronConfig_2, sizeof(__pyx_k_ElectronConfig_2), 0, 0, 1, 1},
{&__pyx_n_s_ElementDensity, __pyx_k_ElementDensity, sizeof(__pyx_k_ElementDensity), 0, 0, 1, 1},
{&__pyx_n_s_ElementDensity_2, __pyx_k_ElementDensity_2, sizeof(__pyx_k_ElementDensity_2), 0, 0, 1, 1},
{&__pyx_n_s_F12_TRANS, __pyx_k_F12_TRANS, sizeof(__pyx_k_F12_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_F13_TRANS, __pyx_k_F13_TRANS, sizeof(__pyx_k_F13_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_F1_TRANS, __pyx_k_F1_TRANS, sizeof(__pyx_k_F1_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_F23_TRANS, __pyx_k_F23_TRANS, sizeof(__pyx_k_F23_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FF_Rayl, __pyx_k_FF_Rayl, sizeof(__pyx_k_FF_Rayl), 0, 0, 1, 1},
{&__pyx_n_s_FF_Rayl_2, __pyx_k_FF_Rayl_2, sizeof(__pyx_k_FF_Rayl_2), 0, 0, 1, 1},
{&__pyx_n_s_FL12_TRANS, __pyx_k_FL12_TRANS, sizeof(__pyx_k_FL12_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FL13_TRANS, __pyx_k_FL13_TRANS, sizeof(__pyx_k_FL13_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FL23_TRANS, __pyx_k_FL23_TRANS, sizeof(__pyx_k_FL23_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FLP13_TRANS, __pyx_k_FLP13_TRANS, sizeof(__pyx_k_FLP13_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM12_TRANS, __pyx_k_FM12_TRANS, sizeof(__pyx_k_FM12_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM13_TRANS, __pyx_k_FM13_TRANS, sizeof(__pyx_k_FM13_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM14_TRANS, __pyx_k_FM14_TRANS, sizeof(__pyx_k_FM14_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM15_TRANS, __pyx_k_FM15_TRANS, sizeof(__pyx_k_FM15_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM23_TRANS, __pyx_k_FM23_TRANS, sizeof(__pyx_k_FM23_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM24_TRANS, __pyx_k_FM24_TRANS, sizeof(__pyx_k_FM24_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM25_TRANS, __pyx_k_FM25_TRANS, sizeof(__pyx_k_FM25_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM34_TRANS, __pyx_k_FM34_TRANS, sizeof(__pyx_k_FM34_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM35_TRANS, __pyx_k_FM35_TRANS, sizeof(__pyx_k_FM35_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FM45_TRANS, __pyx_k_FM45_TRANS, sizeof(__pyx_k_FM45_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_FP13_TRANS, __pyx_k_FP13_TRANS, sizeof(__pyx_k_FP13_TRANS), 0, 0, 1, 1},
{&__pyx_n_s_Fi, __pyx_k_Fi, sizeof(__pyx_k_Fi), 0, 0, 1, 1},
{&__pyx_n_s_Fi_2, __pyx_k_Fi_2, sizeof(__pyx_k_Fi_2), 0, 0, 1, 1},
{&__pyx_n_s_Fii, __pyx_k_Fii, sizeof(__pyx_k_Fii), 0, 0, 1, 1},
{&__pyx_n_s_Fii_2, __pyx_k_Fii_2, sizeof(__pyx_k_Fii_2), 0, 0, 1, 1},
{&__pyx_n_s_FluorYield, __pyx_k_FluorYield, sizeof(__pyx_k_FluorYield), 0, 0, 1, 1},
{&__pyx_n_s_FluorYield_2, __pyx_k_FluorYield_2, sizeof(__pyx_k_FluorYield_2), 0, 0, 1, 1},
{&__pyx_kp_u_Format_string_allocated_too_shor, __pyx_k_Format_string_allocated_too_shor, sizeof(__pyx_k_Format_string_allocated_too_shor), 0, 1, 0, 0},
{&__pyx_kp_u_Format_string_allocated_too_shor_2, __pyx_k_Format_string_allocated_too_shor_2, sizeof(__pyx_k_Format_string_allocated_too_shor_2), 0, 1, 0, 0},
{&__pyx_n_s_GetErrorMessages, __pyx_k_GetErrorMessages, sizeof(__pyx_k_GetErrorMessages), 0, 0, 1, 1},
{&__pyx_n_s_GetExitStatus, __pyx_k_GetExitStatus, sizeof(__pyx_k_GetExitStatus), 0, 0, 1, 1},
{&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1},
{&__pyx_n_s_JumpFactor, __pyx_k_JumpFactor, sizeof(__pyx_k_JumpFactor), 0, 0, 1, 1},
{&__pyx_n_s_JumpFactor_2, __pyx_k_JumpFactor_2, sizeof(__pyx_k_JumpFactor_2), 0, 0, 1, 1},
{&__pyx_n_s_KA1_LINE, __pyx_k_KA1_LINE, sizeof(__pyx_k_KA1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KA2_LINE, __pyx_k_KA2_LINE, sizeof(__pyx_k_KA2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KA_LINE, __pyx_k_KA_LINE, sizeof(__pyx_k_KA_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB1_LINE, __pyx_k_KB1_LINE, sizeof(__pyx_k_KB1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB2_LINE, __pyx_k_KB2_LINE, sizeof(__pyx_k_KB2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB3_LINE, __pyx_k_KB3_LINE, sizeof(__pyx_k_KB3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB4_LINE, __pyx_k_KB4_LINE, sizeof(__pyx_k_KB4_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB5_LINE, __pyx_k_KB5_LINE, sizeof(__pyx_k_KB5_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KB_LINE, __pyx_k_KB_LINE, sizeof(__pyx_k_KB_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KEV2ANGST, __pyx_k_KEV2ANGST, sizeof(__pyx_k_KEV2ANGST), 0, 0, 1, 1},
{&__pyx_n_s_KL1_LINE, __pyx_k_KL1_LINE, sizeof(__pyx_k_KL1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KL2_LINE, __pyx_k_KL2_LINE, sizeof(__pyx_k_KL2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KL3_LINE, __pyx_k_KL3_LINE, sizeof(__pyx_k_KL3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KM1_LINE, __pyx_k_KM1_LINE, sizeof(__pyx_k_KM1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KM2_LINE, __pyx_k_KM2_LINE, sizeof(__pyx_k_KM2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KM3_LINE, __pyx_k_KM3_LINE, sizeof(__pyx_k_KM3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KM4_LINE, __pyx_k_KM4_LINE, sizeof(__pyx_k_KM4_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KM5_LINE, __pyx_k_KM5_LINE, sizeof(__pyx_k_KM5_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN1_LINE, __pyx_k_KN1_LINE, sizeof(__pyx_k_KN1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN2_LINE, __pyx_k_KN2_LINE, sizeof(__pyx_k_KN2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN3_LINE, __pyx_k_KN3_LINE, sizeof(__pyx_k_KN3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN4_LINE, __pyx_k_KN4_LINE, sizeof(__pyx_k_KN4_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN5_LINE, __pyx_k_KN5_LINE, sizeof(__pyx_k_KN5_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN6_LINE, __pyx_k_KN6_LINE, sizeof(__pyx_k_KN6_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KN7_LINE, __pyx_k_KN7_LINE, sizeof(__pyx_k_KN7_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO1_LINE, __pyx_k_KO1_LINE, sizeof(__pyx_k_KO1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO2_LINE, __pyx_k_KO2_LINE, sizeof(__pyx_k_KO2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO3_LINE, __pyx_k_KO3_LINE, sizeof(__pyx_k_KO3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO4_LINE, __pyx_k_KO4_LINE, sizeof(__pyx_k_KO4_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO5_LINE, __pyx_k_KO5_LINE, sizeof(__pyx_k_KO5_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO6_LINE, __pyx_k_KO6_LINE, sizeof(__pyx_k_KO6_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO7_LINE, __pyx_k_KO7_LINE, sizeof(__pyx_k_KO7_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KO_LINE, __pyx_k_KO_LINE, sizeof(__pyx_k_KO_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP1_LINE, __pyx_k_KP1_LINE, sizeof(__pyx_k_KP1_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP2_LINE, __pyx_k_KP2_LINE, sizeof(__pyx_k_KP2_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP3_LINE, __pyx_k_KP3_LINE, sizeof(__pyx_k_KP3_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP4_LINE, __pyx_k_KP4_LINE, sizeof(__pyx_k_KP4_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP5_LINE, __pyx_k_KP5_LINE, sizeof(__pyx_k_KP5_LINE), 0, 0, 1, 1},
{&__pyx_n_s_KP_LINE, __pyx_k_KP_LINE, sizeof(__pyx_k_KP_LINE), 0, 0, 1, 1},
{&__pyx_n_s_K_L1L1_AUGER, __pyx_k_K_L1L1_AUGER, sizeof(__pyx_k_K_L1L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1L2_AUGER, __pyx_k_K_L1L2_AUGER, sizeof(__pyx_k_K_L1L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1L3_AUGER, __pyx_k_K_L1L3_AUGER, sizeof(__pyx_k_K_L1L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1M1_AUGER, __pyx_k_K_L1M1_AUGER, sizeof(__pyx_k_K_L1M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1M2_AUGER, __pyx_k_K_L1M2_AUGER, sizeof(__pyx_k_K_L1M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1M3_AUGER, __pyx_k_K_L1M3_AUGER, sizeof(__pyx_k_K_L1M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1M4_AUGER, __pyx_k_K_L1M4_AUGER, sizeof(__pyx_k_K_L1M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1M5_AUGER, __pyx_k_K_L1M5_AUGER, sizeof(__pyx_k_K_L1M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N1_AUGER, __pyx_k_K_L1N1_AUGER, sizeof(__pyx_k_K_L1N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N2_AUGER, __pyx_k_K_L1N2_AUGER, sizeof(__pyx_k_K_L1N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N3_AUGER, __pyx_k_K_L1N3_AUGER, sizeof(__pyx_k_K_L1N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N4_AUGER, __pyx_k_K_L1N4_AUGER, sizeof(__pyx_k_K_L1N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N5_AUGER, __pyx_k_K_L1N5_AUGER, sizeof(__pyx_k_K_L1N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N6_AUGER, __pyx_k_K_L1N6_AUGER, sizeof(__pyx_k_K_L1N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1N7_AUGER, __pyx_k_K_L1N7_AUGER, sizeof(__pyx_k_K_L1N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O1_AUGER, __pyx_k_K_L1O1_AUGER, sizeof(__pyx_k_K_L1O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O2_AUGER, __pyx_k_K_L1O2_AUGER, sizeof(__pyx_k_K_L1O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O3_AUGER, __pyx_k_K_L1O3_AUGER, sizeof(__pyx_k_K_L1O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O4_AUGER, __pyx_k_K_L1O4_AUGER, sizeof(__pyx_k_K_L1O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O5_AUGER, __pyx_k_K_L1O5_AUGER, sizeof(__pyx_k_K_L1O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O6_AUGER, __pyx_k_K_L1O6_AUGER, sizeof(__pyx_k_K_L1O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1O7_AUGER, __pyx_k_K_L1O7_AUGER, sizeof(__pyx_k_K_L1O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1P1_AUGER, __pyx_k_K_L1P1_AUGER, sizeof(__pyx_k_K_L1P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1P2_AUGER, __pyx_k_K_L1P2_AUGER, sizeof(__pyx_k_K_L1P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1P3_AUGER, __pyx_k_K_L1P3_AUGER, sizeof(__pyx_k_K_L1P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1P4_AUGER, __pyx_k_K_L1P4_AUGER, sizeof(__pyx_k_K_L1P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1P5_AUGER, __pyx_k_K_L1P5_AUGER, sizeof(__pyx_k_K_L1P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1Q1_AUGER, __pyx_k_K_L1Q1_AUGER, sizeof(__pyx_k_K_L1Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1Q2_AUGER, __pyx_k_K_L1Q2_AUGER, sizeof(__pyx_k_K_L1Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L1Q3_AUGER, __pyx_k_K_L1Q3_AUGER, sizeof(__pyx_k_K_L1Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2L1_AUGER, __pyx_k_K_L2L1_AUGER, sizeof(__pyx_k_K_L2L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2L2_AUGER, __pyx_k_K_L2L2_AUGER, sizeof(__pyx_k_K_L2L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2L3_AUGER, __pyx_k_K_L2L3_AUGER, sizeof(__pyx_k_K_L2L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2M1_AUGER, __pyx_k_K_L2M1_AUGER, sizeof(__pyx_k_K_L2M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2M2_AUGER, __pyx_k_K_L2M2_AUGER, sizeof(__pyx_k_K_L2M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2M3_AUGER, __pyx_k_K_L2M3_AUGER, sizeof(__pyx_k_K_L2M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2M4_AUGER, __pyx_k_K_L2M4_AUGER, sizeof(__pyx_k_K_L2M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2M5_AUGER, __pyx_k_K_L2M5_AUGER, sizeof(__pyx_k_K_L2M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N1_AUGER, __pyx_k_K_L2N1_AUGER, sizeof(__pyx_k_K_L2N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N2_AUGER, __pyx_k_K_L2N2_AUGER, sizeof(__pyx_k_K_L2N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N3_AUGER, __pyx_k_K_L2N3_AUGER, sizeof(__pyx_k_K_L2N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N4_AUGER, __pyx_k_K_L2N4_AUGER, sizeof(__pyx_k_K_L2N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N5_AUGER, __pyx_k_K_L2N5_AUGER, sizeof(__pyx_k_K_L2N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N6_AUGER, __pyx_k_K_L2N6_AUGER, sizeof(__pyx_k_K_L2N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2N7_AUGER, __pyx_k_K_L2N7_AUGER, sizeof(__pyx_k_K_L2N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O1_AUGER, __pyx_k_K_L2O1_AUGER, sizeof(__pyx_k_K_L2O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O2_AUGER, __pyx_k_K_L2O2_AUGER, sizeof(__pyx_k_K_L2O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O3_AUGER, __pyx_k_K_L2O3_AUGER, sizeof(__pyx_k_K_L2O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O4_AUGER, __pyx_k_K_L2O4_AUGER, sizeof(__pyx_k_K_L2O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O5_AUGER, __pyx_k_K_L2O5_AUGER, sizeof(__pyx_k_K_L2O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O6_AUGER, __pyx_k_K_L2O6_AUGER, sizeof(__pyx_k_K_L2O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2O7_AUGER, __pyx_k_K_L2O7_AUGER, sizeof(__pyx_k_K_L2O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2P1_AUGER, __pyx_k_K_L2P1_AUGER, sizeof(__pyx_k_K_L2P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2P2_AUGER, __pyx_k_K_L2P2_AUGER, sizeof(__pyx_k_K_L2P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2P3_AUGER, __pyx_k_K_L2P3_AUGER, sizeof(__pyx_k_K_L2P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2P4_AUGER, __pyx_k_K_L2P4_AUGER, sizeof(__pyx_k_K_L2P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2P5_AUGER, __pyx_k_K_L2P5_AUGER, sizeof(__pyx_k_K_L2P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2Q1_AUGER, __pyx_k_K_L2Q1_AUGER, sizeof(__pyx_k_K_L2Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2Q2_AUGER, __pyx_k_K_L2Q2_AUGER, sizeof(__pyx_k_K_L2Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L2Q3_AUGER, __pyx_k_K_L2Q3_AUGER, sizeof(__pyx_k_K_L2Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3L1_AUGER, __pyx_k_K_L3L1_AUGER, sizeof(__pyx_k_K_L3L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3L2_AUGER, __pyx_k_K_L3L2_AUGER, sizeof(__pyx_k_K_L3L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3L3_AUGER, __pyx_k_K_L3L3_AUGER, sizeof(__pyx_k_K_L3L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3M1_AUGER, __pyx_k_K_L3M1_AUGER, sizeof(__pyx_k_K_L3M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3M2_AUGER, __pyx_k_K_L3M2_AUGER, sizeof(__pyx_k_K_L3M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3M3_AUGER, __pyx_k_K_L3M3_AUGER, sizeof(__pyx_k_K_L3M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3M4_AUGER, __pyx_k_K_L3M4_AUGER, sizeof(__pyx_k_K_L3M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3M5_AUGER, __pyx_k_K_L3M5_AUGER, sizeof(__pyx_k_K_L3M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N1_AUGER, __pyx_k_K_L3N1_AUGER, sizeof(__pyx_k_K_L3N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N2_AUGER, __pyx_k_K_L3N2_AUGER, sizeof(__pyx_k_K_L3N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N3_AUGER, __pyx_k_K_L3N3_AUGER, sizeof(__pyx_k_K_L3N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N4_AUGER, __pyx_k_K_L3N4_AUGER, sizeof(__pyx_k_K_L3N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N5_AUGER, __pyx_k_K_L3N5_AUGER, sizeof(__pyx_k_K_L3N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N6_AUGER, __pyx_k_K_L3N6_AUGER, sizeof(__pyx_k_K_L3N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3N7_AUGER, __pyx_k_K_L3N7_AUGER, sizeof(__pyx_k_K_L3N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O1_AUGER, __pyx_k_K_L3O1_AUGER, sizeof(__pyx_k_K_L3O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O2_AUGER, __pyx_k_K_L3O2_AUGER, sizeof(__pyx_k_K_L3O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O3_AUGER, __pyx_k_K_L3O3_AUGER, sizeof(__pyx_k_K_L3O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O4_AUGER, __pyx_k_K_L3O4_AUGER, sizeof(__pyx_k_K_L3O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O5_AUGER, __pyx_k_K_L3O5_AUGER, sizeof(__pyx_k_K_L3O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O6_AUGER, __pyx_k_K_L3O6_AUGER, sizeof(__pyx_k_K_L3O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3O7_AUGER, __pyx_k_K_L3O7_AUGER, sizeof(__pyx_k_K_L3O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3P1_AUGER, __pyx_k_K_L3P1_AUGER, sizeof(__pyx_k_K_L3P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3P2_AUGER, __pyx_k_K_L3P2_AUGER, sizeof(__pyx_k_K_L3P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3P3_AUGER, __pyx_k_K_L3P3_AUGER, sizeof(__pyx_k_K_L3P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3P4_AUGER, __pyx_k_K_L3P4_AUGER, sizeof(__pyx_k_K_L3P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3P5_AUGER, __pyx_k_K_L3P5_AUGER, sizeof(__pyx_k_K_L3P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3Q1_AUGER, __pyx_k_K_L3Q1_AUGER, sizeof(__pyx_k_K_L3Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3Q2_AUGER, __pyx_k_K_L3Q2_AUGER, sizeof(__pyx_k_K_L3Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_L3Q3_AUGER, __pyx_k_K_L3Q3_AUGER, sizeof(__pyx_k_K_L3Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1L1_AUGER, __pyx_k_K_M1L1_AUGER, sizeof(__pyx_k_K_M1L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1L2_AUGER, __pyx_k_K_M1L2_AUGER, sizeof(__pyx_k_K_M1L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1L3_AUGER, __pyx_k_K_M1L3_AUGER, sizeof(__pyx_k_K_M1L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1M1_AUGER, __pyx_k_K_M1M1_AUGER, sizeof(__pyx_k_K_M1M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1M2_AUGER, __pyx_k_K_M1M2_AUGER, sizeof(__pyx_k_K_M1M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1M3_AUGER, __pyx_k_K_M1M3_AUGER, sizeof(__pyx_k_K_M1M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1M4_AUGER, __pyx_k_K_M1M4_AUGER, sizeof(__pyx_k_K_M1M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1M5_AUGER, __pyx_k_K_M1M5_AUGER, sizeof(__pyx_k_K_M1M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N1_AUGER, __pyx_k_K_M1N1_AUGER, sizeof(__pyx_k_K_M1N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N2_AUGER, __pyx_k_K_M1N2_AUGER, sizeof(__pyx_k_K_M1N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N3_AUGER, __pyx_k_K_M1N3_AUGER, sizeof(__pyx_k_K_M1N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N4_AUGER, __pyx_k_K_M1N4_AUGER, sizeof(__pyx_k_K_M1N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N5_AUGER, __pyx_k_K_M1N5_AUGER, sizeof(__pyx_k_K_M1N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N6_AUGER, __pyx_k_K_M1N6_AUGER, sizeof(__pyx_k_K_M1N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1N7_AUGER, __pyx_k_K_M1N7_AUGER, sizeof(__pyx_k_K_M1N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O1_AUGER, __pyx_k_K_M1O1_AUGER, sizeof(__pyx_k_K_M1O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O2_AUGER, __pyx_k_K_M1O2_AUGER, sizeof(__pyx_k_K_M1O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O3_AUGER, __pyx_k_K_M1O3_AUGER, sizeof(__pyx_k_K_M1O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O4_AUGER, __pyx_k_K_M1O4_AUGER, sizeof(__pyx_k_K_M1O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O5_AUGER, __pyx_k_K_M1O5_AUGER, sizeof(__pyx_k_K_M1O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O6_AUGER, __pyx_k_K_M1O6_AUGER, sizeof(__pyx_k_K_M1O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1O7_AUGER, __pyx_k_K_M1O7_AUGER, sizeof(__pyx_k_K_M1O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1P1_AUGER, __pyx_k_K_M1P1_AUGER, sizeof(__pyx_k_K_M1P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1P2_AUGER, __pyx_k_K_M1P2_AUGER, sizeof(__pyx_k_K_M1P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1P3_AUGER, __pyx_k_K_M1P3_AUGER, sizeof(__pyx_k_K_M1P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1P4_AUGER, __pyx_k_K_M1P4_AUGER, sizeof(__pyx_k_K_M1P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1P5_AUGER, __pyx_k_K_M1P5_AUGER, sizeof(__pyx_k_K_M1P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1Q1_AUGER, __pyx_k_K_M1Q1_AUGER, sizeof(__pyx_k_K_M1Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1Q2_AUGER, __pyx_k_K_M1Q2_AUGER, sizeof(__pyx_k_K_M1Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M1Q3_AUGER, __pyx_k_K_M1Q3_AUGER, sizeof(__pyx_k_K_M1Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2L1_AUGER, __pyx_k_K_M2L1_AUGER, sizeof(__pyx_k_K_M2L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2L2_AUGER, __pyx_k_K_M2L2_AUGER, sizeof(__pyx_k_K_M2L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2L3_AUGER, __pyx_k_K_M2L3_AUGER, sizeof(__pyx_k_K_M2L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2M1_AUGER, __pyx_k_K_M2M1_AUGER, sizeof(__pyx_k_K_M2M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2M2_AUGER, __pyx_k_K_M2M2_AUGER, sizeof(__pyx_k_K_M2M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2M3_AUGER, __pyx_k_K_M2M3_AUGER, sizeof(__pyx_k_K_M2M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2M4_AUGER, __pyx_k_K_M2M4_AUGER, sizeof(__pyx_k_K_M2M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2M5_AUGER, __pyx_k_K_M2M5_AUGER, sizeof(__pyx_k_K_M2M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N1_AUGER, __pyx_k_K_M2N1_AUGER, sizeof(__pyx_k_K_M2N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N2_AUGER, __pyx_k_K_M2N2_AUGER, sizeof(__pyx_k_K_M2N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N3_AUGER, __pyx_k_K_M2N3_AUGER, sizeof(__pyx_k_K_M2N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N4_AUGER, __pyx_k_K_M2N4_AUGER, sizeof(__pyx_k_K_M2N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N5_AUGER, __pyx_k_K_M2N5_AUGER, sizeof(__pyx_k_K_M2N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N6_AUGER, __pyx_k_K_M2N6_AUGER, sizeof(__pyx_k_K_M2N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2N7_AUGER, __pyx_k_K_M2N7_AUGER, sizeof(__pyx_k_K_M2N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O1_AUGER, __pyx_k_K_M2O1_AUGER, sizeof(__pyx_k_K_M2O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O2_AUGER, __pyx_k_K_M2O2_AUGER, sizeof(__pyx_k_K_M2O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O3_AUGER, __pyx_k_K_M2O3_AUGER, sizeof(__pyx_k_K_M2O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O4_AUGER, __pyx_k_K_M2O4_AUGER, sizeof(__pyx_k_K_M2O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O5_AUGER, __pyx_k_K_M2O5_AUGER, sizeof(__pyx_k_K_M2O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O6_AUGER, __pyx_k_K_M2O6_AUGER, sizeof(__pyx_k_K_M2O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2O7_AUGER, __pyx_k_K_M2O7_AUGER, sizeof(__pyx_k_K_M2O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2P1_AUGER, __pyx_k_K_M2P1_AUGER, sizeof(__pyx_k_K_M2P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2P2_AUGER, __pyx_k_K_M2P2_AUGER, sizeof(__pyx_k_K_M2P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2P3_AUGER, __pyx_k_K_M2P3_AUGER, sizeof(__pyx_k_K_M2P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2P4_AUGER, __pyx_k_K_M2P4_AUGER, sizeof(__pyx_k_K_M2P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2P5_AUGER, __pyx_k_K_M2P5_AUGER, sizeof(__pyx_k_K_M2P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2Q1_AUGER, __pyx_k_K_M2Q1_AUGER, sizeof(__pyx_k_K_M2Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2Q2_AUGER, __pyx_k_K_M2Q2_AUGER, sizeof(__pyx_k_K_M2Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M2Q3_AUGER, __pyx_k_K_M2Q3_AUGER, sizeof(__pyx_k_K_M2Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3L1_AUGER, __pyx_k_K_M3L1_AUGER, sizeof(__pyx_k_K_M3L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3L2_AUGER, __pyx_k_K_M3L2_AUGER, sizeof(__pyx_k_K_M3L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3L3_AUGER, __pyx_k_K_M3L3_AUGER, sizeof(__pyx_k_K_M3L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3M1_AUGER, __pyx_k_K_M3M1_AUGER, sizeof(__pyx_k_K_M3M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3M2_AUGER, __pyx_k_K_M3M2_AUGER, sizeof(__pyx_k_K_M3M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3M3_AUGER, __pyx_k_K_M3M3_AUGER, sizeof(__pyx_k_K_M3M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3M4_AUGER, __pyx_k_K_M3M4_AUGER, sizeof(__pyx_k_K_M3M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3M5_AUGER, __pyx_k_K_M3M5_AUGER, sizeof(__pyx_k_K_M3M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N1_AUGER, __pyx_k_K_M3N1_AUGER, sizeof(__pyx_k_K_M3N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N2_AUGER, __pyx_k_K_M3N2_AUGER, sizeof(__pyx_k_K_M3N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N3_AUGER, __pyx_k_K_M3N3_AUGER, sizeof(__pyx_k_K_M3N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N4_AUGER, __pyx_k_K_M3N4_AUGER, sizeof(__pyx_k_K_M3N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N5_AUGER, __pyx_k_K_M3N5_AUGER, sizeof(__pyx_k_K_M3N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N6_AUGER, __pyx_k_K_M3N6_AUGER, sizeof(__pyx_k_K_M3N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3N7_AUGER, __pyx_k_K_M3N7_AUGER, sizeof(__pyx_k_K_M3N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O1_AUGER, __pyx_k_K_M3O1_AUGER, sizeof(__pyx_k_K_M3O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O2_AUGER, __pyx_k_K_M3O2_AUGER, sizeof(__pyx_k_K_M3O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O3_AUGER, __pyx_k_K_M3O3_AUGER, sizeof(__pyx_k_K_M3O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O4_AUGER, __pyx_k_K_M3O4_AUGER, sizeof(__pyx_k_K_M3O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O5_AUGER, __pyx_k_K_M3O5_AUGER, sizeof(__pyx_k_K_M3O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O6_AUGER, __pyx_k_K_M3O6_AUGER, sizeof(__pyx_k_K_M3O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3O7_AUGER, __pyx_k_K_M3O7_AUGER, sizeof(__pyx_k_K_M3O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3P1_AUGER, __pyx_k_K_M3P1_AUGER, sizeof(__pyx_k_K_M3P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3P2_AUGER, __pyx_k_K_M3P2_AUGER, sizeof(__pyx_k_K_M3P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3P3_AUGER, __pyx_k_K_M3P3_AUGER, sizeof(__pyx_k_K_M3P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3P4_AUGER, __pyx_k_K_M3P4_AUGER, sizeof(__pyx_k_K_M3P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3P5_AUGER, __pyx_k_K_M3P5_AUGER, sizeof(__pyx_k_K_M3P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3Q1_AUGER, __pyx_k_K_M3Q1_AUGER, sizeof(__pyx_k_K_M3Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3Q2_AUGER, __pyx_k_K_M3Q2_AUGER, sizeof(__pyx_k_K_M3Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M3Q3_AUGER, __pyx_k_K_M3Q3_AUGER, sizeof(__pyx_k_K_M3Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4L1_AUGER, __pyx_k_K_M4L1_AUGER, sizeof(__pyx_k_K_M4L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4L2_AUGER, __pyx_k_K_M4L2_AUGER, sizeof(__pyx_k_K_M4L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4L3_AUGER, __pyx_k_K_M4L3_AUGER, sizeof(__pyx_k_K_M4L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4M1_AUGER, __pyx_k_K_M4M1_AUGER, sizeof(__pyx_k_K_M4M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4M2_AUGER, __pyx_k_K_M4M2_AUGER, sizeof(__pyx_k_K_M4M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4M3_AUGER, __pyx_k_K_M4M3_AUGER, sizeof(__pyx_k_K_M4M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4M4_AUGER, __pyx_k_K_M4M4_AUGER, sizeof(__pyx_k_K_M4M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4M5_AUGER, __pyx_k_K_M4M5_AUGER, sizeof(__pyx_k_K_M4M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N1_AUGER, __pyx_k_K_M4N1_AUGER, sizeof(__pyx_k_K_M4N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N2_AUGER, __pyx_k_K_M4N2_AUGER, sizeof(__pyx_k_K_M4N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N3_AUGER, __pyx_k_K_M4N3_AUGER, sizeof(__pyx_k_K_M4N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N4_AUGER, __pyx_k_K_M4N4_AUGER, sizeof(__pyx_k_K_M4N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N5_AUGER, __pyx_k_K_M4N5_AUGER, sizeof(__pyx_k_K_M4N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N6_AUGER, __pyx_k_K_M4N6_AUGER, sizeof(__pyx_k_K_M4N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4N7_AUGER, __pyx_k_K_M4N7_AUGER, sizeof(__pyx_k_K_M4N7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O1_AUGER, __pyx_k_K_M4O1_AUGER, sizeof(__pyx_k_K_M4O1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O2_AUGER, __pyx_k_K_M4O2_AUGER, sizeof(__pyx_k_K_M4O2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O3_AUGER, __pyx_k_K_M4O3_AUGER, sizeof(__pyx_k_K_M4O3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O4_AUGER, __pyx_k_K_M4O4_AUGER, sizeof(__pyx_k_K_M4O4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O5_AUGER, __pyx_k_K_M4O5_AUGER, sizeof(__pyx_k_K_M4O5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O6_AUGER, __pyx_k_K_M4O6_AUGER, sizeof(__pyx_k_K_M4O6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4O7_AUGER, __pyx_k_K_M4O7_AUGER, sizeof(__pyx_k_K_M4O7_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4P1_AUGER, __pyx_k_K_M4P1_AUGER, sizeof(__pyx_k_K_M4P1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4P2_AUGER, __pyx_k_K_M4P2_AUGER, sizeof(__pyx_k_K_M4P2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4P3_AUGER, __pyx_k_K_M4P3_AUGER, sizeof(__pyx_k_K_M4P3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4P4_AUGER, __pyx_k_K_M4P4_AUGER, sizeof(__pyx_k_K_M4P4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4P5_AUGER, __pyx_k_K_M4P5_AUGER, sizeof(__pyx_k_K_M4P5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4Q1_AUGER, __pyx_k_K_M4Q1_AUGER, sizeof(__pyx_k_K_M4Q1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4Q2_AUGER, __pyx_k_K_M4Q2_AUGER, sizeof(__pyx_k_K_M4Q2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M4Q3_AUGER, __pyx_k_K_M4Q3_AUGER, sizeof(__pyx_k_K_M4Q3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5L1_AUGER, __pyx_k_K_M5L1_AUGER, sizeof(__pyx_k_K_M5L1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5L2_AUGER, __pyx_k_K_M5L2_AUGER, sizeof(__pyx_k_K_M5L2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5L3_AUGER, __pyx_k_K_M5L3_AUGER, sizeof(__pyx_k_K_M5L3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5M1_AUGER, __pyx_k_K_M5M1_AUGER, sizeof(__pyx_k_K_M5M1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5M2_AUGER, __pyx_k_K_M5M2_AUGER, sizeof(__pyx_k_K_M5M2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5M3_AUGER, __pyx_k_K_M5M3_AUGER, sizeof(__pyx_k_K_M5M3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5M4_AUGER, __pyx_k_K_M5M4_AUGER, sizeof(__pyx_k_K_M5M4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5M5_AUGER, __pyx_k_K_M5M5_AUGER, sizeof(__pyx_k_K_M5M5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N1_AUGER, __pyx_k_K_M5N1_AUGER, sizeof(__pyx_k_K_M5N1_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N2_AUGER, __pyx_k_K_M5N2_AUGER, sizeof(__pyx_k_K_M5N2_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N3_AUGER, __pyx_k_K_M5N3_AUGER, sizeof(__pyx_k_K_M5N3_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N4_AUGER, __pyx_k_K_M5N4_AUGER, sizeof(__pyx_k_K_M5N4_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N5_AUGER, __pyx_k_K_M5N5_AUGER, sizeof(__pyx_k_K_M5N5_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N6_AUGER, __pyx_k_K_M5N6_AUGER, sizeof(__pyx_k_K_M5N6_AUGER), 0, 0, 1, 1},
{&__pyx_n_s_K_M5N7_AUGER, __pyx_k_K_M5N7_AUGER, sizeof(__pyx_k_K_M5N7_AUGER), 0,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment