get_frame_from_timeseries ================================================ .. py:function:: petpal.utils.dimension.get_frame_from_timeseries(input_img: ants.ANTsImage, frame: int) -> ants.ANTsImage Get a single frame of a 4D image as a 3D image. A simplified version of :py:func:`ants.ndimage_to_list.ndimage_to_list`. :param input_img: The 4D image from which to get the frame. :type input_img: ants.ANTsImage :param frame: The index of the frame to extract from the time series image. :type frame: int :returns: *img_3d (ants.ANTsImage)* -- The 3D first frame of the input image as an ants image.