Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
SamSrf stands for **"Seriously Annoying Matlab Surfer"**. It is up to you to decide which aspect of it is seriously annoying. While we conducted extensive tests (mostly on Matlab R2020a&b), some issues with model fitting may remain - so check your results carefully. You can access versions from SamSrf 7 onwards via GitHub. However, we recommend using the latest version because it contains the latest features and bug fixes. SamSrf 9 is an overhaul of the forward-modelling pipeline, which *dramatically* improves the speed but also changes the results somewhat. *Results are therefore not directly comparable to versions prior to SamSrf 9!* **IMPORTANT: As of version 9.6, SamSrf defaults to using 32-bit (single) data type for maps** This improves the speed of pRF model fitting and also halves the amount of disc space required. However, the results are not identical. The discrepancies mostly affect poor model fits but you may want to check your data to see if this update works for you. You can force SamSrf to use 64-bit (double) data by setting *def_64bit = true* in *SamSrf_defaults.mat*. ------ **What is SamSrf and what do I need?** SamSrf 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 for the full functionality you also require FreeSurfer. We typically use the 3D reconstructions of the cortical surface created in FreeSurfer and you can also use FreeSurfer for your entire preprocessing pipeline. Due to our Queen Square origins, we typically use it in combination with SPM and some functions call SPM routines (SPM12 is advised). It should however be flexible and can be used with FSL or AFNI or other packages provided you can produce functional data in 4D NII format. In fact, as of version R2017b, Matlab supports reading NII files directly. You can use this functionality by downloading the NatMatlabNi4SamSrf mini-toolbox which simply overrides SPM's functions for reading/writing NII files. This is not the most elegant solution but it allows you to use NII in SamSrf completely without SPM but without requiring us to support multiple different I/O methods. Please note that GII surface data file support currently requires SPM though. It should also be 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 in the interest of our time, sanity, and healthy family-lives, we do not usually provide extensive tech support to people unless we collaborate with them directly. We are developing this toolbox in our free time and mainly for the purposes of our own research. You are free to use this code but **we will not take feature requests and we will deal with problems only when/if it is a priority for us**. Feel free to create your own branch and modify it for your own needs. ------ **Please note that version 9 is most likely the final major release of SamSrf.** We may convert to a fully open-source language and integrate the toolbox better with common file formatting standards, and further enhance the modular design we pioneered here. So, stay tuned for *MapSrf*, the "Minimally Annoying pRF Surfer"...
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.