bastula / dicompyler

Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
http://www.dicompyler.com
269 stars 100 forks source link

Support non-integral and non-1cGy bin sizes for DVHs #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is being caused by using mc simulation data(dose per particle score) and 
the g4dose plugin.

The DVH calculations are breaking for me when I use RTDose data with a maxdose 
<< cGy. 

I noticed that this is caused by the use of the function range(0,maxdose) in 
the dvh*.py files. I believe this fails to create a range for values 
approaching zero.

I was able to re-scale my data to 1Gy and am having no trouble after doing so.

Original issue reported on code.google.com by lstrd...@gmail.com on 19 Feb 2012 at 2:40

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

GoogleCodeExporter commented 9 years ago
I think the DVH architecture of dicompyler needs to be refactored to support 
arbitrary bin sizes. Currently it expects (either by source data or by 
conversion) that the bin sizes are 1 cGy.

Once the application/DVH plugin supports arbitrary bin sizes, the DVH 
calculation can be modified to generate arbitrary bin sizes instead of 1 cGy 
bin sizes by default.

Original comment by bastula on 14 Mar 2012 at 3:23