Hello:
Thank you very much for pynetdicom (and pydicom) - very nice. I downloaded and tried the storescp.py example, and it worked perfectly, "right out of the box"! Fantastic!
What I need to do now is determine when a series transmission has ended, so that I can do some processing on all the images in a series.
For example, I might want to extract the 2D pixel data from each image in the series, then stack all of the 2D arrays to create a 3D volume, then save the volume as a separate data file.
I read Patrice's answer to a similar question for SCU (when have all series/images in a study been sent):
I have done additional research, and it seems that it may not generally be possible to determine when all data in a study has been received (!?!)... See:
Hard to believe... An alternate might be a function (call back) that gets called when the SCP decides the transmission is over - perhaps after a timeout, or a closed association.
Is such a call back available in pynetdicom? Would it be difficult to add?
Any help with the general problem of deciding when a storescp can conclude a transmission is over would be greatly appreciated.
Sincerely,
--
J Ross Mitchell, PhD
Professor of Radiology, Mayo Clinic College of Medicine
Senior Associate Consultant, Department of Research
Precision Neurotherapeutics Innovations Lab
Mayo Clinic, 5777 East Mayo Blvd., Phoenix AZ 85054
SSB 2-700