Coder Social home page Coder Social logo

preprocesamiento-bci-iv-2a's Introduction

Preprocesamiento-BCI-IV-2a

El preprocesamiento es el siguiente:

Subconjunto4segMI.m --> ReemplazarNaNFiltroMediana.m --> CAR.m o FiltroLaplaciano.m --> FiltroPasaBanda.m --> AcomodarDatos.m

Subconjunto4segMI.m

Obtener el segmento de 4 segundos de imaginación motora en EEG (del 2 al 6)

  • Input: (AxxX.gdf)
  • Output: (MotorImageryAxxX.mat) donde estan los 4seg de MI-EEG, 288 muestras de 22 canales 4seg a 250Hz
  • Input Shape: todox25
  • Output Shape: 288000x22

Se necesita ejecutar biosig_installer.m

ReemplazarNaNFiltroMediana.m

Reemplazar NaN por los valores obtenidos con el filtro mediana de orden 255

  • Input: (MotorImageryAxxX.mat)
  • Output: (LimpiosAxxX.mat)
  • Input Shape: 288000x22
  • Output Shape: 288000x22

CAR.m

Referencia CAR (common average reference)

  • Input: (LimpiosAxxX.mat)
  • Output: (CarAxxX.mat)
  • Input shape: 288000x22
  • Output shape: 288000x22

FiltroLaplaciano.m

Referenciar con filtro espacial laplaciano para los canales C3 y C4

  • Input: (LimpiosAxxX.mat)
  • Output: (LaplaceAxxX.mat)
  • Input shape: 288000x22
  • Output shape: 288000x2

FiltroPasaBanda.m

Filtro pasa banda de 8Hz-30Hz

  • Input: (CarAxxX.mat)
  • Output: (FiltradasAxxX.mat)
  • Input shape: 288000x22
  • Output shape: 288000x22

AcomodarDatos.m

Acomodar los datos para que queden concatenados los canales [n_muestras, n_canales]

  • Input: (FiltradasxxX.mat)
  • Output: (MI-EEG-AxxX.csv) es para el entrenamiento de los modelos
  • Output: (MI-EEG-AxxX.mat) es para DWT y para la clasificacion binaria
  • Input shape: 288000x22
  • Output shape: 288x22000

Las filas son el numero de muestras (288) y las columnas son los 4 seg de los 22 canales concatenados (22000)

AcomodarDatosLaplace.m

Acomodar los datos para que queden concatenados los canales [n_muestras, n_canales]

  • Input: (FiltraLaplaceAxxX.mat)
  • Output: (MI-EEG-Laplace-AxxX.csv) es para el entrenamiento de los modelos
  • Output: (MI-EEG-Laplace-AxxX.mat) es para DWT y para la clasificacion binaria
  • Input shape: 288000x2
  • Output shape: 288x2000

Las filas son el numero de muestras (288) y las columnas son los 4 seg de los 2 canales concatenados (2000)

AcomodarDatosBinaria.m

Acomodar los datos para que queden concatenados los canales [n_muestras, n_canales], solo se utilizaron las clases mano izquierda y mano derecha

  • Input: (MI-EEG-AxxX.mat), (AxxX.mat)
  • Output: (MI-EEG-ID-AxxX.csv) es para el entrenamiento de los modelos, (Etiquetas-ID-AxxX.csv)
  • Input shape: 288x22000
  • Output shape: 144x22000

Las filas son el numero de muestras (144) y las columnas son los 4 seg de los 22 canales concatenados (22000)

RWE_DWT_Multinivel.m

RWE con DWT de dos niveles de descompisicion usando DWT-db4

  • Input: (MI-EEG-AxxX.mat)
  • Output: (MI-EEG-RWE-A01E.csv)
  • Input shape: 288x22000
  • Output shape: 288x66

Alfa_DWT_C3_C4.m

Alfa de C3 y C4 con DWT-db4 de dos niveles de descomposición

  • Input: (MI-EEG-AxxX.mat)
  • Output: (MI-EEG-Alfa-AxxX.csv)
  • Input shape: 288x22000
  • Output shape: 288x510

DWTCoeficientes.m

Obtener los coeficientes de aproximacion y de detalle con DWT-db4 con 2 niveles de descomposicion

  • Input: (MI-EEG-AxxX.mat)
  • Output: (MI-EEG-DWT-Coef-AxxX.csv)
  • Input shape: 288x22000
  • Output shape: 288x22286

Otros archivos que no se utilizan

  • ContarNaN.m
  • Filtro32Hz.m
  • PruebasFFT.m
  • ReemplazarNaNPruebas.m
  • Ventaneo.m

preprocesamiento-bci-iv-2a's People

Contributors

edgarmoyete avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.