trim_movie - Crop movie
Crops the beginning and/or the end of an image time series data.
Description
Use this function to remove frames (trim) from the start and/or the end of an image time series with dimensions (Y,X,T). Set the time (in seconds) to remove from the start/end of the data. The number of frames corresponding to the time will be removed.
Input
This function accepts only image time series (with dimensions Y,X,T) as input.
Output
Trimmed data with dimensions Y,X,T.
Parameters
Number of frames to crop from the start of the image time series. If set to zero, no cropping is performed.
Number of frames to crop at the end of the image time series. If set to zero, no cropping is performed.
Time unit used to crop the movie. If set to Seconds, the function will calculate the number of frames corresponding to the time in seconds.