Home > biosig > t250 > artifact_selection.m

artifact_selection

PURPOSE ^

ARTIFACT_SELECTION returns the selected triggered trials with

SYNOPSIS ^

function [HDR,A] = artifact_selection(fn,t1,t2)

DESCRIPTION ^

 ARTIFACT_SELECTION returns the selected triggered trials with 
 artifacts. The length of the trial is defined by t1 and t2 in 
 seconds.  

 [HDR] = artifact_selection(filename,[t1,t2])
 [HDR] = artifact_selection(HDR,[t1,t2])
    uses EVENT information in filename or HDR.EVENT. 

 The artifact selection is available in HDR.ArtifactSelection. 
 HDR.ArtifactSelection is vector with the same length than the list
 of trigger points (event 0x0300). A value of 1 indicates an
 artifact, a value of 0 means the trial is free from any artifacts.
     
 In case the trigger information and the artifact scoring is 
 stored in separate files, the information of several files can be
 merged.

 [HDR] = artifact_selection({sourcefile,eventfile1,eventfile2,...},[t1,t2])

 All files can be defined by their filename, or by the BIOSIG HDR-struct.
 The header of the first file is merged with the Event information of 
    all other files. 

 see also: TLOAD, SLOAD, SOPEN,

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003