Skip to content

cpp-lln-lab/localizer_visual_motion

Repository files navigation

tests and coverage codecov DOI All Contributors

fMRI localizers for visual motion

Running this script will show blocks of motion dots and static dots. Motion blocks will show:

  • dots moving in one of four directions (up-, down-, left-, and right-ward) (MT+ localizer)
  • or dots moving inward and outward in the peripheral of the screen (MT/MST localizer).

Requirements

Make sure that the following toolboxes are installed and added to the matlab / octave path. See the next section on how to install the submodule toolboxes.

For instructions see the following links:

Requirements Used version
CPP_BIDS (submodule) 2.1.1
CPP_PTB (submodule) 1.2.1
PsychToolBox >=3.0.14
Matlab >=2017
or octave >=4.?

Installation

The CPP_BIDS and CPP_PTB dependencies are already set up as submodules to this repository. You can install it all with git by doing.

git clone --recurse-submodules https://github.com/cpp-lln-lab/localizer_visual_motion.git

Set up and running

In the main.m script, you are meant

  • to set your configuration (cfg)
  • call initEnv() to add the relevant folders to the MATLAB path
  • call cfg = checkParameters(cfg) to set up any default configuration you did not set.
  • call visualMotionLocalizer(cfg) to run the localizer.

The minimalist script would thus look like:

clc;
clear;

%% Run MT+ localizer

cfg.design.localizer = 'MT';
initEnv();

cfg = checkParameters(cfg);

% Run
visualMotionLocalizer(cfg);

Type help checkParameters and see the README in docs to get more information about the configuration options.

Run in debug mode (set cfg.debug.do = true) it does not care about subjID, run n., Eye Tracker...

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Mohamed Rezk

💻 🎨 🤔

marcobarilari

💻 🎨 🤔 🐛 📓 👀 💬 🚇 🚧

Remi Gau

💻 🎨 🤔 🐛 📓 👀 💬 🚇 🚧

CerenB

🐛 📓

iqrashahzad14

💻 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!