Skip to content

Better handling of invalid cellIndices values #730

@psavery

Description

@psavery

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions