impact_elements
index
/home/amundson/work/Layer-allintel/impact_elements.py

 
Modules
            
madcalc
os
re
string
synergia
sys
 
Classes
            
BasicRF_element
Drift_element
External_element
Injection_element
Output_element
 
class BasicRF_element
       
   Methods defined here:
__init__(self, length, steps, map_steps, field_scaling, rf_freq, driven_phase_deg, file_name, radius_m, relative_phase=0)
describe(self, file=<open file '<stdout>', mode 'w'>)
preprocess(self)
write_line(self, file)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'impact_elements'
 
class Drift_element
       
   Methods defined here:
__init__(self, length, kicks, steps, radius)
describe(self, file=<open file '<stdout>', mode 'w'>)
write_line(self, file)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'impact_elements'
 
class External_element
       
   Methods defined here:
__init__(self, kicks, steps, radius, mad_file_name, beamline_name='booster', length=None)
describe(self, file=<open file '<stdout>', mode 'w'>)
preprocess(self)
write_line(self, file)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'impact_elements'
 
class Injection_element
       
   Methods defined here:
__init__(self, dist_num, particles, x_offset, y_offset, phase_offset)
describe(self, file=<open file '<stdout>', mode 'w'>)
set_impact_parameters(self, impact_parameters)
write_line(self, file)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'impact_elements'
 
class Output_element
       
   Methods defined here:
__init__(self, name, sampling_period=1)
describe(self, file=<open file '<stdout>', mode 'w'>)
postprocess(self)
set_impact_parameters(self, impact_parameters)
write_line(self, file)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'impact_elements'
 
Data
             __file__ = '/home/amundson/work/Layer-allintel/impact_elements.pyc'
__name__ = 'impact_elements'
beamline_indices = {}
created_mad_mapping_file = 0
existing_mad_file_name = None
linked_mad_file = 0
next_beamline_index = 1
next_external_element_index = 1
next_output_element_unit = 81
next_rfdata_file_id = 10