Code Monkey home page Code Monkey logo

avoidance_learning_task_eeg's Introduction

Avoidance learning Task

MSIT Icon

Actions Status Actions Status

This repo contains the avoidance learning task. It is a jspsych7 task built with React and Electron. This task uses Honeycomb (also known as Neuro Task Starter).

Getting Started

  1. Clone this repo onto your computer
git clone https://github.com/lucywowen/avoidance_learning_task_eeg.git
  1. Change directory into the new folder
cd avoidance_learning_task_eeg
  1. Set the remote url to your tasks' repo (create a github repo if not yet created)
git remote set-url origin <PATH_TO_YOUR_REPO>
  1. Install the dependencies (the -D flag installs the dev dependencies as well as the production ones)
npm install -D
  1. Run the task in dev mode - this should launch an electron window with the task with the inspector open to the console and will hot-reload when changes are made to the app
npm run dev
  1. Check out the data - the data is saved throughout the task to the users's app directory. This is logged at the beginning of the task wherever you ran npm run dev

To run EEG participants:

  1. Change directory into the new folder
cd avoidance_learning_task
  1. Pull any changes to the task, just in case
git pull
  1. Install the dependencies (the -D flag installs the dev dependencies as well as the production ones)
npm install -D
  1. Run the task
npm run dev:clinic
  1. Use whatever participant name you want, but try to use the same study ID across subjects. For example, use 'TEST' for study ID if you're just debugging and use 'STUDY'.

  2. If you need to change anything, please use a different branch!!

git checkout -b <new branch name>
  1. Push any changes on the different branch
git push
  1. Hope for no merge issues :)

avoidance_learning_task_eeg's People

Contributors

lucywowen avatar

Watchers

 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.