Code Monkey home page Code Monkey logo

lin-uier / flexemg_natelec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flexemg/flexemg_natelec

0.0 1.0 0.0 1.78 GB

Code and data repository for FlexEMG 2020 Nature Electronics publication.

License: GNU General Public License v3.0

Jupyter Notebook 0.13% MATLAB 0.56% Python 1.02% Scala 0.34% C 24.04% C++ 0.07% Makefile 0.88% Assembly 0.92% Verilog 44.81% Stata 3.14% Tcl 0.44% Coq 0.01% XSLT 0.75% V 2.05% Perl 1.25% Prolog 0.03% SystemVerilog 1.05% HTML 18.51%

flexemg_natelec's Introduction

FlexEMG Project: A wearable biosensing system with in-sensor adaptive machine learning for hand gesture recognition

Code and data repository for FlexEMG 2020 Nature Electronics publication. It is publicly available under GNU General Public License v3.

System requirements

  • Data collection:
    • Graphical user interface: Python 3.4
    • Device firmware: Libero SoC v11.7
  • Data analysis:
    • Matlab R2019b
    • Python 3.7 (package dependencies can be found in data_analysis/flexemg.yml

Repo structure

Offline dataset for model validation

Offline data collected from 5 subjects can be found in the submodule 'offline_data'.

Data collection code

Data collection code can be found in the subdirectory 'data_collection'. This directory includes the graphical user iterface (developed in PyQt) under the 'gui' subdirectory, as well as the firmware (FPGA design and ARM Cortex M3 code) located in 'FlexEMG_21Class_HDC'.

Data analysis

Data collected from real-time experiments located in 'data_analysis/realtime_data' directory as .mat files. Offline data encoded using simulation of hardware HD proection algorithm located in 'data_analysis/hw_encode'.

Main analysis files include:

  • 'compare_snr.m' and 'compare_spectrum.m' for analysis of sEMG signal quality (Fig. 2)
  • 'get_pca_projection.ipynb', 'plot_pca_dim.m', 'plot_pca.m' for analysis of hypervector dimensionality (Fig. 3)
  • 'realtime_confusion.m', 'realtime_examples.m', 'realtime_transitions.m' for analysis of real-time experiment data and classification accuracy (Figs. 5, 6)

flexemg_natelec's People

Contributors

andyzhou93 avatar

Watchers

James Cloos 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.