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
Currently, for an
ImageSeriesifexternal_filesis specified as a list of videos, there is no way to specify a list ofstarting_timescorresponding 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 eitherstarting_timesortimestamps(list of arrays).Code:
Checklist