(self)
return motion_dur
Get the duration (seconds) of the entire motion.

    Returns:
      The duration of the motion.
Get the duration (seconds) of the entire motion.
Get the duration ( seconds ) of the entire motion .
def get_duration(self):
    """Get the duration (seconds) of the entire motion.

    Returns:
      The duration of the motion.

    """
    frame_dur = self.get_frame_duration()
    num_frames = self.get_num_frames()
    motion_dur = frame_dur * (num_frames - 1)
    return motion_dur
def get_duration ( self ) : frame_dur = self . get_frame_duration ( ) num_frames = self . get_num_frames ( ) motion_dur = frame_dur * ( num_frames - 1 ) return motion_dur