BPM Summer 2016 preview

From Phonlab
Revision as of 12:35, 14 July 2016 by Ronald (talk | contribs)
Jump to navigationJump to search

The Summer 2016 BPM machine image contains many updated packages. The current machine is a *preview* for testing functionality, not for research or instruction.

You can download the machine image from Box.

Some notable changes from Spring 2015:

Python

Python 3.5 is now the default Python (from 2.7). The 3.x series has some backwards-incompatible changes, and existing Python 2 scripts might require updating. See major changes introduced by Python 3. The 'print' and 'text vs. data' sections are probably the most important to know read and understand.

Python 2.7 is also installed as a conda environment. To activate this version in a terminal session:

 source activate py27

This command will make Python 2.7 the active Python in that terminal window. Other terminal windows remain at 3.5.

Jupyter notebooks

The ipython notebook has been replaced with the jupyter notebook, which means you can now create notebook using Python (3.5 or 2.7) or R. To start:

 jupyter notebook

Opensesame

The version of Opensesame is now 3.1 (formerly 0.27). Inline scripts use Python 3.5, and the expyriment and psychopy backends are not available. Look for it under Applications > Programming or run 'opensesame' at the command line.

display_acq

The display_acq utility is little-used and has been removed as an installable bpm-update target.