Re: imaging Complex numbers [message #24016] |
Thu, 01 March 2001 02:20 |
Ivan Zimine
Messages: 40 Registered: February 1999
|
Member |
|
|
Sean Heukels wrote:
>
> An example
> E=FLTARR(3,3)
> C=COMPLEX([1,2,3], [3,4,5])
> E(*,*)=C
I don't think you can store 6 numbers in 9 el array this way.
>
> UNCOMPLEX ???
C_real = float(c)
C_imag = imaginary(c)
Ivan
--
Ivan Zimine | ivan.zimine@physics.unige.ch
Dpt. of Radiology | (+41 22) 372 70 70
Geneva University Hospitals |
|
|
|
Re: imaging Complex numbers [message #24019 is a reply to message #24016] |
Thu, 01 March 2001 02:03  |
Klaus Scipal
Messages: 45 Registered: November 1997
|
Member |
|
|
i am not quite sure if i understood your problem but if you want the real
and imaginary part of a complex number use float and imaginary functions
c_imaginary=Imaginary(c)
c_real=Float(c)
klaus
Sean Heukels <sean77=cuthere=@dds.nl> wrote in message
news:97l2lf$e40$1@newshost.accu.uu.nl...
> i have an array of complex numbers. We use this array for TV' �ng
> complex data from OUR NMR console.
> Thus all the pictures are coverted to real-space through fourier transform
> and ABS() to make the comlex array a number.
>
> But, what if I want to image the Real and Imaginary part seperately as
well?
> I can't split the real and imaginary part out in an array, after I have
set
> COMPLEX.
> Any ideas?? An example
> E=FLTARR(3,3)
> C=COMPLEX([1,2,3], [3,4,5])
> E(*,*)=C
>
> UNCOMPLEX ???
> I don't know
>
> ps. Is there someone else who uses these kind of algorithms for NMR/MRI in
> IDL, or other programs also regarding NMR image processing?
>
>
>
>
>
>
|
|
|