Reply-To: | | [log in to unmask][log in to unmask]> >> Date: Mon, Nov 5, 2012 at 3:24 PM >> Subject: [SPM] removing individual trials while epoching >> To: [log in to unmask] >> >> >> >> Hello >> >> I have a situation: >> I am analyzing Elekta Vectorview MEG data with SPM. >> I have some subjects with incorrect trials, and would like to >> remove them while preprocessing with SPM. >> >> I converted and filtered the raw data and with 'epoching', >> selected first and end of trial, selected number of conditions, >> selected trials (I can only select the entire trial for each condition at >> this stage), >> and then with the option *'review individual trials'*, selected trials >> EXCLUDING >> the incorrect trials, and started epoching, and an error occurred at the >> end >> of the process. >> >> I checked the trial definition I have saved after excluding the incorrect >> trials, >> and found that the conditionlabel still had the incorrect trials, which I >> excluded. >> The timepoint data 'trl' only contained the correct trials, as I have >> defined. >> (hence the error, 'Illegal assignment: cannot match values and indices.') >> >> I would appreciate if anyone could tell me how to utilize the >> trial_definition within the GUI process? >> or do I have to use 'spm_eeg_epochs.m' and manually save the trial >> definitions >> within the input structure? >> >> Thank you. >> >> Sincerely, >> Hame Park >> >> >> >> >> -- >> >> Hame Park >> MEG Center, Seoul National University Hospital >> >> > > > -- > > Hame Park > MEG Center, Seoul National University Hospital > >[log in to unmask] |