docs: def linspace(self,dim,*args,**kwargs):
          """
              Creates a range of values for a specific dimension that go from its minimum to its 
              maximum either in certain steps (resolution != None) or a fixed number of bins 
              (bins != None). The output can be converted into a different unit (eg. into 'seconds').
  
              bins=None
              units=None
              conversion_function=convert_time
              resolution=None
  
              .. note::
  
                  Discrete Labels (units='1') will behave differently than continuous Labels (units='1.0' or 's' etc.)
                  To emulate the discrete behaviour, you can pass `end_at_end=False` to the function,
                  The default behaviour is continuous if `units != '1'` (that is the output units if specified).
  
                  A linspace from 0...5 will give 0, 1, 2, 3, 4, 5 (6 steps) for a discrete variable while
                  a continuous variable will be split into: 0.0-1.0,1.0-2.0,2.0-3.0,3.0-4.0,4.0-5.0
                  in 5 bins (at a resolution of 1.0).
          """
          return self.spike_times.get_label(dim).linspace(*args,**kwargs)