list_of_elements package
In this subpackage, we define ListOfElements.
This object holds several contiguous Element. We also define factory methods to
instantiate this objects more easily, as well as helper functions.
Submodules
- factory module
ListOfElementsFactoryListOfElementsFactory.__init__()ListOfElementsFactory.whole_list_run()ListOfElementsFactory.subset_list_run()ListOfElementsFactory._subset_files_dictionary()ListOfElementsFactory._delta_phi_for_tracewin()ListOfElementsFactory._get_initial_element()ListOfElementsFactory._subset_input_particle()ListOfElementsFactory.from_existing_list()
- helper module
is_list_of()is_list_of_elements()is_list_of_list_of_elements()is_list_of_list_of_field_maps()filter_out()filter_elts()filter_cav()elt_at_this_s_idx()equivalent_elt_idx()equivalent_elt()indiv_to_cumul_transf_mat()group_elements_by_section()group_elements_by_section_and_lattice()group_elements_by_lattice()_get_first_key_of_idx_dict_higher_than()first()
- list_of_elements module
FilesInfoListOfElementsListOfElements.__init__()ListOfElements.w_kin_inListOfElements.phi_abs_inListOfElements.l_cavListOfElements.cavities()ListOfElements.tunable_cavitiesListOfElements.tracewin_commandListOfElements.has()ListOfElements.get()ListOfElements._first_init()ListOfElements._set_element_indexes()ListOfElements.force_reference_phases_to()ListOfElements.store_settings_in_dat()ListOfElements.take()ListOfElements.pickle()ListOfElements.from_pickle()ListOfElements.files_infoListOfElements.generate_element_to_index_func()
sumup_cavities()