docs: def space(self,bins=None,units=None,conversion_function=convert_time,resolution=None,end_at_end=True,scale=None):
          """
              Computes adequat binning for the dimension (on the values).
  
                  bins: number of bins or None
                  units: str or None
                  conversion_function: function to convert units to other units
                  resolution: step size or None
                  end_at_end: Boolean
                      only if `unit == 1`
                      whether or not the last point should be the last data point (True) or one after the last valid point (False)
                  scale: 'lin','log' or None
                      a spike container can also use 'unique', but not the LabelDimension itself!
                      if the LabelDimension.scale is 'unique', .bins() will return a linear spacing
          """
          if scale in ['log'] or (scale is None and self.scale in ['log']):
              return self.logspace(bins=bins,units=units,conversion_function=conversion_function,resolution=resolution,end_at_end=end_at_end)
          return self.linspace(bins=bins,units=units,conversion_function=conversion_function,resolution=resolution,end_at_end=end_at_end)