Commit a8631fbf authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Updating the C files generated by Cython

parent 43500ba6
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -750,7 +750,7 @@ typedef volatile __pyx_atomic_int_type __pyx_atomic_int;
#endif
 
 
/* "ltfat.pxd":57
/* "ltfat.pxd":61
* TIMEINV = 1
*
* ctypedef size_t ltfatInt # <<<<<<<<<<<<<<
......@@ -777,7 +777,7 @@ struct __pyx_MemviewEnum_obj;
struct __pyx_memoryview_obj;
struct __pyx_memoryviewslice_obj;
 
/* "ltfat.pxd":53
/* "ltfat.pxd":57
*
*
* cdef enum dgt_phasetype: # <<<<<<<<<<<<<<
......@@ -789,7 +789,7 @@ enum __pyx_t_7ltfatpy_4comp_5ltfat_dgt_phasetype {
__pyx_e_7ltfatpy_4comp_5ltfat_TIMEINV = 1
};
 
/* "ltfat.pxd":60
/* "ltfat.pxd":64
*
* # Values extracted from fftw3.h
* cdef enum dct_kind: # <<<<<<<<<<<<<<
......@@ -803,7 +803,7 @@ enum __pyx_t_7ltfatpy_4comp_5ltfat_dct_kind {
__pyx_e_7ltfatpy_4comp_5ltfat_DCTIV = 6
};
 
/* "ltfat.pxd":67
/* "ltfat.pxd":71
*
* # Values extracted from fftw3.h
* cdef enum dst_kind: # <<<<<<<<<<<<<<
......@@ -818,7 +818,7 @@ enum __pyx_t_7ltfatpy_4comp_5ltfat_dst_kind {
};
struct __pyx_opt_args_7ltfatpy_4comp_11comp_pgauss_comp_pgauss;
 
/* "ltfatpy/comp/comp_pgauss.pyx":86
/* "ltfatpy/comp/comp_pgauss.pyx":90
* pgauss_cmplx_d(L, w, c_t, c_f, & out[0])
*
* cpdef comp_pgauss(L, w=1.0, c_t=0, c_f=0): # <<<<<<<<<<<<<<
......@@ -1799,7 +1799,7 @@ static PyObject *__pyx_tuple__16;
static PyObject *__pyx_tuple__17;
static PyObject *__pyx_tuple__18;
 
/* "ltfatpy/comp/comp_pgauss.pyx":72
/* "ltfatpy/comp/comp_pgauss.pyx":76
* # assume no negative indexing.
* @cython.wraparound(False)
* cdef comp_pgauss_real(ltfatInt L, double w, double c_t, # <<<<<<<<<<<<<<
......@@ -1813,7 +1813,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_real(__pyx_t_7
Py_ssize_t __pyx_t_1;
__Pyx_RefNannySetupContext("comp_pgauss_real", 0);
 
/* "ltfatpy/comp/comp_pgauss.pyx":75
/* "ltfatpy/comp/comp_pgauss.pyx":79
* double[:] out):
* """ Internal function, do not use it """
* pgauss_d(L, w, c_t, & out[0]) # <<<<<<<<<<<<<<
......@@ -1823,7 +1823,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_real(__pyx_t_7
__pyx_t_1 = 0;
pgauss_d(__pyx_v_L, __pyx_v_w, __pyx_v_c_t, (&(*((double *) ( /* dim=0 */ (__pyx_v_out.data + __pyx_t_1 * __pyx_v_out.strides[0]) )))));
 
/* "ltfatpy/comp/comp_pgauss.pyx":72
/* "ltfatpy/comp/comp_pgauss.pyx":76
* # assume no negative indexing.
* @cython.wraparound(False)
* cdef comp_pgauss_real(ltfatInt L, double w, double c_t, # <<<<<<<<<<<<<<
......@@ -1838,7 +1838,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_real(__pyx_t_7
return __pyx_r;
}
 
/* "ltfatpy/comp/comp_pgauss.pyx":81
/* "ltfatpy/comp/comp_pgauss.pyx":85
* # assume no negative indexing.
* @cython.wraparound(False)
* cdef comp_pgauss_cplx(ltfatInt L, double w, double c_t, # <<<<<<<<<<<<<<
......@@ -1852,7 +1852,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_cplx(__pyx_t_7
Py_ssize_t __pyx_t_1;
__Pyx_RefNannySetupContext("comp_pgauss_cplx", 0);
 
/* "ltfatpy/comp/comp_pgauss.pyx":84
/* "ltfatpy/comp/comp_pgauss.pyx":88
* double c_f, double complex[:] out):
* """ Internal function, do not use it """
* pgauss_cmplx_d(L, w, c_t, c_f, & out[0]) # <<<<<<<<<<<<<<
......@@ -1862,7 +1862,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_cplx(__pyx_t_7
__pyx_t_1 = 0;
pgauss_cmplx_d(__pyx_v_L, __pyx_v_w, __pyx_v_c_t, __pyx_v_c_f, (&(*((__pyx_t_double_complex *) ( /* dim=0 */ (__pyx_v_out.data + __pyx_t_1 * __pyx_v_out.strides[0]) )))));
 
/* "ltfatpy/comp/comp_pgauss.pyx":81
/* "ltfatpy/comp/comp_pgauss.pyx":85
* # assume no negative indexing.
* @cython.wraparound(False)
* cdef comp_pgauss_cplx(ltfatInt L, double w, double c_t, # <<<<<<<<<<<<<<
......@@ -1877,7 +1877,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_cplx(__pyx_t_7
return __pyx_r;
}
 
/* "ltfatpy/comp/comp_pgauss.pyx":86
/* "ltfatpy/comp/comp_pgauss.pyx":90
* pgauss_cmplx_d(L, w, c_t, c_f, & out[0])
*
* cpdef comp_pgauss(L, w=1.0, c_t=0, c_f=0): # <<<<<<<<<<<<<<
......@@ -1918,46 +1918,46 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
}
}
 
/* "ltfatpy/comp/comp_pgauss.pyx":92
/* "ltfatpy/comp/comp_pgauss.pyx":96
* :func:`~ltfatpy.fourier.pgauss.pgauss` instead.
* """
* if c_f == 0: # <<<<<<<<<<<<<<
* out = np.ndarray((L), dtype=np.float64)
* comp_pgauss_real(L, w, c_t, out)
*/
__pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_c_f, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 92, __pyx_L1_error)
__pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_c_f, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 96, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 92, __pyx_L1_error)
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 96, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_2) {
 
/* "ltfatpy/comp/comp_pgauss.pyx":93
/* "ltfatpy/comp/comp_pgauss.pyx":97
* """
* if c_f == 0:
* out = np.ndarray((L), dtype=np.float64) # <<<<<<<<<<<<<<
* comp_pgauss_real(L, w, c_t, out)
* return out
*/
__pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_INCREF(__pyx_v_L);
__Pyx_GIVEREF(__pyx_v_L);
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_L);
__pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_float64); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_float64); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_dtype, __pyx_t_6) < 0) __PYX_ERR(0, 93, __pyx_L1_error)
if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_dtype, __pyx_t_6) < 0) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 93, __pyx_L1_error)
__pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 97, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
......@@ -1965,26 +1965,26 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
__pyx_v_out = __pyx_t_6;
__pyx_t_6 = 0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":94
/* "ltfatpy/comp/comp_pgauss.pyx":98
* if c_f == 0:
* out = np.ndarray((L), dtype=np.float64)
* comp_pgauss_real(L, w, c_t, out) # <<<<<<<<<<<<<<
* return out
* out = np.ndarray((L), dtype=np.complex128)
*/
__pyx_t_7 = __Pyx_PyInt_As_size_t(__pyx_v_L); if (unlikely((__pyx_t_7 == (size_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 94, __pyx_L1_error)
__pyx_t_8 = __pyx_PyFloat_AsDouble(__pyx_v_w); if (unlikely((__pyx_t_8 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 94, __pyx_L1_error)
__pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_v_c_t); if (unlikely((__pyx_t_9 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 94, __pyx_L1_error)
__pyx_t_7 = __Pyx_PyInt_As_size_t(__pyx_v_L); if (unlikely((__pyx_t_7 == (size_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 98, __pyx_L1_error)
__pyx_t_8 = __pyx_PyFloat_AsDouble(__pyx_v_w); if (unlikely((__pyx_t_8 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 98, __pyx_L1_error)
__pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_v_c_t); if (unlikely((__pyx_t_9 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 98, __pyx_L1_error)
__pyx_t_10 = __Pyx_PyObject_to_MemoryviewSlice_ds_double(__pyx_v_out);
if (unlikely(!__pyx_t_10.memview)) __PYX_ERR(0, 94, __pyx_L1_error)
__pyx_t_6 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_real(__pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 94, __pyx_L1_error)
if (unlikely(!__pyx_t_10.memview)) __PYX_ERR(0, 98, __pyx_L1_error)
__pyx_t_6 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_real(__pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 98, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__PYX_XDEC_MEMVIEW(&__pyx_t_10, 1);
__pyx_t_10.memview = NULL;
__pyx_t_10.data = NULL;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":95
/* "ltfatpy/comp/comp_pgauss.pyx":99
* out = np.ndarray((L), dtype=np.float64)
* comp_pgauss_real(L, w, c_t, out)
* return out # <<<<<<<<<<<<<<
......@@ -1996,7 +1996,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
__pyx_r = __pyx_v_out;
goto __pyx_L0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":92
/* "ltfatpy/comp/comp_pgauss.pyx":96
* :func:`~ltfatpy.fourier.pgauss.pgauss` instead.
* """
* if c_f == 0: # <<<<<<<<<<<<<<
......@@ -2005,33 +2005,33 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
*/
}
 
/* "ltfatpy/comp/comp_pgauss.pyx":96
/* "ltfatpy/comp/comp_pgauss.pyx":100
* comp_pgauss_real(L, w, c_t, out)
* return out
* out = np.ndarray((L), dtype=np.complex128) # <<<<<<<<<<<<<<
* comp_pgauss_cplx(L, w, c_t, c_f, out)
* return out
*/
__pyx_t_6 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_6 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_INCREF(__pyx_v_L);
__Pyx_GIVEREF(__pyx_v_L);
PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_L);
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_complex128); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_complex128); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_dtype, __pyx_t_5) < 0) __PYX_ERR(0, 96, __pyx_L1_error)
if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_dtype, __pyx_t_5) < 0) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 96, __pyx_L1_error)
__pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 100, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
......@@ -2039,26 +2039,26 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
__pyx_v_out = __pyx_t_5;
__pyx_t_5 = 0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":97
/* "ltfatpy/comp/comp_pgauss.pyx":101
* return out
* out = np.ndarray((L), dtype=np.complex128)
* comp_pgauss_cplx(L, w, c_t, c_f, out) # <<<<<<<<<<<<<<
* return out
*/
__pyx_t_7 = __Pyx_PyInt_As_size_t(__pyx_v_L); if (unlikely((__pyx_t_7 == (size_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error)
__pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_v_w); if (unlikely((__pyx_t_9 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error)
__pyx_t_8 = __pyx_PyFloat_AsDouble(__pyx_v_c_t); if (unlikely((__pyx_t_8 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error)
__pyx_t_11 = __pyx_PyFloat_AsDouble(__pyx_v_c_f); if (unlikely((__pyx_t_11 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error)
__pyx_t_7 = __Pyx_PyInt_As_size_t(__pyx_v_L); if (unlikely((__pyx_t_7 == (size_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 101, __pyx_L1_error)
__pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_v_w); if (unlikely((__pyx_t_9 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 101, __pyx_L1_error)
__pyx_t_8 = __pyx_PyFloat_AsDouble(__pyx_v_c_t); if (unlikely((__pyx_t_8 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 101, __pyx_L1_error)
__pyx_t_11 = __pyx_PyFloat_AsDouble(__pyx_v_c_f); if (unlikely((__pyx_t_11 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 101, __pyx_L1_error)
__pyx_t_12 = __Pyx_PyObject_to_MemoryviewSlice_ds___pyx_t_double_complex(__pyx_v_out);
if (unlikely(!__pyx_t_12.memview)) __PYX_ERR(0, 97, __pyx_L1_error)
__pyx_t_5 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_cplx(__pyx_t_7, __pyx_t_9, __pyx_t_8, __pyx_t_11, __pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 97, __pyx_L1_error)
if (unlikely(!__pyx_t_12.memview)) __PYX_ERR(0, 101, __pyx_L1_error)
__pyx_t_5 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss_cplx(__pyx_t_7, __pyx_t_9, __pyx_t_8, __pyx_t_11, __pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 101, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__PYX_XDEC_MEMVIEW(&__pyx_t_12, 1);
__pyx_t_12.memview = NULL;
__pyx_t_12.data = NULL;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":98
/* "ltfatpy/comp/comp_pgauss.pyx":102
* out = np.ndarray((L), dtype=np.complex128)
* comp_pgauss_cplx(L, w, c_t, c_f, out)
* return out # <<<<<<<<<<<<<<
......@@ -2068,7 +2068,7 @@ static PyObject *__pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(PyObject *__py
__pyx_r = __pyx_v_out;
goto __pyx_L0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":86
/* "ltfatpy/comp/comp_pgauss.pyx":90
* pgauss_cmplx_d(L, w, c_t, c_f, & out[0])
*
* cpdef comp_pgauss(L, w=1.0, c_t=0, c_f=0): # <<<<<<<<<<<<<<
......@@ -2144,7 +2144,7 @@ static PyObject *__pyx_pw_7ltfatpy_4comp_11comp_pgauss_1comp_pgauss(PyObject *__
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "comp_pgauss") < 0)) __PYX_ERR(0, 86, __pyx_L3_error)
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "comp_pgauss") < 0)) __PYX_ERR(0, 90, __pyx_L3_error)
}
} else {
switch (PyTuple_GET_SIZE(__pyx_args)) {
......@@ -2163,7 +2163,7 @@ static PyObject *__pyx_pw_7ltfatpy_4comp_11comp_pgauss_1comp_pgauss(PyObject *__
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("comp_pgauss", 0, 1, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 86, __pyx_L3_error)
__Pyx_RaiseArgtupleInvalid("comp_pgauss", 0, 1, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 90, __pyx_L3_error)
__pyx_L3_error:;
__Pyx_AddTraceback("ltfatpy.comp.comp_pgauss.comp_pgauss", __pyx_clineno, __pyx_lineno, __pyx_filename);
__Pyx_RefNannyFinishContext();
......@@ -2187,7 +2187,7 @@ static PyObject *__pyx_pf_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(CYTHON_UNUSED
__pyx_t_2.w = __pyx_v_w;
__pyx_t_2.c_t = __pyx_v_c_t;
__pyx_t_2.c_f = __pyx_v_c_f;
__pyx_t_1 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(__pyx_v_L, 0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 86, __pyx_L1_error)
__pyx_t_1 = __pyx_f_7ltfatpy_4comp_11comp_pgauss_comp_pgauss(__pyx_v_L, 0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 90, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
......@@ -14985,22 +14985,22 @@ PyMODINIT_FUNC PyInit_comp_pgauss(void)
if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
#endif
 
/* "ltfatpy/comp/comp_pgauss.pyx":64
/* "ltfatpy/comp/comp_pgauss.pyx":68
* from cython.view cimport array as cvarray
* from libc.stdlib cimport malloc, free
* import numpy as np # <<<<<<<<<<<<<<
*
* from ltfat cimport ltfatInt, pgauss_d, pgauss_cmplx_d
*/
__pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, -1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 64, __pyx_L1_error)
__pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, -1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 68, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
if (PyDict_SetItem(__pyx_d, __pyx_n_s_np, __pyx_t_1) < 0) __PYX_ERR(0, 64, __pyx_L1_error)
if (PyDict_SetItem(__pyx_d, __pyx_n_s_np, __pyx_t_1) < 0) __PYX_ERR(0, 68, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
 
/* "ltfatpy/comp/comp_pgauss.pyx":1
* # -*- coding: utf-8 -*- # <<<<<<<<<<<<<<
* # ######### COPYRIGHT #########
* #
* # Credits
*/
__pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
......
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment