public Image AsAmplitudes() { if (IsHalf || !IsComplex) { throw new Exception("Data type not supported."); } Image Amplitudes = new Image(IntPtr.Zero, Dims, IsFT, false, false); GPU.Amplitudes(GetDevice(Intent.Read), Amplitudes.GetDevice(Intent.Write), ElementsComplex); return(Amplitudes); }