Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Functions and methods for analyzes and visualization of response time (and accuracy) data.

Project Description

RTPy

RTPy is a package with the aim to enabling explorations of response time (or reaction time) data collected in Psychology tasks (e.g., Stroop and Flanker tasks).

Install

RTPy can be installed using pip:

pip install RTPy

Usage

RTPy comes with functions for visualizing response time distributions and speed/accuracy trade-offs.

Distributions

import the package:

import RTPy as rt

Kernel estimation plots

rt.kde_plot(dataframe, ['Congruent', 'Incongruent'], 'RT', 'congruent', save_file=False)

Cumulative distribution function

Calculate cumulative distribution function:

data_cdf = rt.cdf(dataframe, 'congruent', conditions=['Congruent', 'Incongruent'])

Plot the cdf:

rt.cdf_plot(data_cdf)

Delta Plots

Calculate the data for the plot:

data_delta = rt.calc_delta_data(dataframe, 'Sub_id', 'RT', 'congruent', conditions=['Incongruent', 'Congruent'])

Create the plot:

rt.delta_plot(data_delta, ylab='Stroop Effect (ms.)')
Release History

Release History

This version
History Node

0.1.0

History Node

0.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting