Might have to install libreoffice - on macos
using brew
one way to do this is:
brew install libreoffice-language-pack --cask libreoffice`
### A Pluto.jl notebook ### | |
# v0.19.40 | |
using Markdown | |
using InteractiveUtils | |
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). | |
macro bind(def, element) | |
quote | |
local iv = try Base.loaded_modules[Base.PkgId(Base.UUID("6e696c72-6542-2067-7265-42206c756150"), "AbstractPlutoDingetjes")].Bonds.initial_value catch; b -> missing; end |
The 2nd year lab for the Psychology and Cognitive Neuroscience course (University of Nottingham) walks students through the main ideas behind the use of linear regression in the analysis of functional magnetic resonance imagingn (fMRI) data.
The instructor provides three selected, indicative timeseries samples from a 4d data set.
The data were acquired in a standard faces versus objects, category localiser experiment. For details, [see this FAQ document](https://schluppeck.github.io/PCN-Y2-questions/#what-were-the-stimuli
Denis Schluppeck, 2023-07-21
Converting GE data via XNAT at SPMIC/Psychology. Trying to find a consistent workflow for Psychology users, especially for fMRI and related.
mrTools
?denis schluppeck, 2022-11-07
Make sure you have access to data. I used the following dataset / files for the demos here:
https://github.com/schluppeck/hands-on-brain-data
Download the data (click the green button, download ZIP, unzip). Or if you know how to use git
/github
, you can also clone the repo
%% example of tiled plots with shared axes and labels | |
% | |
% ds 2022-07-22 | |
figure() | |
nRows = 4; | |
nCols = 4; | |
t = tiledlayout(nRows,nCols,'TileSpacing','Compact'); |
need to quickly find out which packages a set of julia
files are using. in my case, this was to create an environment after the fact... so I can ship it to people who have a clean install.
quick hack: grep through .jl
files and find bits of text that start with "using"
not perfect, but got me 90% of the way there
grep "^\W*using" *.jl | cut -d: -f2 | sed s/using// | tr -d "[:blank:]" | sort | uniq
Time (volumes) | fMRI response (% signal change) | |
---|---|---|
0.00000000 | -1.40227509 | |
1.00000000 | 0.23600006 | |
2.00000000 | 1.15530396 | |
3.00000000 | 0.13700867 | |
4.00000000 | -0.52494049 | |
5.00000000 | 0.38183594 | |
6.00000000 | -0.29989624 | |
7.00000000 | 0.76611328 | |
8.00000000 | -2.88539886 |