-
-
Notifications
You must be signed in to change notification settings - Fork 69
DVH calculation problem for Eclipse 15.6 rtdose #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you able to send a test data set that I can look at? I haven't seen this error before. Also can you list your library versions, I.e. output of |
Yes, certainly. Here is the And here is the link to the data sets: https://yadi.sk/d/Pl9sXq_5GPjWWA |
Made some layman investigations. |
That is very possible. I know that there is currently an issue with HFP or FFS patients. Referencing issue #144 |
I believe the Non-HFS support resolves the volume issue. The
We should probably rename this issue since I don't think this has anything to do with the TPS. |
Hey there!
There is a problem with dvh calculation for Eclipse 15.6 rtdose.
When I use
get_dvh(... use_structure_extents=True ...)
I get this:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skimage/transform/_warps.py:116: RuntimeWarning: invalid value encountered in true_divide np.asarray(output_shape, dtype=float)) Traceback (most recent call last): File "/Users/sergei/GoogleDrive/PlanCompetition/Competition.py", line 532, in <module> result = calc_scoring(IDs[i], data_dict[struct][constr]) File "/Users/sergei/GoogleDrive/PlanCompetition/Competition.py", line 414, in calc_scoring calculate_full_volume=cal_full_vol) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dicompylercore/dvhcalc.py", line 75, in get_dvh callback) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dicompylercore/dvhcalc.py", line 183, in calculate_dvh dose, z, interpolation_resolution, dgindexextents) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dicompylercore/dvhcalc.py", line 458, in get_interpolated_dose preserve_range=True) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skimage/transform/_warps.py", line 293, in rescale anti_aliasing_sigma=anti_aliasing_sigma) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skimage/transform/_warps.py", line 169, in resize tform.estimate(src_corners, dst_corners) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/skimage/transform/_geometric.py", line 684, in estimate _, _, V = np.linalg.svd(A) File "<__array_function__ internals>", line 6, in svd File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/linalg/linalg.py", line 1626, in svd u, s, vh = gufunc(a, signature=signature, extobj=extobj) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/linalg/linalg.py", line 106, in _raise_linalgerror_svd_nonconvergence raise LinAlgError("SVD did not converge") numpy.linalg.LinAlgError: SVD did not converge
If I use

get_dvh(... use_structure_extents=False ...)
I get the dvh, but it's really strange. The volume of the structure in % can be, for example, 1.2e+06...
The text was updated successfully, but these errors were encountered: