Example #1
0
 def run_jexosimA(self, opt):
   jexosim_msg('Astroscene', 1)
   astroscene.run(opt)
   jexosim_msg('Telescope', 1)
   telescope.run(opt)
   jexosim_msg('Channel', 1)
   channel.run(opt)
   jexosim_msg('Backgrounds', 1)
   backgrounds.run(opt) 
   jexosim_msg('Detector', 1)
   detector.run(opt)
   if opt.observation_feasibility ==1: # if detector does not saturate continue
       jexosim_msg('Timeline', 1)
       timeline.run(opt)
       jexosim_msg('Light curve', 1)
       light_curve.run(opt)     
       return opt       
   else: # if detector saturates end sim      
       return opt
Example #2
0
 def run_JexoSimA(self, opt):
     exosystem.run(opt)
     telescope.run(opt)
     channel.run(opt)
     backgrounds.run(opt)
     detector.run(opt)