-
Couldn't load subscription status.
- Fork 89
Open
Labels
category: enhancementimprovements of code or code behaviorimprovements of code or code behaviorpriority: lowalternative solution already working and/or relevant to only specific user(s)alternative solution already working and/or relevant to only specific user(s)
Description
Currently, for an ImageSeries if external_files is specified as a list of videos, there is no way to specify a list of starting_times corresponding to each of the videos.
@CodyCBakerPhD had brought this issue up #1318
Describe the solution you'd like
I think, with format="external" we should allow a list of either starting_times or timestamps (list of arrays).
Code:
# currently what works:
img_srs_external = ImageSeries(name='external igs', format='external',rate=2.0,starting_time=0.0,
external_file=["temp1.avi","temp2.avi"]) # this works
# what is requested:
img_srs_external = ImageSeries(name='externaligs', format='external',rate=2.0, starting_time=[0.0, 100.0],
external_file=["temp1.avi","temp2.avi"])
# OR:
img_srs_external = ImageSeries(name='externaligs', format='external', timestamps=[np.arange(100), np.arange(101,200)],
external_file=["temp1.avi","temp2.avi"])Checklist
- Have you ensured the feature or change was not already reported?
- Have you included a brief and descriptive title?
- Have you included a clear description of the problem you are trying to solve?
- Have you included a minimal code snippet that reproduces the issue you are encountering?
- Have you checked our Contributing document?
Metadata
Metadata
Assignees
Labels
category: enhancementimprovements of code or code behaviorimprovements of code or code behaviorpriority: lowalternative solution already working and/or relevant to only specific user(s)alternative solution already working and/or relevant to only specific user(s)