Cli Idif#
This script provides a command-line interface (CLI) to calculate the image-derived input function (IDIF) using necktangle methods. Users can choose between the single threshold method and the double threshold method. The script supports the following functionalities: - Single threshold method: Calculates the time-activity curve (TAC) from PET data using a single percentile threshold. - Double threshold method: Computes the IDIF from a 4D PET necktangle matrix using a double threshold method. Requires:
The script relies on the argparse, numpy, and nibabel modules.
- Example usage:
- Using the single threshold method:
- Using the double threshold method:
See also
pet_cli.idif_necktangle - Module for calculating IDIF using necktangle methods.