IM_TIME_INTERVAL can be set to edges of contiguous bins or to start/end pairs of bins. For example:
o->set, im_time_interval='20-feb-02 11:06:' + ['00','04','08','10']
o->set, im_time_interval='20-feb-02 11:06:' +
[ ['00','04'], ['08','12'], ['16',20'] ]
Or set IM_TIME_INTERVAL to a start/end time, and IM_TIME_BIN to the width in seconds to divide IM_TIME_INTERVAL into, e.g.
o->set, im_time_interval='20-feb-02 11:' + ['06:00','06:18']
o->set, im_time_bin=4
While making images, tb_index keeps track of which time interval is currently being processed.
When retrieving images, use t_idx to specify which time interval to retrieve the image or parameters for, e.g. to get the image for the fourth time interval:
o->set, t_idx=3
image = o->getdata)
Both tb_index and t_idx start at 0.