--
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicompyler+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "dicompyler" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dicompyler/qoHAyx52YSk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dicompyler+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dicompyler/2abbf788-4b59-449e-b525-f1b386fd548bo%40googlegroups.com.
import numpy as np
from dicompylercore import dvhcalc
rtss = "structure.dcm"
rtdose = "dose.dcm"
structure_index = 0
dvh = dvhcalc.get_dvh(rtss, rtdose, structure_index)
diff_dvh = np.diff(dvh.counts)
Thanks Dan. I agree that it is more of a numpy question but I’m so bad with dicompyler that I can’t even get access to the raw data that it is using to create the differential DVH. I had hoped to access it in some sort of tabular format but I couldn’t figure that out. I can just export the DVH data from Eclipse in tabular format and work with that but I had hoped to do everything from the rtdose file using dicompyler.Mike
On Sun, Aug 9, 2020 at 1:23 PM Dan Cutright <dan.c...@gmail.com> wrote:
DVH Analytics does something along those lines. It's not quite what you're looking for, but the code would be similar. This is really more of a numpy question rather than a dicompyler question.--The dvhs variable in the linked code is a 2D array of dvhs. You'd just create an array of differential DVHs instead (could use np.diff).
On Sunday, August 9, 2020 at 12:47:57 PM UTC-5, mg13...@gmail.com wrote:Hi,Is there a way to use dicompyler to calculate the standard deviation of a differential DVH? Varian's Eclipse TPS does this, but I'd like to analyze several DVHs at once with a Python program.Thank you,Mike Grams
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicom...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "dicompyler" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dicompyler/qoHAyx52YSk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dicom...@googlegroups.com.
On Aug 9, 2020, at 14:27, Dan Cutright <dan.cu...@gmail.com> wrote:
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicompyler+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to the Google Groups "dicompyler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dicompyler+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dicompyler/22ea96e4-3406-452d-a4cc-281806386452o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dicompyler/92C9F8A6-7DF0-4463-A89E-110D8CC89855%40bastula.org.