Name a useful skill nowaday... That's right; programming. So far I've used Python, HTML, CSS, Ruby, and VisualBasic.
Here is some of my coding-oriented work.

Python program to assess motor sequence learning.


This is a test game, built to run inside a scanner or while measuring brain activity, in which the subject has to press five keys in a specific order to complete a sequence. The program collects movement time for each execution and finger force data in real time.

You can download the archive here.
(Python 2 is required as well as a few librairies)

Generating anatomical masks using Freesurfer© (brain imaging).


I needed to find a way to create binary masks from a few Brodmann's areas (e.g. SMA, PMA) and map them on brain imaging data. That way, only selected regions of interest (ROI) are considered in subsequent processing; I get rid of irrelevant (in my experimental paradigm) voxels. To do so, I'm running Freesurfer from the command line on Debian.

Here are the steps (comments in italic, parts to replace between "", code in bold):

  • Recon-all -s "subjectdirectory" -ba-labels
    • First we process the data and create the labels.
  • mri_tkregister2 --mov "template path" --s "subject id" --regheader --reg ./register.dat (that's the output file)
    • It will create a matrix to make the mask match the template, the template can either be mri/rawavg.mgz or functionnal space file.
  • mri_label2vol --subject "subject id" --label "subject path"/label/lh.BA4a.label --temp "template path" --reg register.dat --proj frac 0 1 .1 --fillthresh .3 --hemi lh --o "mask".nii.gz
    • This will generate the mask, in this instance; it covers the left hemisphere of anterior primary motor cortex.

    See below the plot (in yellow) of the mask covering left anterior primary motor cortex (first picture) or left premotor cortex and SMA (second picture) in the anatomical space.

    2D videogames (plateform-like).


    Cloe's Island (2011) : I coded and designed that game for training and entertainement only. Languages used; mainly Ruby.
    Pitch: A girl, stranded on an island, tries to survive. Kill those crabs and solve puzzles to progress.

    You can download the archive here.

    See a few sreenshots below.


    Cugel the clever (2008) : One of my first games, for training and entertainement only. Languages used; mainly Ruby.
    Pitch: Cugel is a wanderer, one night he tries to cross the enchanted forest of Tantreval.

    You can download the archive here.

    See a few sreenshots below.


    Social / Featured links