Closed Nipouradar1995 closed 1 year ago
I've never processed complex images with SPy but it seems like it should be possible. What happens if you modify your code to replace img.load()
with img.load(dtype=np.csingle)
?
thank you a lot ... it works with your modification .
Great. I'll update the code so the correct dtype is automatically used for complex data types.
hello I've just started to work with SPy to read envi files which contains complex values ,after runing this code
i got this parameter
all seems okey because my envi header file is : dtype=6 which refer to 32*2 complex
but when i checked the values of the array i noticed that it contains just the real parts and the complex part is 0
which is different from what i got with IDL , here is some values of the first column which contain real and imaginary part
so there is something wrong on my code or SPy dont support the files which contains complex value.
thanks in advance .