Hi Anna,
If you do TF analysis in SPM you can either subsample your TF data it
when you compute it (for wavelets and hilbert, see the 'subsample'
option) or specify the resolution to be lower in the first place (with
multitaper). So there is not much need for downsampling TF and I
definitely wouldn't put it spm_eeg_dowsample as these are not quite
same things. If you want to downsample your already computed TF
datasets you can use D.fttimelock to convert them to FT format then
subsample there and then convert back to SPM with spm_eeg_ft2spm.
Best,
Vladimir
On Wed, Sep 14, 2011 at 11:48 AM, Anna Jafarpour
<[log in to unmask]> wrote:
> Hi Vladimir,
>
> I hope you are fine and you had a nice holidays.
>
> I have a quick question: is there any function for down sampling tf data? I
> cannot find it!
> I used to down sample the data myself and I lose the spm structure. But now
> I am thinking of modifying spm_eeg_downsample to 4dimensions to keep the
> structure, if spm does not have such a function already.
>
> Best,
> Anna
>
|