Skip to content

Repeated DenseFieldTransform.map calls are unnecessarily slow #288

@chriscline

Description

@chriscline

For each call to scipy.ndimage.map_coordinates (here) , a spline filter is re-applied to the field (here). This adds substantial time to repeated mapping calls on the same field.

If we can apply the spline filter once and save the results, we can then provide the filtered field directly to map_coordinates and specify prefilter=False to avoid re-applying the filter.

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