[docs]defcalculate(self,traj_data:TrajectoryData)->Tuple[Dict[str,np.ndarray],str]:""" Return the calculated traces and the units label to use. Parameters ---------- traj_data: TrajectoryData Trajectory data for which to calculate metrics. Returns ------- Dict[str, np.ndarray] The name of each trace mapped to an array of the data for that trace. str A label for the units, formatted as " (units)". """returnself.traces(traj_data),self.formatted_units(traj_data)