code: def readout(self):
          
  
          elec = self.simulate_poisson_variate()
  
          elec_pre = self.saturate(elec)
  
          elec_f = self.pre_readout(elec_pre)
  
          adu_r = self.base_readout(elec_f)
  
          adu_p = self.post_readout(adu_r)
  
          self.clean_up()
  
          return adu_p
docs: Readout the detector.