Skip to content

Commit 85c81be

Browse files
committed
initial materials for the flier
0 parents  commit 85c81be

File tree

7 files changed

+1867
-0
lines changed

7 files changed

+1867
-0
lines changed

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. -*- mode: rst; fill-column: 78; indent-tabs-mode: nil -*-
2+
.. vi: set ft=rst sts=4 ts=4 sw=4 et tw=79:
3+
4+
Terms of Use
5+
============
6+
7+
Materials in the repository are copyright of respective authors (see
8+
below) and unless otherwise stated distributed under `Creative Commons
9+
Attribution-Share Alike 3.0`_ license.
10+
11+
.. _Creative Commons Attribution-Share Alike 3.0: http://creativecommons.org/licenses/by-sa/3.0/
12+
13+
Authors
14+
=======
15+
16+
- Yaroslav O. Halchenko
17+
- Michael Hanke
18+

flier/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
all: pics
2+
rst2pdf materials.rst
3+
4+
pics:
5+
$(MAKE) -C ../pics

flier/materials.rst

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
.. -*- mode: rst; fill-column: 78; indent-tabs-mode: nil -*-
2+
.. vi: set ft=rst sts=4 ts=4 sw=4 et tw=79:
3+
4+
Python in NeuroImaging
5+
======================
6+
7+
8+
Please provide for every sub-project a brief Description, list of
9+
Features, some nice figure if you have any. Hopefully eventually we
10+
get enough of tasty materials someone could compose into a flier.
11+
12+
Stimuli Delivery
13+
----------------
14+
15+
PsychoPy
16+
~~~~~~~~
17+
http://www.psychopy.org
18+
19+
20+
OpenSesame
21+
~~~~~~~~~~
22+
http://www.cogsci.nl/software/opensesame
23+
24+
...
25+
26+
Input/Output
27+
------------
28+
29+
NiBabel
30+
~~~~~~~
31+
http://nipy.org/nibabel
32+
33+
Analysis
34+
--------
35+
36+
NiPy
37+
~~~~
38+
http://nipy.org/nipy
39+
40+
41+
NiPype
42+
~~~~~~
43+
http://nipy.org/nipype
44+
45+
46+
DiPy
47+
~~~~
48+
http://nipy.org/dipy
49+
50+
51+
NiTime
52+
~~~~~~
53+
http://nipy.org/nitime
54+
55+
56+
PyMVPA
57+
~~~~~~
58+
http://www.pymvpa.org
59+
60+
.. figure:: ../pics/pymvpa_logo.pdf
61+
:alt: PyMVPA
62+
:align: right
63+
:figwidth: 35%
64+
65+
PyMVPA eases statistical learning analyses (or otherwise called
66+
Multivariate pattern analysis, MVPA) of large datasets, with an accent
67+
on neuroimaging.
68+
69+
Features:
70+
71+
- Easy I/O to Neuroimaging data (via NiBabel)
72+
- Variety of machine learning methods (e.g. SVM, SMLR, kNN)
73+
- Uniform interfaces to other toolkits (e.g. MDP, Shogun, Scikit-learn)
74+
- Flexible Searchlight-ing
75+
- Uber-Fast GNB Searchlight-ing
76+
- Hyperalignment (Haxby et al 2011, Neuron)
77+
78+
.. figure:: ../pics/pymvpa_shot.pdf
79+
:alt: PyMVPA Analyses
80+
:align: right
81+
:figwidth: 100%
82+
83+
84+
Visualization
85+
-------------
86+
87+
PySurfer
88+
~~~~~~~~
89+
http://pysurfer.github.com
90+
91+
92+

pics/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pymvpa_logo.pdf

pics/Makefile

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
all:: pics
2+
3+
# Optionally some PICS could be ignored. By default XXX ones.
4+
# PICS_IGNORE must contain a rule for grep
5+
PICS_IGNORE ?= "XXX"
6+
7+
# For every .svg we must have a pdf
8+
PICS=$(shell find . -iname \*svg \
9+
| sed -e 's/svg/pdf/g' -e 's/\([^\]\)\([ \t:]\)/\1\\\\\2/g' \
10+
| grep -v -e $(PICS_IGNORE) \
11+
| grep -v -e neuropy_history_tuned )
12+
# For history figure we need pngs due to crippled transparency suport
13+
# in poppler, so for now would rely on PNGs
14+
PICS+=$(shell [ -d neuropy_history_tuned ] && \
15+
find neuropy_history_tuned/ -iname \*svg \
16+
| sed -e 's/.svg/_sw.png/g' -e 's/\([^\]\)\([ \t:]\)/\1\\\\\2/g' \
17+
| grep -v -e $(PICS_IGNORE))
18+
# Converted
19+
PICS_CONVERTED=
20+
#PICS+=$(PICS_CONVERTED)
21+
SVGIS=$(shell find . -iname \*.svgtune | sed -e 's/.svgtune/_tuned/g')
22+
23+
FMAKE := $(MAKE) -s -f $(lastword $(MAKEFILE_LIST))
24+
25+
pics: $(SVGIS) $(PICS)
26+
27+
clean::
28+
rm $(PICS_CONVERTED)
29+
for p in *.svg; do rm -f $${p%*.svg}.{pdf,eps,png}; done
30+
rm -fr *_tuned
31+
32+
.PHONY: ignore-%
33+
ignore-%:
34+
@grep -q "^$*$$" .gitignore || { \
35+
echo "$*" >> .gitignore; echo "Ignore $@"; }
36+
37+
38+
#
39+
# SVGTune
40+
#
41+
%_tuned: %.svgtune %.svg
42+
@echo "Splitting SVG using $<"
43+
# Use gqview to prevew svgs -- quite nice
44+
@../tools/svgtune/svgtune $<
45+
# Touch it to adjust the timestamp so make does not think that we are
46+
# out of date later on
47+
@touch "$@"
48+
# And assure that we have ignore ... cannot be in deps since would cause
49+
# regeneration over and over again
50+
@$(MAKE) ignore-$@
51+
52+
#
53+
# Inkscape rendered figures
54+
#
55+
%.pdf: %.svg ignore-%.pdf
56+
@echo "Rendering $@"
57+
@inkscape -z -f "$<" -A "$@"
58+
59+
%.eps: %.svg ignore-%.eps
60+
@echo "Rendering $@"
61+
@inkscape -z -T -f "$<" -E "$@"
62+
63+
%.png: %.svg ignore-%.png
64+
@echo "Rendering $@"
65+
@inkscape -z -f "$<" -e "$@" -d 150
66+
67+
68+
#
69+
# Rare xfig plots
70+
#
71+
%.pdf: %.fig ignore-%.pdf
72+
@echo "Rendering $@"
73+
@fig2dev -L pdf "$<" "$@"
74+
75+
76+
# PNG at slide width
77+
SLIDE_WIDTH=1024
78+
SLIDE_HEIGHT=768
79+
%_sw.png: %.svg ignore-%_sw.png
80+
@echo "Rendering $@ at slide width of $(SLIDE_WIDTH)"
81+
@inkscape -z -f "$<" -e "$@" --export-width=$(SLIDE_WIDTH)
82+
83+
# Following two rules will try imagemagick's to convert an image to
84+
# the corresponding size...
85+
# TODO: figure out how to make them match for both jpg and png
86+
# files as sources
87+
%_sw.png: %.jpg ignore-%_sw.png
88+
@echo "Converting $@ at slide width of $(SLIDE_WIDTH)"
89+
@convert -geometry $(SLIDE_WIDTH) "$<" "$@"
90+
91+
%_sh.png: %.jpg ignore-%_sh.png
92+
@echo "Converting $@ at slide height of $(SLIDE_HEIGHT)"
93+
@convert -geometry x$(SLIDE_HEIGHT) "$<" "$@"
94+
95+
%_15dpi.png: %.svg ignore-%_15dpi.png
96+
@echo "Rendering $@"
97+
@inkscape -z -f "$<" -e "$@" -d 15
98+
99+
%_75dpi.png: %.svg ignore-%_75dpi.png
100+
@echo "Rendering $@"
101+
@inkscape -z -f "$<" -e "$@" -d 75
102+
103+
%_600dpi.png: %.svg ignore-%_600dpi.png
104+
@echo "Rendering $@"
105+
@inkscape -z -f "$<" -e "$@" -d 600
106+
107+
108+
#
109+
# Dia rendered figures (mostly for historic/)
110+
#
111+
%.pdf: %.dia ignore-%.pdf
112+
dia -e $@ $<
113+
%_w800.png: %.dia ignore-%_w800.png
114+
dia -s 800 -e $@ $<
115+
116+
# Some additional PICS to render not worth adding find command ;)
117+
all::
118+
119+
.PHONY: all pics

0 commit comments

Comments
 (0)