docs: def set_model(self, name, model):
          """ Set a model.
  
          Parameters
          ----------
          name  : name of the model -- e.g., richness, kernel, isochrone, etc.
          model : the model instance
  
          Returns
          -------
          None
          """
          # Careful to not use `hasattr`
          # https://hynek.me/articles/hasattr/
          try:
              self.__getattribute__('models')
          except AttributeError:
              object.__setattr__(self, 'models',odict())
          self.models[name] = model