code: def get_model(self, model=None, **kwargs):
          
          if model is not None:
              kwargs['model'] = model
          kwargs['context'] = 'model'
          return self.filter(**kwargs)
docs: Filter in the 'model' context
  
          :parameter str model: name of the model (optional)
          :parameter **kwargs: any other tags to do the filter
              (except model or context)
          :return: :class:`phoebe.parameters.parameters.ParameterSet`