code: def fit(self, **kwargs):
          
          if self.use_emcee:
              if 'basename' in kwargs:
                  del kwargs['basename']
              if 'verbose' in kwargs:
                  del kwargs['verbose']
              if 'overwrite' in kwargs:
                  del kwargs['overwrite']
              self.fit_mcmc(**kwargs)
          else:
              self.fit_multinest(**kwargs)
docs: Wrapper for either :func:`fit_multinest` or :func:`fit_mcmc`.
  
          Default will be to use MultiNest; set `use_emcee` keyword to `True` 
          if you want to use MCMC, or just call :func:`fit_mcmc` directly.