Skip to content

NaN values in physicalDose of resultGUI [BUG] #611

@zperko

Description

@zperko

Describe the bug
In some cases the returned physicalDose array contains NaN values, while the none of the beam physical dose arrays (physicalDose_BeamX) have any NaNs in them. Seems like this mainly happens along the edges of the CT (e.g., resultsGUI.physicalDose(:,:,end) or (:,end,:), so it could be a loop end index being incorrect.

To Reproduce
Bit difficult without providing the patient data, but we have seen this for multiple brain cases.

Expected behavior
Should not have NaN values in calculated dose arrays, and the beamwise dose values should correspond to the total dose array.
See the attached screenshot of a normal looking dose and DVHs, but with NaNs in the physical dose.
Screenshots
image
image

Desktop (please complete the following information):

  • OS: UNIX
  • Environment & Version Matlab 2021b
  • matRad Version 2.10.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions