Re: [R] deconvolution: Using the output and a IRF to get the input

2008-08-25 Thread wolf zinke
Hi, Thank you for the suggestions, I will try it via the fft. Regarding the noise it is hard to assess how it looks like. To be more specific about what I want to do: I acquired fMRI data and trial averaged all the data, resulting in a single response profile for a specific event. This profile

Re: [R] deconvolution: Using the output and a IRF to get the input

2008-08-24 Thread stephen sefick
remember the the inverse of fft has to be divided by the number of observations. On Sun, Aug 24, 2008 at 8:35 PM, Moshe Olshansky <[EMAIL PROTECTED]> wrote: > Hi Wolf, > > Without noise you could use FFT, i.e. FFT of a convolution is the product of > the individual FFTs and so you get the FFT of

Re: [R] deconvolution: Using the output and a IRF to get the input

2008-08-24 Thread Moshe Olshansky
Hi Wolf, Without noise you could use FFT, i.e. FFT of a convolution is the product of the individual FFTs and so you get the FFT of your input signal and using inverse FFT you get the signal itself. When there is noise you must experiment. You may want to filter the response before doing FFT.