code: def getpLvlPcvd(self):
          '''
          Finds the representative agent's (average) perceived productivity level.
          Average perception of productivity gets UpdatePrb weight on the true level,
          for those that update, and (1-UpdatePrb) weight on the previous average
          perception times expected aggregate growth, for those that don't update.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          pLvlPcvd : np.array
              Size 1 array with average perception of productivity level.
          '''
          pLvlPcvd = self.UpdatePrb*self.pLvlTrue + (1.0-self.UpdatePrb)*(self.pLvlNow*self.PermGroFac[self.t_cycle[0]-1])
          return pLvlPcvf getpLvlPcvd(self):
          '''
          Finds the representative agent's (average) perceived productivity level.
          Average perception of productivity gets UpdatePrb weight on the true level,
          for those that update, and (1-UpdatePrb) weight on the previous average
          perception times expected aggregate growth, for those that don't update.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          pLvlPcvd : np.array
              Size 1 array with average perception of productivity level.
          '''
          pLvlPcvd = self.UpdatePrb*self.pLvlTrue + (1.0-self.UpdatePrb)*(self.pLvlNow*self.PermGroFac[self.t_cycle[0]-1])
          return pLvlPcvd
docs: Finds the representative agent's (average) perceived productivity level.
          Average perception of productivity gets UpdatePrb weight on the true level,
          for those that update, and (1-UpdatePrb) weight on the previous average
          perception times expected aggregate growth, for those that don't update.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          pLvlPcvd : np.array
              Size 1 array with average perception of productivity level.