Calculating SUVmax for GE’s PET/CT scanner

Calculating SUVmax for GE’s PET/CT scanner

An algorithm for calculating SUVmax value for PET/CT GE scanner will be described in this post. The starting point for this post is my post at Slicer 3D forum: https://discourse.slicer.org/t/pet-standard-uptake-value-computation/7491/4 Problem description: One would like to know SUV values and SUVmax for a given ROI in PET data from a GE scanner. This of course can be extracted from the […]

Jupyter Notebook Server installation

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

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

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 – 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 […]