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).
My understanding is that
ImageStack.selshould 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:
Desired outcome: Selection from
ImageStackis fast (< 1s).