Returns the units of a Dimension

def get_units(self,*args,**kwargs):
        """
            Returns the units of a Dimension
        """
        if len(args) == 1:
            return self.spike_times.get_label(args[0]).units
        return [self.spike_times.get_label(a).units for a in args]