-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from cpp-lln-lab/dev
[REL] v0.5.0
- Loading branch information
Showing
46 changed files
with
1,211 additions
and
685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,6 @@ name: update submodules | |
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- dev | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[submodule "lib/CPP_PTB"] | ||
path = lib/CPP_PTB | ||
url = https://github.com/cpp-lln-lab/CPP_PTB.git | ||
branch = master | ||
branch = dev | ||
[submodule "lib/CPP_BIDS"] | ||
path = lib/CPP_BIDS | ||
url = https://github.com/cpp-lln-lab/CPP_BIDS.git | ||
branch = master | ||
branch = dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
cff-version: 1.2.0 | ||
|
||
title: "CPP localizer visual motion" | ||
|
||
version: 0.4.0dev | ||
|
||
abstract: A localizer for visual motion sensitive brain regions using RDK. | ||
|
||
message: "If you use this software, please cite it as below." | ||
|
||
repository-code: "https://github.com/cpp-lln-lab/localizer_visual_motion.git" | ||
|
||
identifiers: | ||
- description: This is the collection of archived snapshots of all releases | ||
type: doi | ||
value: "10.5281/zenodo.4007674" | ||
|
||
contact: | ||
- affiliation: "Université catholique de Louvain" | ||
email: remi.gau@uclouvain.be | ||
family-names: Gau | ||
given-names: Rémi | ||
|
||
authors: | ||
- family-names: "Gau" | ||
given-names: "Rémi" | ||
orcid: "https://orcid.org/0000-0002-1535-9767" | ||
affiliation: "Université catholique de Louvain" | ||
|
||
- family-names: "Barilari" | ||
given-names: "Marco" | ||
orcid: "https://orcid.org/0000-0002-3313-3120" | ||
affiliation: "Université catholique de Louvain" | ||
|
||
- family-names: "Battal" | ||
given-names: "Ceren" | ||
orcid: "https://orcid.org/0000-0002-9844-7630" | ||
affiliation: "Université catholique de Louvain" | ||
|
||
- family-names: "Rezk" | ||
given-names: "Mohamed" | ||
orcid: "https://orcid.org/0000-0002-1866-8645" | ||
affiliation: "Université catholique de Louvain" | ||
|
||
- family-names: "Shahzad" | ||
given-names: "Iqra" | ||
orcid: "https://orcid.org/0000-0002-8724-7668" | ||
affiliation: "Université catholique de Louvain" | ||
|
||
license: MIT license | ||
|
||
keywords: | ||
- BIDS | ||
- brain imaging data structure | ||
- neuroscience | ||
- MATLAB | ||
- Octave |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# TODO make more general to use the local matlab version | ||
MATLAB = /usr/local/MATLAB/R2017a/bin/matlab | ||
ARG = -nodisplay -nosplash -nodesktop | ||
|
||
.PHONY: clean manual fix_submodule | ||
clean: clean | ||
rm -rf version.txt | ||
|
||
fix_submodule: | ||
git submodule update --init --recursive && git submodule update --recursive | ||
|
||
lint: | ||
mh_style --fix && mh_metric --ci && mh_lint | ||
|
||
test: | ||
$(MATLAB) $(ARG) -r "runTests; exit()" | ||
|
||
version.txt: CITATION.cff | ||
grep -w "^version" CITATION.cff | sed "s/version: /v/g" > version.txt | ||
|
||
validate_cff: CITATION.cff | ||
cffconvert --validate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
function cfg = cfgMST(cfg) | ||
% | ||
% (C) Copyright 2020 CPP visual motion localizer developers | ||
|
||
cfg.design.localizer = 'MT_MST'; | ||
|
||
cfg.design.nbRepetitions = 10; | ||
|
||
cfg.design.nbEventsPerBlock = 10; | ||
|
||
% in Liege is 0.6 | ||
% on macs is 0.3 | ||
cfg.timing.eventDuration = 0.6; % 0.6 seconds | ||
|
||
%% variable FOV info | ||
% in case the field of view is not properly centered or obstructed | ||
% | ||
% see https://github.com/cpp-lln-lab/estimate_visual_FOV.git | ||
% | ||
% set up configuration: ensure that the following fields are the same | ||
% as when you ran the estimate_visual_FOV script | ||
% | ||
% cfg.testingDevice | ||
% cfg.screen.monitorDistance | ||
% cfg.screen.monitorWidth | ||
|
||
% fixation cross displacement in degrees of visual angles | ||
% this will also shift the whole FOV relative to the center of the screen | ||
% Note: negative values will move things to the left and up. | ||
cfg.fixation.xDisplacement = -3.676540; | ||
cfg.fixation.yDisplacement = -0.499724; | ||
|
||
% determines position of the fixation cross on the right / left | ||
% should be a bit less than the: ( width of FOV ) / 2 | ||
cfg.design.xDisplacementFixation = 3; | ||
|
||
% determines position of the dots on the left / | ||
% should be a bit less than the: ( width of FOV ) / 2 | ||
cfg.design.xDisplacementAperture = 7; | ||
|
||
% determines the width of the dot circle | ||
cfg.aperture.width = 7; | ||
|
||
end |
Oops, something went wrong.