Document Frame Increment Pointer magic value

This commit is contained in:
RunasSudo 2023-11-23 21:33:56 +11:00
parent ae015e051e
commit a5282c0aa5
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -103,7 +103,7 @@ def ev_files_to_dcm_file(study_uid, series_uid, series_number, image_number, inp
if len(pixel_datas) > 1:
ds.RecommendedDisplayFrameRate = round(metadata['recommendedDisplayFrameRate'])
ds.FrameTime = 1000 / metadata['recommendedDisplayFrameRate']
ds.FrameIncrementPointer = (0x0018, 0x1063)
ds.FrameIncrementPointer = (0x0018, 0x1063) # Frame Time
ds.NumberOfFrames = len(pixel_datas)
# Store copy of raw metadata