The cellIndices() function is used in the interpolation functions that we use for generating the polar view (for example, here).
However, sometimes nan values are produced within the function (as demonstrated in #729). These nan values, however, get converted to valid index values (like -1 or 0).
We should probably make sure we don't use invalid index values at all, rather than converting them to valid values.
Our best guess is that this bad handling of invalid cellIndices() values is resulting in bad interpolation values near detector borders. This is probably something that should be corrected.
The
cellIndices()
function is used in the interpolation functions that we use for generating the polar view (for example, here).However, sometimes
nan
values are produced within the function (as demonstrated in #729). Thesenan
values, however, get converted to valid index values (like-1
or0
).We should probably make sure we don't use invalid index values at all, rather than converting them to valid values.
Our best guess is that this bad handling of invalid
cellIndices()
values is resulting in bad interpolation values near detector borders. This is probably something that should be corrected.