From b9003f86ec0e73005a58b1910df952a6b63905eb Mon Sep 17 00:00:00 2001 From: TeetotalingTom <114575548+TeetotalingTom@users.noreply.github.com> Date: Mon, 17 Jun 2024 20:16:48 +0200 Subject: [PATCH] Changed complex data type in table (#18) --- igor2/binarywave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igor2/binarywave.py b/igor2/binarywave.py index 3d175bd..3fe851b 100644 --- a/igor2/binarywave.py +++ b/igor2/binarywave.py @@ -83,7 +83,7 @@ class NullStaticStringField (StaticStringField): # From IgorMath.h TYPE_TABLE = { # (key: integer flag, value: numpy dtype) 0: None, # Text wave, not handled in ReadWave.c - 1: _numpy.complex_, # NT_CMPLX, makes number complex. + 1: _numpy.complex128, # NT_CMPLX, makes number complex. 2: _numpy.float32, # NT_FP32, 32 bit fp numbers. 3: _numpy.complex64, 4: _numpy.float64, # NT_FP64, 64 bit fp numbers.