Exemple #1
0
        public void Bandpass(float nyquistLow, float nyquistHigh, bool isVolume)
        {
            if (IsComplex || IsHalf || IsFT)
            {
                throw new Exception("Bandpass only works on single precision, real data");
            }

            GPU.Bandpass(GetDevice(Intent.Read), GetDevice(Intent.Write), isVolume ? Dims : Dims.Slice(), nyquistLow, nyquistHigh, isVolume ? 1 : (uint)Dims.Z);
        }