** PLEASE NOTE ***
there are many other solutions for computing SUV, see below link for more info.
https://qibawiki.rsna.org/index.php/Standardized_Uptake_Value_(SUV)
This gist contains code to perform the below with python (3.7).
+ download data from TCIA via tcia-rest api. (download.py, tciaclient.py)