Abstract In order to calculate SUVmax for GE data, the following formula has to be utilized: To be more precise, below is the same formula, but with more specific information on the voxel and DICOM metadata fields required: For more information, please refer to the article below. Introduction An algorithm for calculating SUVmax value for PET/CT GE scanner will be […]
Jupyter Notebook Server installation
Create a new user For this example, we will be using a Linux username hyperion. In order to create a new user in Linux and set up a password, use the following commands: Note: -m is required in order to create user’s home directory the command to remove the user is: userdel hyperion To make sure that the user has been created, […]
General linear model in Python and C
The goal of this post is to explain how to use general linear model in Python and C. It is assumed that the reader has basic understanding of the regression inference. Introduction Why are we using Python and C in this example? Python code is often said to be an “executable pseudocode”, i.e., Python syntax is relatively easy to read […]
macOS configuration
The collection of macOS tips and configuration settings. Change default Python version Follow the instructions from Matthew Broberg’s and Moshe Zadka’s post. In short: Cmd+arrows to jump word By default Cmd+right/left arrow sends you to end/binning of the line. The default keybind for jumping only one word is option+arrows, which is completely unusable (it is easier to use cmd). How […]
PsychoPy – a basic example
PsychoPy is an excellent tool for preparing psychological experiments in Python. However, it seems that entry-level examples one can find in the web are rather sophisticated. Hence, I prepared this basic example featuring: Installing PsychoPy on Linux Displaying a simple stimulus Simplest possible keyboard event Installing PsychoPy on Linux Open a terminal (5 Ways to Open a Terminal Console Window […]