From e4b7400a559f9ff0f7451648d7f0b8591f56bef2 Mon Sep 17 00:00:00 2001 From: Anthony Galassi <28850131+bendhouseart@users.noreply.github.com> Date: Mon, 27 Nov 2023 14:10:42 -0600 Subject: [PATCH] Tested previously failing phantoms, pass now. Version v1.0.20220720 of dcm2niix fixed some issues with Phillips dicoms. Uncommented those previously failing phantoms in python_conversions.sh and ran `make phantoms` they convert and pass the validator. --- scripts/python_conversions.sh | 92 +++++++++++++++++------------------ 1 file changed, 45 insertions(+), 47 deletions(-) diff --git a/scripts/python_conversions.sh b/scripts/python_conversions.sh index 1e5c5390..f87c8ed3 100644 --- a/scripts/python_conversions.sh +++ b/scripts/python_conversions.sh @@ -135,54 +135,52 @@ ReconMethodParameterValues="[0, 0]" # PhilipsGeminiPETMR # -------------------------------------- -# Note this creates a dcm2niix error, it's a known Philips bug; leaving for the sake of completness - -#echo "${SOURCE_FOLDER}/PhilipsGeminiPETMR-Unimedizin/reqCTAC" -#dcm2niix4pet $SOURCE_FOLDER/PhilipsGeminiPETMR-Unimedizin/reqCTAC --destination-path $DESTINATION/sub-PhilipsGeminiUnimedizinMainz/pet \ -#--kwargs \ -#Manufacturer="Philips Medical Systems" \ -#ManufacturersModelName="PET/CT Gemini TF16" -#InstitutionName="Unimedizin, Mainz, DE" \ -#BodyPart="Phantom" \ -#Units="Bq/mL" \ -#TracerName="Fallypride" \ -#TracerRadionuclide="F18" \ -#InjectedRadioactivity=114 \ -#SpecificRadioactivity=800 \ -#ModeOfAdministration="infusion" \ -#AcquisitionMode="list mode" \ -#ImageDecayCorrected=True \ -#ImageDecayCorrectionTime=0 \ -#ReconFilterType='n/a' \ -#ReconFilterSize=0 \ -#AttenuationCorrection="CTAC-SG" \ -#ScatterCorrectionMethod="SS-SIMUL" \ -#ReconstructionMethod="LOR-RAMLA" \ -#ReconMethodParameterValues="[1,1]" -# FrameDuration=[1798] \ +echo "${SOURCE_FOLDER}/PhilipsGeminiPETMR-Unimedizin/reqCTAC" +dcm2niix4pet $SOURCE_FOLDER/PhilipsGeminiPETMR-Unimedizin/reqCTAC --destination-path $DESTINATION/sub-PhilipsGeminiUnimedizinMainz/pet \ +--kwargs \ +Manufacturer="Philips Medical Systems" \ +ManufacturersModelName="PET/CT Gemini TF16" +InstitutionName="Unimedizin, Mainz, DE" \ +BodyPart="Phantom" \ +Units="Bq/mL" \ +TracerName="Fallypride" \ +TracerRadionuclide="F18" \ +InjectedRadioactivity=114 \ +SpecificRadioactivity=800 \ +ModeOfAdministration="infusion" \ +AcquisitionMode="list mode" \ +ImageDecayCorrected=True \ +ImageDecayCorrectionTime=0 \ +ReconFilterType='n/a' \ +ReconFilterSize=0 \ +AttenuationCorrection="CTAC-SG" \ +ScatterCorrectionMethod="SS-SIMUL" \ +ReconstructionMethod="LOR-RAMLA" \ +ReconMethodParameterValues="[1,1]" + FrameDuration=[1798] \ -#echo "${SOURCE_FOLDER}/PhilipsGeminiPETMR-Unimedizin/reqNAC" -#dcm2niix4pet $SOURCE_FOLDER/PhilipsGeminiPETMR-Unimedizin/reqNAC --destination-path $DESTINATION/sub-PhilipsGeminiNACUnimedizinMainz/pet \ -#--kwargs \ -#Manufacturer="Philips Medical Systems" \ -#ManufacturersModelName="PET/CT Gemini TF16" -#InstitutionName="Unimedizin, Mainz, DE" \ -#BodyPart="Phantom" \ -#Units="Bq/mL" \ -#TracerName="Fallypride" \ -#TracerRadionuclide="F18" \ -#InjectedRadioactivity=114 \ -#SpecificRadioactivity=800 \ -#ModeOfAdministration="infusion" \ -#AcquisitionMode="list mode" \ -#ImageDecayCorrected=True \ -#ImageDecayCorrectionTime=0 \ -#ReconFilterType=None \ -#ReconFilterSize=0 \ -#AttenuationCorrection="None" \ -#ScatterCorrectionMethod="None" \ -#ReconstructionMethod="3D-RAMLA" -## FrameDuration=[1798] \ +echo "${SOURCE_FOLDER}/PhilipsGeminiPETMR-Unimedizin/reqNAC" +dcm2niix4pet $SOURCE_FOLDER/PhilipsGeminiPETMR-Unimedizin/reqNAC --destination-path $DESTINATION/sub-PhilipsGeminiNACUnimedizinMainz/pet \ +--kwargs \ +Manufacturer="Philips Medical Systems" \ +ManufacturersModelName="PET/CT Gemini TF16" +InstitutionName="Unimedizin, Mainz, DE" \ +BodyPart="Phantom" \ +Units="Bq/mL" \ +TracerName="Fallypride" \ +TracerRadionuclide="F18" \ +InjectedRadioactivity=114 \ +SpecificRadioactivity=800 \ +ModeOfAdministration="infusion" \ +AcquisitionMode="list mode" \ +ImageDecayCorrected=True \ +ImageDecayCorrectionTime=0 \ +ReconFilterType=None \ +ReconFilterSize=0 \ +AttenuationCorrection="None" \ +ScatterCorrectionMethod="None" \ +ReconstructionMethod="3D-RAMLA" +FrameDuration=[1798] \ # Amsterdam UMC # ---------------------------