Skip to content

Commit

Permalink
incre
Browse files Browse the repository at this point in the history
  • Loading branch information
peads committed Jul 30, 2024
1 parent 3acd1bc commit 28c835a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion extra/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import numpy
from Cython.Build import cythonize
from Cython.Distutils import Extension
from setuptools import setup, find_packages
from setuptools import setup

extraLinkArgs = []
if 'posix' in os.name:
Expand Down
3 changes: 0 additions & 3 deletions extra/src/iq_correction.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ cdef class IQCorrection:
cpdef void correctIq(self, ndarray[np.complex128_t] data, ndarray[np.complex128_t] off):
cdef Py_ssize_t i
cdef Py_ssize_t size = data.shape[0]
# for i in prange(size, nogil=True):
with nogil:
for i in range(size):
# *SIGH* VS bitches about the arithmetic assignment
# operator, bc ofc it does
data[i] = data[i] - off[0]
off[0] += data[i] * self.inductance

Expand Down

0 comments on commit 28c835a

Please sign in to comment.