Пример #1
0
 def setUp(self):
     self.model = cpymad.load_model('lhc')
Пример #2
0
 def test_aperture(self):
     '''
      Tests a specific aperture from LHC model
     '''
     self.model=cpymad.load_model('lhc')
     aper,pars=self.model.aperture(madrange='ir2')
Пример #3
0
 def setUp(self):
     self.model = cpymad.load_model(self.name)
     self.model._cmd('option,-twiss_print')
Пример #4
0
 def test_aperture(self):
     '''
      Tests a specific aperture from LHC model
     '''
     self.model = cpymad.load_model('lhc')
     aper, pars = self.model.aperture(madrange='ir2')
Пример #5
0
 def setUp(self):
     self.model=cpymad.load_model('lhc')