Skip to content

Imagestack.sel is very slow on large volumes #1335

@ambrosejcarr

Description

@ambrosejcarr

My understanding is that ImageStack.sel should produce a view of the data in ImageStack. However, attempts to select data from a large volume takes a very long time (~5-10 seconds), which makes me wonder if it is copying.

Reproduce:

import starfish.data
from starfish.types import Axes
image = starfish.data.SeqFISH(use_test_data=False).fov().get_image('primary')
round_1 = image.sel({Axes.ROUND: 1})

Desired outcome: Selection from ImageStack is fast (< 1s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech debtrefactoring, non prioritized optimizations, code cleanups

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions