Code Monkey home page Code Monkey logo

murrayvr's Introduction

VR VOMS Eye Analysis

This repository contains Python scripts and utilities for analyzing eye movement data collected during Vestibular/Ocular Motor Screening (VOMS) in virtual reality (VR) environments. The analysis includes processing, visualization, and statistical analysis of saccades, smooth pursuits, VOR, and VOR cancellation.

Features

  • Saccade Analysis: Detect and analyze saccadic eye movements.
  • Smooth Pursuits: Measure and analyze smooth pursuit gain.
  • VOR Asymmetry: Calculate the Vestibulo-Ocular Reflex (VOR) asymmetry index.
  • Statistical Analysis: Perform various statistical tests and linear regressions.
  • Visualization: Generate 3D plots and animations to visualize eye movement data.

Installation

To run the scripts, ensure you have the following Python packages installed:

pip install numpy pandas matplotlib scipy seaborn scikit-learn colorama tqdm

Usage

  1. Preprocessing:

    • Place your experimental CSV files in the appropriate directory.
    • Use the provided functions to extract and preprocess data.
  2. Running the Analysis:

    • Modify the script parameters as necessary for your dataset.
    • Execute the script to perform the analysis.
python vr_voms_all_eye_analysis.py 
  1. Visualization:
    • The script will generate various plots and animations to help visualize the results.
    • Output files can be saved in the desired format.

Script Overview

vr_voms_all_eye_analysis.py

This is the main script for analyzing VOMS data. It includes several classes and functions:

  • vrVomsSaccade: Class for processing and analyzing saccades.
  • vrVomsSymptoms: Class for analyzing VOMS symptoms data.
  • Utility functions for data extraction, filtering, and statistical analysis.

Utility Scripts

  • vr_voms_utils.py: Contains utility functions such as find_files, az_el, detect_square_wave_periods, and more.
  • vr_voms_symptoms.py: Handles symptom data specific to the VOMS protocol.

Total VOMS Change Score Output

HEATMAP SPEARMAN RANK CORRELATION WITH VOMS CHANGE SCORE HEATMAP SPEARMAN RANK CORRELATION WITH VOMS CHANGE SCORE - OUTLIERS REMOVED

Subtest VOMS Change Score Output

SPEARMAN RANK CORRELATION WITH HORIZONTAL SACCADES SUBTEST SPEARMAN RANK CORRELATION WITH VERTICAL SACCADES SUBTEST SPEARMAN RANK CORRELATION WITH SMOOTH PURSUIT SUBTEST SPEARMAN RANK CORRELATION WITH HORIZONTAL VOR SUBTEST SPEARMAN RANK CORRELATION WITH VERTICAL VOR SUBTEST SPEARMAN RANK CORRELATION WITH VOR CANCELLATION SUBTEST

Contributing

Contributions are welcome! Please submit a pull request or open an issue if you have suggestions for improvements or new features.

murrayvr's People

Contributors

bszek213 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.