Code Monkey home page Code Monkey logo

caddickzac / cognitivetestsprocessors Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 363 KB

This repository offers Python scripts for efficiently processing data from cognitive tests like PVT, DSST, and Serial Addition, utilizing Streamlit for streamlined batch processing. It converts raw outputs into structured CSVs for comprehensive and individual analyses.

Python 100.00%
cognitive-tests data-processing eprime eprime-scripts postprocessing

cognitivetestsprocessors's Introduction

Cognitive Performance Data Processing Suite

This repository is dedicated to post-processing raw data from various cognitive performance tests within E-Prime, including the Psychomotor Vigilance Task (PVT), Digit Symbol Substitution Test (DSST), and Serial Addition tests. Utilizing Python, Pandas, and the Streamlit framework, it offers a suite of scripts designed for an intuitive user interface, allowing for the efficient transformation of unprocessed test outputs into structured CSV formats.

Screenshot of Application

Application

Overview

Each script within this suite is tailored to a specific cognitive test, facilitating both individual and batch processing of test data. The scripts support various output options, including combined and separated outputs, providing flexibility for data analysis and research purposes.

Main Streamlit Script

  • CognitiveTestsProcessors.py: Script that runs Streamlit application.

Processing Scripts

  • PVT:
    • PVT_to_ZippedCSVs.py: Packages multiple PVT test outputs into individual CSV files and zips them into a single file.
    • PVT_to_CombinedCSV.py: Combines multiple PVT test outputs into a single CSV file.
  • DSST:
    • Scripts for processing DSST test data will follow a similar pattern, focusing on extracting, transforming, and consolidating test results.
  • Serial Addition Test:
    • serialAddition_to_ZippedCSVs.py: Packages multiple PVT test outputs into individual CSV files and zips them into a single file.
    • serialAddition_to_CombinedCSV.py: Combines multiple PVT test outputs into a single CSV file.

Installation

  1. Ensure Python 3 and pip are installed on your system. Additionally, the Python libraries Pandas and Streamlit are required.
  2. Clone the repository:
git clone https://github.com/caddickzac/CognitiveTestsProcessors.git
cd CognitiveTestsProcessors

Install required dependencies:

pip install pandas streamlit

Usage

Each of the processing scripts are designed to run within the main Streamlit app. To operate the app navigate to the main directory and run the following command in your command line:

streamlit run CognitiveTestsProcessors.py

Follow the on-screen instructions to upload your text files and download the processed data.

Input File Format

Input files for each cognitive test must be text (.txt) files.

cognitivetestsprocessors's People

Contributors

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