code: def getControls(self):
          '''
          Calculate consumption for each agent this period.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          employed = self.eStateNow == 1.0
          unemployed = np.logical_not(employed)
          cLvlNow = np.zeros(self.AgentCount)
          cLvlNow[employed] = self.solution[0].cFunc(self.mLvlNow[employed])
          cLvlNow[unemployed] = self.solution[0].cFunc_U(self.mLvlNow[unemployed])
          self.cLvlNow = cLvlNof getControls(self):
          '''
          Calculate consumption for each agent this period.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None
          '''
          employed = self.eStateNow == 1.0
          unemployed = np.logical_not(employed)
          cLvlNow = np.zeros(self.AgentCount)
          cLvlNow[employed] = self.solution[0].cFunc(self.mLvlNow[employed])
          cLvlNow[unemployed] = self.solution[0].cFunc_U(self.mLvlNow[unemployed])
          self.cLvlNow = cLvlNow
docs: Calculate consumption for each agent this period.
  
          Parameters
          ----------
          None
  
          Returns
          -------
          None