Set of functions for fitting a Von Mises function to characterise orientation tuning in visual cortex. Example fMRI data is given which includes the currently viewed orientation and associated BOLD response of voxels in V1. demo.py uses Bayesian MCMC estimation to find parameters of a Von Mises function that best account for the tuning properties of a single voxel.