Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dikshagup authored Sep 9, 2023
1 parent 4745a3e commit 9529b26
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# trialhistory_lapses_EA
This repostory contains code for generating figures for the manuscript "Trial-history biases in evidence accumulation can give rise to apparent lapses"
# Trialhistory_lapses_EA Repository

## Overview
This repository contains the code necessary for generating figures related to the manuscript titled "Trial-history biases in evidence accumulation can give rise to apparent lapses."

The associated data for this manuscript can be found at [dx.doi.org/10.6084/m9.figshare.24113793](dx.doi.org/dx.doi.org/10.6084/m9.figshare.24113793).

## Usage Instructions

To reproduce the figures presented in the paper, follow these steps:

1. Clone this repository to your local machine using your preferred method.

2. Download the required data from the figshare link provided above.

3. Edit the following paths in the `master_startup.m` file:
- Base directory (`path.base`)
- Data directory (`path.data_save`)
- Source data directory (`path.mat_save')
- Directory for saving figures (`path.fig_save`)

4. Run the `make_figures.m` script to generate the main figures. Supplementary figure code can be found in their respective folders.

## Accumulator Model Fits

The fits to accumulator models were performed using code developed within the Julia package available at [https://github.com/Brody-Lab/PulseInputDDM](https://github.com/Brody-Lab/PulseInputDDM).

If you are interested in using this code or have any questions, please feel free to get in touch with us at [email protected].

For any inquiries related to the manuscript or this repository, don't hesitate to reach out.

0 comments on commit 9529b26

Please sign in to comment.