Blood Input#

General module for extracting and interpolating measured input function data.

Classes#

BloodInputFunction

A general purpose class to deal with blood input function related data. The primary functionality is to be able to

Functions#

extract_blood_input_function_from_csv(...)

Given a CSV file which contains blood activity data, we extract the times and the activity

extract_blood_input_function_times_from_csv(...)

Given a CSV file which contains blood activity data, we extract just the times.

extract_blood_input_function_activity_from_csv(...)

Given a CSV file which contains blood activity data, we extract just the activities.

resample_blood_data_on_scanner_times(blood_tac_path, ...)

Resample blood time-activity curve (TAC) based on PET scanner frame times. The function assumes

read_plasma_glucose_concentration(→ float)

Temporary hacky function to read a single plasma glucose concentration value from a file.