Skip to content

Add optional frame_index_range attribute to ImageSeries #679

@rly

Description

@rly

Original request (comment from #543), from Loren Frank's lab in 2023: Allow creating an ImageSeries that references a sequence of consecutive frames from a video file that does not start at the first frame and/or does not go to the last frame. I am creating a new issue because the main issue of #543 is being resolved.

Proposed solution from @CodyCBakerPhD in #543: Add frame_index_range, a list of length-2 tuples, each tuple being start frame index and end frame index respectively, as an optional attribute to ImageSeries. If using entire video, this would become (0, num_frames_in_that_video). Applies only when format='external'.

The original request was deemed not very important from the Frank Lab. If additional use cases arise, we should consider implementing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: enhancementimprovements of code or code behaviorpriority: lowalternative solution already working and/or relevant to only specific user(s)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions