# Path: blond/beam/beam.py
# class Proton(Particle):
#     """ Implements a proton `Particle`.
#     """
# 
#     def __init__(self):
# 
#         Particle.__init__(self, m_p*c**2/e, 1)


import numpy as np
import unittest
import matplotlib.pyplot as plt
import scipy.optimize as spOpt
import blond.beam.coasting_beam as cBeam
import blond.beam.beam as bBeam
import blond.input_parameters.ring as Ring
import blond.utils.exceptions as blExcept
from blond.beam.beam import Proton
# coding: utf-8
# Copyright 2017 CERN. This software is distributed under the
# terms of the GNU General Public Licence version 3 (GPL Version 3),
# copied verbatim in the file LICENCE.md.
# In applying this licence, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization or
# submit itself to any jurisdiction.
# Project website: http://blond.web.cern.ch/

'''
Unit-tests for coasting beam generation.

'''

#General imports

#BLonD imports


class testCoastingBeamModule(unittest.TestCase):
    
    
    def setUp(self):
        

# Path: blond/beam/beam.py
# class Proton(Particle):
#     """ Implements a proton `Particle`.
#     """
# 
#     def __init__(self):
# 
#         Particle.__init__(self, m_p*c**2/e, 1)


# Path: unittests/beams/test_coasting_beam.py
import numpy as np
import unittest
import matplotlib.pyplot as plt
import scipy.optimize as spOpt
import blond.beam.coasting_beam as cBeam
import blond.beam.beam as bBeam
import blond.input_parameters.ring as Ring
import blond.utils.exceptions as blExcept
from blond.beam.beam import Proton

# coding: utf-8
# Copyright 2017 CERN. This software is distributed under the
# terms of the GNU General Public Licence version 3 (GPL Version 3),
# copied verbatim in the file LICENCE.md.
# In applying this licence, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization or
# submit itself to any jurisdiction.
# Project website: http://blond.web.cern.ch/

'''
Unit-tests for coasting beam generation.

'''

#General imports

#BLonD imports


class testCoastingBeamModule(unittest.TestCase):
    
    
    def setUp(self):
        

        self.ring = Ring.Ring(2*np.pi*25, 1/4.4**2, 1E9, Proton())