Seriously Annoying Matlab Surfer

Here you can download our population receptive field modelling toolbox: SamSrf 6

It allows you to conduct a range of pRF analyses, including model-free pRF and connective field analyses, and also supports a number of other surface-based analyses of neuroimaging data. We aimed to make a user-friendly set of tools for plotting surface maps and for manual delineation of brain regions.

SamSrf requires Matlab and calls a number of SPM functions (SPM12 is advised although SPM8 should also still work). It also uses 3D reconstructions of the cortical surface created in FreeSurfer. It should however be flexible and can be used with FSL or AFNI or other packages provided you can produce the data in 4D NII format. In fact, as of version R2017b, Matlab supports reading NII files directly and SamSrf is using this functionality, if available. However, it still makes use of some SPM functions for registration checks. You can use it without those but you should contact us if you do. It is also theoretically possible to use surface meshes not created in FreeSurfer or use volumetric data, although functionality will then be limited.

Please contact Sam (or someone from the lab) if you have any questions or spot any problems. However, please be advised that we do not usually provide extensive tech support to people unless we collaborate with them.

A basic data set for practice purposes is available here.

Blog at

Up ↑