LightWin 0.9.1__tar.gz → 0.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (611) hide show
  1. {lightwin-0.9.1 → lightwin-0.9.2}/.pre-commit-config.yaml +1 -0
  2. {lightwin-0.9.1 → lightwin-0.9.2}/CHANGELOG.md +9 -0
  3. {lightwin-0.9.1 → lightwin-0.9.2}/CITATION.cff +2 -2
  4. {lightwin-0.9.1/src/LightWin.egg-info → lightwin-0.9.2}/PKG-INFO +9 -6
  5. {lightwin-0.9.1 → lightwin-0.9.2}/README.md +3 -2
  6. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/lightwin.toml +2 -2
  7. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/run_lightwin.py +4 -4
  8. {lightwin-0.9.1 → lightwin-0.9.2}/docs/conf.py +27 -16
  9. lightwin-0.9.2/docs/lightwin/lightwin.data.ads.rst +7 -0
  10. lightwin-0.9.2/docs/lightwin/lightwin.data.instructions_test.rst +7 -0
  11. lightwin-0.9.2/docs/lightwin/lightwin.data.rst +16 -0
  12. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.rst +0 -1
  13. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.rst +1 -0
  14. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.rst +1 -0
  15. lightwin-0.9.2/docs/lightwin/lightwin.util.typing.rst +7 -0
  16. lightwin-0.9.1/docs/manual/configuration.optimisation.design_space.rst → lightwin-0.9.2/docs/manual/configuration.design_space.rst +5 -5
  17. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.rst +2 -2
  18. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_1d.csv +1 -1
  19. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_3d.csv +1 -1
  20. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_tracewin.csv +1 -1
  21. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/examples.rst +1 -0
  22. lightwin-0.9.2/docs/manual/installation.building.rst +44 -0
  23. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.cython.rst +31 -31
  24. lightwin-0.9.2/docs/manual/installation.pypi.rst +70 -0
  25. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.rst +3 -3
  26. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.testing.rst +4 -2
  27. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.tracewin.rst +2 -0
  28. lightwin-0.9.2/docs/manual/notebooks/example.ipynb +962 -0
  29. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.compatibility_with_tracewin.rst +8 -8
  30. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.general_structure.rst +3 -3
  31. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.rst +5 -0
  32. lightwin-0.9.2/docs/requirements.txt +3 -0
  33. {lightwin-0.9.1 → lightwin-0.9.2}/pyproject.toml +3 -2
  34. {lightwin-0.9.1 → lightwin-0.9.2/src/LightWin.egg-info}/PKG-INFO +9 -6
  35. {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/SOURCES.txt +9 -4
  36. {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/requires.txt +3 -2
  37. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/beam_calculator.py +2 -5
  38. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrices.c +195 -195
  39. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/element_envelope1d_parameters.py +8 -10
  40. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/specs.py +1 -1
  41. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/specs.py +1 -1
  42. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/element_parameters.py +7 -1
  43. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/simulation_output.py +31 -33
  44. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/specs.py +1 -1
  45. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/accelerator.py +19 -20
  46. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/beam_parameters.py +35 -35
  47. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/initial_beam_parameters.py +28 -20
  48. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/i_phase_space_beam_parameters.py +2 -16
  49. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/initial_phase_space_beam_parameters.py +1 -1
  50. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/phase_space_beam_parameters.py +5 -5
  51. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/element.py +22 -21
  52. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/cavity_settings.py +45 -71
  53. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/cavity_settings_factory.py +6 -5
  54. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map.py +23 -49
  55. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/rf_field.py +6 -3
  56. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/list_of_elements.py +23 -27
  57. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/particle.py +25 -25
  58. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/transfer_matrix.py +55 -54
  59. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/lightwin.toml +4 -5
  60. lightwin-0.9.2/src/lightwin/util/typing.py +221 -0
  61. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/plot.py +108 -54
  62. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/specs.py +7 -0
  63. lightwin-0.9.1/docs/lightwin/lightwin.optimisation.algorithms.pso.rst +0 -7
  64. lightwin-0.9.1/docs/manual/installation.download.rst +0 -22
  65. lightwin-0.9.1/docs/manual/installation.python.rst +0 -109
  66. lightwin-0.9.1/docs/requirements.txt +0 -2
  67. {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/release.yml +0 -0
  68. {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/test.yml +0 -0
  69. {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/update_citation.yml +0 -0
  70. {lightwin-0.9.1 → lightwin-0.9.2}/.gitignore +0 -0
  71. {lightwin-0.9.1 → lightwin-0.9.2}/.readthedocs.yaml +0 -0
  72. {lightwin-0.9.1 → lightwin-0.9.2}/.taplo.toml +0 -0
  73. {lightwin-0.9.1 → lightwin-0.9.2}/LICENSE +0 -0
  74. {lightwin-0.9.1 → lightwin-0.9.2}/Makefile +0 -0
  75. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/constraints.csv +0 -0
  76. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/example.dat +0 -0
  77. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/example.ini +0 -0
  78. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/Double_spoke.edz +0 -0
  79. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/Simple_Spoke_1D.edz +0 -0
  80. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/beta065_1D.edz +0 -0
  81. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/generate_design_space_files.py +0 -0
  82. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/machine_config.toml +0 -0
  83. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/my_own_objectives.py +0 -0
  84. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/optimization_history/.keep +0 -0
  85. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/variables.csv +0 -0
  86. {lightwin-0.9.1 → lightwin-0.9.2}/data/example/variables_centered_around_solution.csv +0 -0
  87. {lightwin-0.9.1 → lightwin-0.9.2}/data/test_instructions/debug.py +0 -0
  88. {lightwin-0.9.1 → lightwin-0.9.2}/docs/Makefile +0 -0
  89. {lightwin-0.9.1 → lightwin-0.9.2}/docs/_ext/lightwin_sphinx_extensions.py +0 -0
  90. {lightwin-0.9.1 → lightwin-0.9.2}/docs/_templates/layout.html +0 -0
  91. {lightwin-0.9.1 → lightwin-0.9.2}/docs/_templates/versions.html +0 -0
  92. {lightwin-0.9.1 → lightwin-0.9.2}/docs/index.rst +0 -0
  93. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.beam_calculator.rst +0 -0
  94. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.beam_parameters_factory.rst +0 -0
  95. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.electromagnetic_fields.rst +0 -0
  96. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.element_parameters.rst +0 -0
  97. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.element_parameters_factory.rst +0 -0
  98. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.envelope_1d.rst +0 -0
  99. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.rst +0 -0
  100. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.simulation_output_factory.rst +0 -0
  101. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.specs.rst +0 -0
  102. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.transfer_matrices.rst +0 -0
  103. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.transfer_matrix_factory.rst +0 -0
  104. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.util.rst +0 -0
  105. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.beam_parameters_factory.rst +0 -0
  106. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.element_envelope1d_parameters.rst +0 -0
  107. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.element_envelope1d_parameters_factory.rst +0 -0
  108. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.envelope_1d.rst +0 -0
  109. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.rst +0 -0
  110. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.simulation_output_factory.rst +0 -0
  111. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.specs.rst +0 -0
  112. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.transfer_matrices.rst +0 -0
  113. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.transfer_matrix_factory.rst +0 -0
  114. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.util.rst +0 -0
  115. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.beam_parameters_factory.rst +0 -0
  116. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.element_envelope3d_parameters.rst +0 -0
  117. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.element_envelope3d_parameters_factory.rst +0 -0
  118. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.envelope_3d.rst +0 -0
  119. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.rst +0 -0
  120. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.simulation_output_factory.rst +0 -0
  121. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.specs.rst +0 -0
  122. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.transfer_matrices_p.rst +0 -0
  123. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.transfer_matrix_factory.rst +0 -0
  124. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.util.rst +0 -0
  125. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.factory.rst +0 -0
  126. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.integrators.rk4.rst +0 -0
  127. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.integrators.rst +0 -0
  128. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.element_parameters.rst +0 -0
  129. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.factory.rst +0 -0
  130. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.rst +0 -0
  131. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.rst +0 -0
  132. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.factory.rst +0 -0
  133. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.rst +0 -0
  134. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.simulation_output.rst +0 -0
  135. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.specs.rst +0 -0
  136. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.beam_parameters_factory.rst +0 -0
  137. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.element_tracewin_parameters.rst +0 -0
  138. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.element_tracewin_parameters_factory.rst +0 -0
  139. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.machine_config_specs.rst +0 -0
  140. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.rst +0 -0
  141. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.simulation_output_factory.rst +0 -0
  142. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.specs.rst +0 -0
  143. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.tracewin.rst +0 -0
  144. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.transfer_matrix_factory.rst +0 -0
  145. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.config_manager.rst +0 -0
  146. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.full_specs.rst +0 -0
  147. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.helper.rst +0 -0
  148. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.key_val_conf_spec.rst +0 -0
  149. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.rst +0 -0
  150. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.table_spec.rst +0 -0
  151. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.toml_formatter.rst +0 -0
  152. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config_manager.rst +0 -0
  153. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.constants.rst +0 -0
  154. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.accelerator.rst +0 -0
  155. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.factory.rst +0 -0
  156. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.rst +0 -0
  157. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.beam_parameters.rst +0 -0
  158. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.factory.rst +0 -0
  159. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.helper.rst +0 -0
  160. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.initial_beam_parameters.rst +0 -0
  161. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.i_phase_space_beam_parameters.rst +0 -0
  162. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.initial_phase_space_beam_parameters.rst +0 -0
  163. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.phase_space_beam_parameters.rst +0 -0
  164. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.rst +0 -0
  165. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.rst +0 -0
  166. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_specs.rst +0 -0
  167. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.adjust.rst +0 -0
  168. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.chopper.rst +0 -0
  169. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.command.rst +0 -0
  170. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.dummy_command.rst +0 -0
  171. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.end.rst +0 -0
  172. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.error.rst +0 -0
  173. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.factory.rst +0 -0
  174. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.field_map_path.rst +0 -0
  175. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.freq.rst +0 -0
  176. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.helper.rst +0 -0
  177. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.lattice.rst +0 -0
  178. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.marker.rst +0 -0
  179. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.repeat_ele.rst +0 -0
  180. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.rst +0 -0
  181. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.set_adv.rst +0 -0
  182. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.set_sync_phase.rst +0 -0
  183. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.shift.rst +0 -0
  184. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.steerer.rst +0 -0
  185. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.superpose_map.rst +0 -0
  186. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.aperture.rst +0 -0
  187. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.bend.rst +0 -0
  188. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.diagnostic.rst +0 -0
  189. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.drift.rst +0 -0
  190. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.dummy.rst +0 -0
  191. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.edge.rst +0 -0
  192. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.element.rst +0 -0
  193. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.factory.rst +0 -0
  194. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.cavity_settings.rst +0 -0
  195. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.cavity_settings_factory.rst +0 -0
  196. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.factory.rst +0 -0
  197. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map.rst +0 -0
  198. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_100.rst +0 -0
  199. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_1100.rst +0 -0
  200. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_70.rst +0 -0
  201. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_7700.rst +0 -0
  202. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.rst +0 -0
  203. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.superposed_field_map.rst +0 -0
  204. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.util.rst +0 -0
  205. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.helper.rst +0 -0
  206. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.quad.rst +0 -0
  207. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.rst +0 -0
  208. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.solenoid.rst +0 -0
  209. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.superposed_field_map.rst +0 -0
  210. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.thin_steering.rst +0 -0
  211. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field.rst +0 -0
  212. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field100.rst +0 -0
  213. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field70.rst +0 -0
  214. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field_factory.rst +0 -0
  215. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field_helpers.rst +0 -0
  216. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.helper.rst +0 -0
  217. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.longitudinal.rst +0 -0
  218. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.rf_field.rst +0 -0
  219. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.rst +0 -0
  220. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.superposed_fields.rst +0 -0
  221. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.types.rst +0 -0
  222. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.files_specs.rst +0 -0
  223. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.instruction.rst +0 -0
  224. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.instructions_factory.rst +0 -0
  225. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.factory.rst +0 -0
  226. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.helper.rst +0 -0
  227. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.list_of_elements.rst +0 -0
  228. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.rst +0 -0
  229. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.particle.rst +0 -0
  230. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.rst +0 -0
  231. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.factory.rst +0 -0
  232. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.rst +0 -0
  233. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.transfer_matrix.rst +0 -0
  234. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.list_of_simulation_output_evaluators.rst +0 -0
  235. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.post_treaters.rst +0 -0
  236. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.rst +0 -0
  237. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.factory.rst +0 -0
  238. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.presets.rst +0 -0
  239. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.rst +0 -0
  240. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.simulation_output_evaluator.rst +0 -0
  241. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.specs.rst +0 -0
  242. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.testers.rst +0 -0
  243. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.types.rst +0 -0
  244. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.fault.rst +0 -0
  245. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.fault_scenario.rst +0 -0
  246. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.helper.rst +0 -0
  247. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.rst +0 -0
  248. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.set_of_cavity_settings.rst +0 -0
  249. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.strategy.rst +0 -0
  250. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.algorithm.rst +0 -0
  251. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.differential_evolution.rst +0 -0
  252. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.downhill_simplex.rst +0 -0
  253. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.downhill_simplex_penalty.rst +0 -0
  254. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.explorator.rst +0 -0
  255. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.factory.rst +0 -0
  256. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.least_squares.rst +0 -0
  257. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.least_squares_penalty.rst +0 -0
  258. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.nsga.rst +0 -0
  259. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.constraint.rst +0 -0
  260. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.design_space.rst +0 -0
  261. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.design_space_parameter.rst +0 -0
  262. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.factory.rst +0 -0
  263. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.helper.rst +0 -0
  264. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.rst +0 -0
  265. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.variable.rst +0 -0
  266. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space_specs.rst +0 -0
  267. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.factory.rst +0 -0
  268. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.helper.rst +0 -0
  269. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.minimize_difference_with_ref.rst +0 -0
  270. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.minimize_mismatch.rst +0 -0
  271. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.objective.rst +0 -0
  272. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.position.rst +0 -0
  273. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.quantity_is_between.rst +0 -0
  274. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.rst +0 -0
  275. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.rst +0 -0
  276. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.wtf_specs.rst +0 -0
  277. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.combine_solutions.rst +0 -0
  278. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compare_beam_calculators.rst +0 -0
  279. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compare_runs.rst +0 -0
  280. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compute_lost_power_per_meter.rst +0 -0
  281. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.generate_design_space_files.rst +0 -0
  282. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.optimization_history.rst +0 -0
  283. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.reorder_output_figures.rst +0 -0
  284. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.rst +0 -0
  285. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.save_cavity_settings.rst +0 -0
  286. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.scripts_shorthands.rst +0 -0
  287. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.dat_files.rst +0 -0
  288. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.electromagnetic_fields.rst +0 -0
  289. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.field_map_loaders.rst +0 -0
  290. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.interface.rst +0 -0
  291. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.line.rst +0 -0
  292. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.load.rst +0 -0
  293. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.rst +0 -0
  294. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.ui.rst +0 -0
  295. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.ui.workflow_setup.rst +0 -0
  296. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.converters.rst +0 -0
  297. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.debug.rst +0 -0
  298. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.dicts_output.rst +0 -0
  299. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.helper.rst +0 -0
  300. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.log_manager.rst +0 -0
  301. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pandas_helper.rst +0 -0
  302. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pass_beauty.rst +0 -0
  303. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.phases.rst +0 -0
  304. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pickling.rst +0 -0
  305. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.synchronous_phases.rst +0 -0
  306. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.anim.rst +0 -0
  307. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.ellipse.rst +0 -0
  308. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.helper.rst +0 -0
  309. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.optimization.rst +0 -0
  310. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.plot.rst +0 -0
  311. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.rst +0 -0
  312. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.specs.rst +0 -0
  313. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.structure.rst +0 -0
  314. {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/modules.rst +0 -0
  315. {lightwin-0.9.1 → lightwin-0.9.2}/docs/make.bat +0 -0
  316. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/bibliography.rst +0 -0
  317. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.beam.rst +0 -0
  318. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.beam_calculator.rst +0 -0
  319. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.evaluators.rst +0 -0
  320. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.files.rst +0 -0
  321. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.plots.rst +0 -0
  322. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.wtf.rst +0 -0
  323. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam.csv +0 -0
  324. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/design_space_calculated.csv +0 -0
  325. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/design_space_from_file.csv +0 -0
  326. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/evaluator.csv +0 -0
  327. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/files.csv +0 -0
  328. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/plots.csv +0 -0
  329. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_k_out_of_n.csv +0 -0
  330. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_l_neighboring_lattices.csv +0 -0
  331. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_manual.csv +0 -0
  332. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/get_method.rst +0 -0
  333. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.troubleshooting.rst +0 -0
  334. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/notebooks/absolute_vs_relative_phases.ipynb +0 -0
  335. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/scripts.rst +0 -0
  336. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/troubles/module_not_found.rst +0 -0
  337. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/troubles/windows_c_compiler.rst +0 -0
  338. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/emittances.csv +0 -0
  339. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/envelopes.csv +0 -0
  340. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/twiss.csv +0 -0
  341. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units.rst +0 -0
  342. {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.breaking_and_fixing.rst +0 -0
  343. {lightwin-0.9.1 → lightwin-0.9.2}/docs/references.bib +0 -0
  344. {lightwin-0.9.1 → lightwin-0.9.2}/docs/scripts/generate_config_csv.py +0 -0
  345. {lightwin-0.9.1 → lightwin-0.9.2}/setup.cfg +0 -0
  346. {lightwin-0.9.1 → lightwin-0.9.2}/setup.py +0 -0
  347. {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/dependency_links.txt +0 -0
  348. {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/entry_points.txt +0 -0
  349. {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/top_level.txt +0 -0
  350. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/__init__.py +0 -0
  351. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/__init__.py +0 -0
  352. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/__init__.py +0 -0
  353. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/beam_parameters_factory.py +0 -0
  354. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/electromagnetic_fields.py +0 -0
  355. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/element_parameters.py +0 -0
  356. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/element_parameters_factory.py +0 -0
  357. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/envelope_1d.py +0 -0
  358. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/simulation_output_factory.py +0 -0
  359. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/specs.py +0 -0
  360. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrices.pyx +0 -0
  361. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrix_factory.py +0 -0
  362. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/util.py +0 -0
  363. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/__init__.py +0 -0
  364. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/beam_parameters_factory.py +0 -0
  365. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/element_envelope1d_parameters_factory.py +0 -0
  366. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/envelope_1d.py +0 -0
  367. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/simulation_output_factory.py +0 -0
  368. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/transfer_matrices.py +0 -0
  369. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/transfer_matrix_factory.py +0 -0
  370. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/util.py +0 -0
  371. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/__init__.py +0 -0
  372. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/beam_parameters_factory.py +0 -0
  373. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/element_envelope3d_parameters.py +0 -0
  374. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/element_envelope3d_parameters_factory.py +0 -0
  375. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/envelope_3d.py +0 -0
  376. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/simulation_output_factory.py +0 -0
  377. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/transfer_matrices_p.py +0 -0
  378. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/transfer_matrix_factory.py +0 -0
  379. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/util.py +0 -0
  380. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/factory.py +0 -0
  381. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/integrators/__init__.py +0 -0
  382. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/integrators/rk4.py +0 -0
  383. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/__init__.py +0 -0
  384. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/factory.py +0 -0
  385. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/__init__.py +0 -0
  386. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/factory.py +0 -0
  387. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/specs.py +0 -0
  388. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/__init__.py +0 -0
  389. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/beam_parameters_factory.py +0 -0
  390. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/element_tracewin_parameters.py +0 -0
  391. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/element_tracewin_parameters_factory.py +0 -0
  392. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/machine_config_specs.py +0 -0
  393. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/simulation_output_factory.py +0 -0
  394. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/tracewin.py +0 -0
  395. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/transfer_matrix_factory.py +0 -0
  396. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/__init__.py +0 -0
  397. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/config_manager.py +0 -0
  398. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/full_specs.py +0 -0
  399. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/helper.py +0 -0
  400. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/key_val_conf_spec.py +0 -0
  401. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/table_spec.py +0 -0
  402. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/toml_formatter.py +0 -0
  403. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config_manager.py +0 -0
  404. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/constants.py +0 -0
  405. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/__init__.py +0 -0
  406. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/__init__.py +0 -0
  407. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/factory.py +0 -0
  408. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/__init__.py +0 -0
  409. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/factory.py +0 -0
  410. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/helper.py +0 -0
  411. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/__init__.py +0 -0
  412. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_specs.py +0 -0
  413. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/__init__.py +0 -0
  414. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/adjust.py +0 -0
  415. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/chopper.py +0 -0
  416. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/command.py +0 -0
  417. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/dummy_command.py +0 -0
  418. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/end.py +0 -0
  419. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/error.py +0 -0
  420. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/factory.py +0 -0
  421. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/field_map_path.py +0 -0
  422. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/freq.py +0 -0
  423. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/helper.py +0 -0
  424. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/lattice.py +0 -0
  425. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/marker.py +0 -0
  426. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/repeat_ele.py +0 -0
  427. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/set_adv.py +0 -0
  428. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/set_sync_phase.py +0 -0
  429. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/shift.py +0 -0
  430. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/steerer.py +0 -0
  431. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/superpose_map.py +0 -0
  432. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/__init__.py +0 -0
  433. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/aperture.py +0 -0
  434. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/bend.py +0 -0
  435. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/diagnostic.py +0 -0
  436. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/drift.py +0 -0
  437. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/dummy.py +0 -0
  438. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/edge.py +0 -0
  439. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/factory.py +0 -0
  440. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/__init__.py +0 -0
  441. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/factory.py +0 -0
  442. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_100.py +0 -0
  443. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_1100.py +0 -0
  444. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_70.py +0 -0
  445. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_7700.py +0 -0
  446. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/superposed_field_map.py +0 -0
  447. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/util.py +0 -0
  448. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/helper.py +0 -0
  449. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/quad.py +0 -0
  450. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/solenoid.py +0 -0
  451. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/superposed_field_map.py +0 -0
  452. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/thin_steering.py +0 -0
  453. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/__init__.py +0 -0
  454. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field.py +0 -0
  455. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field100.py +0 -0
  456. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field70.py +0 -0
  457. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field_factory.py +0 -0
  458. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field_helpers.py +0 -0
  459. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/helper.py +0 -0
  460. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/longitudinal.py +0 -0
  461. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/superposed_fields.py +0 -0
  462. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/types.py +0 -0
  463. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/files_specs.py +0 -0
  464. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/instruction.py +0 -0
  465. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/instructions_factory.py +0 -0
  466. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/__init__.py +0 -0
  467. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/factory.py +0 -0
  468. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/helper.py +0 -0
  469. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/__init__.py +0 -0
  470. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/factory.py +0 -0
  471. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/__init__.py +0 -0
  472. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/__init__.py +0 -0
  473. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/ads.dat +0 -0
  474. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/ads.ini +0 -0
  475. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/constraints.csv +0 -0
  476. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/Double_spoke.edz +0 -0
  477. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/Simple_Spoke_1D.edz +0 -0
  478. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/beta065_1D.edz +0 -0
  479. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/lw_results/.keep +0 -0
  480. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/machine_config.toml +0 -0
  481. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/tw_results/.keep +0 -0
  482. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/variables.csv +0 -0
  483. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/variables_centered_around_solution.csv +0 -0
  484. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/__init__.py +0 -0
  485. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/bigger_repeat_ele.dat +0 -0
  486. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/generic_project.ini +0 -0
  487. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/lw_results/.keep +0 -0
  488. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/repeat_ele.dat +0 -0
  489. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/repeat_ele.ini +0 -0
  490. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/set_sync_phase.dat +0 -0
  491. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/superpose_map.dat +0 -0
  492. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/test_instructions.toml +0 -0
  493. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/tw_results/.keep +0 -0
  494. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/__init__.py +0 -0
  495. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/list_of_simulation_output_evaluators.py +0 -0
  496. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/post_treaters.py +0 -0
  497. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/__init__.py +0 -0
  498. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/factory.py +0 -0
  499. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/presets.py +0 -0
  500. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/simulation_output_evaluator.py +0 -0
  501. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/specs.py +0 -0
  502. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/testers.py +0 -0
  503. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/types.py +0 -0
  504. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/__init__.py +0 -0
  505. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/__init__.py +0 -0
  506. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/i_evaluator.py +0 -0
  507. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/__init__.py +0 -0
  508. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/factory.py +0 -0
  509. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/i_simulation_output_evaluator.py +0 -0
  510. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/presets.py +0 -0
  511. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/__init__.py +0 -0
  512. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/i_plotter.py +0 -0
  513. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/matplotlib_helper.py +0 -0
  514. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/matplotlib_plotter.py +0 -0
  515. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/pd_plotter.py +0 -0
  516. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/test.py +0 -0
  517. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/__init__.py +0 -0
  518. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/fault.py +0 -0
  519. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/fault_scenario.py +0 -0
  520. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/helper.py +0 -0
  521. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/set_of_cavity_settings.py +0 -0
  522. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/strategy.py +0 -0
  523. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/__init__.py +0 -0
  524. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/__init__.py +0 -0
  525. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/algorithm.py +0 -0
  526. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/differential_evolution.py +0 -0
  527. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/downhill_simplex.py +0 -0
  528. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/downhill_simplex_penalty.py +0 -0
  529. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/explorator.py +0 -0
  530. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/factory.py +0 -0
  531. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/least_squares.py +0 -0
  532. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/least_squares_penalty.py +0 -0
  533. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/nsga.py +0 -0
  534. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/__init__.py +0 -0
  535. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/constraint.py +0 -0
  536. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/design_space.py +0 -0
  537. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/design_space_parameter.py +0 -0
  538. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/factory.py +0 -0
  539. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/helper.py +0 -0
  540. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/variable.py +0 -0
  541. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space_specs.py +0 -0
  542. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/__init__.py +0 -0
  543. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/factory.py +0 -0
  544. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/helper.py +0 -0
  545. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/minimize_difference_with_ref.py +0 -0
  546. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/minimize_mismatch.py +0 -0
  547. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/objective.py +0 -0
  548. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/position.py +0 -0
  549. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/quantity_is_between.py +0 -0
  550. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/wtf_specs.py +0 -0
  551. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/__init__.py +0 -0
  552. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/combine_solutions.py +0 -0
  553. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compare_beam_calculators.py +0 -0
  554. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compare_runs.py +0 -0
  555. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compute_lost_power_per_meter.py +0 -0
  556. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/generate_design_space_files.py +0 -0
  557. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/optimization_history.py +0 -0
  558. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/reorder_output_figures.py +0 -0
  559. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/save_cavity_settings.py +0 -0
  560. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/scripts_shorthands.py +0 -0
  561. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/__init__.py +0 -0
  562. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/dat_files.py +0 -0
  563. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/electromagnetic_fields.py +0 -0
  564. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/field_map_loaders.py +0 -0
  565. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/interface.py +0 -0
  566. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/line.py +0 -0
  567. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/load.py +0 -0
  568. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/ui/__init__.py +0 -0
  569. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/ui/workflow_setup.py +0 -0
  570. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/__init__.py +0 -0
  571. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/converters.py +0 -0
  572. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/debug.py +0 -0
  573. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/dicts_output.py +0 -0
  574. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/helper.py +0 -0
  575. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/log_manager.py +0 -0
  576. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pandas_helper.py +0 -0
  577. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pass_beauty.py +0 -0
  578. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/phases.py +0 -0
  579. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pickling.py +0 -0
  580. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/synchronous_phases.py +0 -0
  581. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/__init__.py +0 -0
  582. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/anim.py +0 -0
  583. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/ellipse.py +0 -0
  584. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/helper.py +0 -0
  585. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/optimization.py +0 -0
  586. {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/structure.py +0 -0
  587. {lightwin-0.9.1 → lightwin-0.9.2}/tests/__init__.py +0 -0
  588. {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/__init__.py +0 -0
  589. {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_basic_compensation.py +0 -0
  590. {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_envelope1d.py +0 -0
  591. {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_envelope3d.py +0 -0
  592. {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_tracewin.py +0 -0
  593. {lightwin-0.9.1 → lightwin-0.9.2}/tests/compensation/test_design_spaces.py +0 -0
  594. {lightwin-0.9.1 → lightwin-0.9.2}/tests/compensation/test_optimisation_algorithms.py +0 -0
  595. {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/__init__.py +0 -0
  596. {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_config_manager.py +0 -0
  597. {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_configurations.py +0 -0
  598. {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_confspec.py +0 -0
  599. {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/__init__.py +0 -0
  600. {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/test_instructions/__init__.py +0 -0
  601. {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/test_instructions/test_commands.py +0 -0
  602. {lightwin-0.9.1 → lightwin-0.9.2}/tests/failure/__init__.py +0 -0
  603. {lightwin-0.9.1 → lightwin-0.9.2}/tests/failure/test_helper.py +0 -0
  604. {lightwin-0.9.1 → lightwin-0.9.2}/tests/pytest_helpers/__init__.py +0 -0
  605. {lightwin-0.9.1 → lightwin-0.9.2}/tests/pytest_helpers/simulation_output.py +0 -0
  606. {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/conftest.py +0 -0
  607. {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_dat_line.py +0 -0
  608. {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_load_dat_file.py +0 -0
  609. {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_load_field_maps.py +0 -0
  610. {lightwin-0.9.1 → lightwin-0.9.2}/tests/util/test_file_structure.py +0 -0
  611. {lightwin-0.9.1 → lightwin-0.9.2}/tests/util/test_pickling.py +0 -0
@@ -3,6 +3,7 @@ repos:
3
3
  rev: "v5.0.0"
4
4
  hooks:
5
5
  - id: check-added-large-files
6
+ exclude: "docs/manual/notebooks/example.ipynb"
6
7
  - id: check-case-conflict
7
8
  - id: check-docstring-first
8
9
  - id: check-executables-have-shebangs
@@ -10,6 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  Adhere to development best practices.
11
11
  In particular, follow advices listed in the great [Scientific Python library development guide](https://learn.scientific-python.org/development/).
12
12
 
13
+
14
+ ## [0.9.2] -- 2025-04-07
15
+
16
+ ### Added
17
+
18
+ - Type hints for the `.get` methods.
19
+ - Notebook example to showcase how LightWin can be used.
20
+ - You can give `matplotlib.axes.Axes.plot` kwargs in the `plots` TOML section.
21
+
13
22
  ## [0.9.1] -- 2025-01-30
14
23
 
15
24
  ### Added
@@ -2,8 +2,8 @@ cff-version: 1.2.0
2
2
  message: "If you use this software, please cite it as below."
3
3
  title: "LightWin"
4
4
  abstract: A tool dedicated to finding cavity failure compensation settings in linacs.
5
- version: 0.9.0
6
- date-released: "2025-01-21"
5
+ version: 0.9.1
6
+ date-released: '2025-01-30'
7
7
  authors:
8
8
  - family-names: Plaçais
9
9
  given-names: Adrien
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: LightWin
3
- Version: 0.9.1
3
+ Version: 0.9.2
4
4
  Summary: Automatically compensate cavity failures in linacs
5
5
  Author-email: Adrien Plaçais <placais@lpsc.in2p3.fr>, Bruce Yee-Rendon <byee@post.j-parc.jp>, Didier Uriot <didier.uriot@cea.fr>, Frédéric Bouly <bouly@lpsc.in2p3.fr>, Jean-Michel Lagniel <jean-michel.lagniel@ganil.fr>
6
6
  Project-URL: changelog, https://github.com/AdrienPlacais/LightWin/blob/main/CHANGELOG.md
@@ -27,17 +27,20 @@ Requires-Dist: pre-commit<5,>=4
27
27
  Requires-Dist: pymoo<1,>=0.6.1.3
28
28
  Requires-Dist: scipy<2,>=1.14
29
29
  Provides-Extra: docs
30
- Requires-Dist: sphinx-rtd-theme<4,>=3; extra == "docs"
31
- Requires-Dist: sphinxcontrib-bibtex<3,>=2.6; extra == "docs"
32
30
  Requires-Dist: myst-parser<5,>=4; extra == "docs"
33
31
  Requires-Dist: nbsphinx<1,>=0.9.6; extra == "docs"
34
32
  Requires-Dist: sphinx-autodoc-typehints<4,>=3.0.1; extra == "docs"
33
+ Requires-Dist: sphinx-rtd-theme<4,>=3; extra == "docs"
34
+ Requires-Dist: sphinx-tabs<4,>=3.4; extra == "docs"
35
+ Requires-Dist: sphinxcontrib-bibtex<3,>=2.6; extra == "docs"
35
36
  Provides-Extra: test
36
37
  Requires-Dist: pytest<9,>=8.3.2; extra == "test"
38
+ Dynamic: license-file
37
39
 
38
40
  [![Py versions](https://img.shields.io/badge/python-3.12-blue)](https://img.shields.io/badge/python-3.12-blue)
39
- [![build status](https://github.com/AdrienPlacais/LightWin/actions/workflows/main.yml/badge.svg)](https://github.com/AdrienPlacais/LightWin/actions/workflows/main.yml)
40
- [![Documentation Status](https://readthedocs.org/projects/lightwin/badge/?version=latest)](https://lightwin.readthedocs.io/en/latest/?badge=latest)
41
+ [![PyPi](https://img.shields.io/pypi/v/lightwin)](https://pypi.org/project/LightWin/)
42
+ [![Pytest](https://img.shields.io/badge/py-test-blue?logo=pytest)](https://github.com/AdrienPlacais/LightWin/actions/workflows/test.yml)
43
+ [![Documentation status](https://readthedocs.org/projects/lightwin/badge/?version=latest)](https://lightwin.readthedocs.io/en/latest/?badge=latest)
41
44
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/AdrienPlacais/LightWin/main.svg)](https://results.pre-commit.ci/latest/github/AdrienPlacais/LightWin/main)
42
45
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
43
46
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -1,6 +1,7 @@
1
1
  [![Py versions](https://img.shields.io/badge/python-3.12-blue)](https://img.shields.io/badge/python-3.12-blue)
2
- [![build status](https://github.com/AdrienPlacais/LightWin/actions/workflows/main.yml/badge.svg)](https://github.com/AdrienPlacais/LightWin/actions/workflows/main.yml)
3
- [![Documentation Status](https://readthedocs.org/projects/lightwin/badge/?version=latest)](https://lightwin.readthedocs.io/en/latest/?badge=latest)
2
+ [![PyPi](https://img.shields.io/pypi/v/lightwin)](https://pypi.org/project/LightWin/)
3
+ [![Pytest](https://img.shields.io/badge/py-test-blue?logo=pytest)](https://github.com/AdrienPlacais/LightWin/actions/workflows/test.yml)
4
+ [![Documentation status](https://readthedocs.org/projects/lightwin/badge/?version=latest)](https://lightwin.readthedocs.io/en/latest/?badge=latest)
4
5
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/AdrienPlacais/LightWin/main.svg)](https://results.pre-commit.ci/latest/github/AdrienPlacais/LightWin/main)
5
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
7
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -4,7 +4,7 @@ project_folder = "results_tests/"
4
4
 
5
5
  [generic_envelope1d]
6
6
  export_phase = "phi_0_abs"
7
- flag_cython = false
7
+ flag_cython = true
8
8
  flag_phi_abs = true
9
9
  method = "RK4"
10
10
  n_steps_per_cell = 40
@@ -41,7 +41,7 @@ sigma = [
41
41
  [generic_wtf]
42
42
  failed = [["FM11"]]
43
43
  id_nature = "name"
44
- k = 3
44
+ k = 5
45
45
  objective_preset = "simple_ADS"
46
46
  optimisation_algorithm = "downhill_simplex"
47
47
  optimisation_algorithm_kwargs = { options = { disp = false, adaptive = true } }
@@ -66,9 +66,9 @@ if __name__ == "__main__":
66
66
  "files": "files",
67
67
  "plots": "plots_minimal",
68
68
  "beam_calculator": "generic_envelope1d",
69
- "beam_calculator_post": "generic_tracewin",
69
+ # "beam_calculator_post": "generic_tracewin",
70
70
  "beam": "beam",
71
- "wtf": "save_wtf",
71
+ "wtf": "generic_wtf",
72
72
  "design_space": "fit_phi_s_design_space",
73
73
  # "design_space": "tiny_design_space",
74
74
  }
@@ -76,8 +76,8 @@ if __name__ == "__main__":
76
76
  BEAUTY_PASS = False
77
77
  config = process_config(toml_filepath, toml_keys)
78
78
  # my_objective_factory = MyObjectiveFactory
79
- my_objective_factory = EnergyPhaseMismatchMoreElements
79
+ # my_objective_factory = EnergyPhaseMismatchMoreElements
80
80
  fault_scenarios = run_simulation(
81
81
  config,
82
- objective_factory_class=my_objective_factory,
82
+ # objective_factory_class=my_objective_factory,
83
83
  )
@@ -31,10 +31,8 @@ import lightwin
31
31
  sys.path.append(os.path.abspath("./_ext"))
32
32
 
33
33
  project = "LightWin"
34
- copyright = (
35
- "2025, A. Plaçais, F. Bouly, J.-M. Lagniel, D. Uriot, B. Yee-Rendon"
36
- )
37
34
  author = "A. Plaçais, F. Bouly, J.-M. Lagniel, D. Uriot, B. Yee-Rendon"
35
+ copyright = "2025, " + author
38
36
 
39
37
  # See https://protips.readthedocs.io/git-tag-version.html
40
38
  # The full version, including alpha/beta/rc tags.
@@ -47,16 +45,18 @@ version = lightwin.__version__
47
45
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
48
46
 
49
47
  extensions = [
50
- "sphinxcontrib.bibtex", # Integrate citations
51
- "sphinx.ext.napoleon", # handle numpy style
52
- "sphinx.ext.autodoc",
53
- "sphinx_rtd_theme", # ReadTheDocs theme
48
+ "lightwin_sphinx_extensions",
54
49
  "myst_parser",
55
- "sphinx.ext.intersphinx", # interlink with other docs, such as numpy
56
- "sphinx.ext.todo", # allow use of TODO
57
50
  "nbsphinx",
58
- "lightwin_sphinx_extensions",
59
- "sphinx_autodoc_typehints", # Printing types in docstrings not necessary anymore
51
+ "sphinx.ext.autodoc",
52
+ "sphinx.ext.intersphinx",
53
+ "sphinx.ext.napoleon",
54
+ "sphinx.ext.todo",
55
+ "sphinx.ext.viewcode",
56
+ "sphinx_autodoc_typehints",
57
+ "sphinx_rtd_theme",
58
+ "sphinx_tabs.tabs",
59
+ "sphinxcontrib.bibtex",
60
60
  ]
61
61
 
62
62
  autodoc_default_options = {
@@ -88,6 +88,11 @@ nitpick_ignore = [
88
88
  # Not recognized by Sphinx, don't know if this is normal
89
89
  ("py:class", "optional"),
90
90
  ("py:class", "T"),
91
+ ("py:class", "numpy.float64"),
92
+ ("py:class", "numpy.typing.NDArray"),
93
+ ("py:class", "NDArray[np.float64]"),
94
+ ("py:class", "NDArray"),
95
+ ("py:class", "np.float64"),
91
96
  # pymoo fixes should be temporary
92
97
  ("py:class", "ElementwiseProblem"),
93
98
  ("py:class", "pymoo.core.algorithm.Algorithm"),
@@ -109,8 +114,6 @@ nitpick_ignore = [
109
114
  ("py:class", "ref_value_t"),
110
115
  ("py:class", "tester_t"),
111
116
  ("py:class", "value_t"),
112
- ("py:class", "REFERENCE_T"),
113
- ("py:class", "STATUS_T"),
114
117
  ]
115
118
 
116
119
  # Link to other libraries
@@ -122,11 +125,14 @@ intersphinx_mapping = {
122
125
  "scipy": ("https://docs.scipy.org/doc/scipy/", None),
123
126
  }
124
127
 
125
-
128
+ autodoc_type_aliases = {
129
+ "np.float64": "numpy.float64",
130
+ "NDArray": "numpy.typing.NDArray",
131
+ }
126
132
  # Parameters for sphinx-autodoc-typehints
127
133
  always_document_param_types = True
128
- always_use_bar_union = True
129
- # typehints_defaults = "braces-after"
134
+ always_use_bars_union = True
135
+ typehints_defaults = "comma"
130
136
 
131
137
  # -- Options for HTML output -------------------------------------------------
132
138
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
@@ -151,3 +157,8 @@ def object_description(obj: object) -> str:
151
157
 
152
158
 
153
159
  inspect.object_description = object_description
160
+
161
+ # -- Shortcuts ---------------------------------------------------
162
+ rst_prolog = """
163
+ .. |axplot| replace:: :meth:`matplotlib.axes.Axes.plot`
164
+ """
@@ -0,0 +1,7 @@
1
+ ads package
2
+ =========================
3
+
4
+ .. automodule:: lightwin.data.ads
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
@@ -0,0 +1,7 @@
1
+ instructions\_test package
2
+ ========================================
3
+
4
+ .. automodule:: lightwin.data.instructions_test
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
@@ -0,0 +1,16 @@
1
+ data package
2
+ =====================
3
+
4
+ .. automodule:: lightwin.data
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
8
+
9
+ Subpackages
10
+ -----------
11
+
12
+ .. toctree::
13
+ :maxdepth: 5
14
+
15
+ lightwin.data.ads
16
+ lightwin.data.instructions_test
@@ -21,4 +21,3 @@ Submodules
21
21
  lightwin.optimisation.algorithms.least_squares
22
22
  lightwin.optimisation.algorithms.least_squares_penalty
23
23
  lightwin.optimisation.algorithms.nsga
24
- lightwin.optimisation.algorithms.pso
@@ -15,6 +15,7 @@ Subpackages
15
15
  lightwin.beam_calculation
16
16
  lightwin.config
17
17
  lightwin.core
18
+ lightwin.data
18
19
  lightwin.evaluator
19
20
  lightwin.failures
20
21
  lightwin.optimisation
@@ -22,3 +22,4 @@ Submodules
22
22
  lightwin.util.phases
23
23
  lightwin.util.pickling
24
24
  lightwin.util.synchronous_phases
25
+ lightwin.util.typing
@@ -0,0 +1,7 @@
1
+ typing module
2
+ ===========================
3
+
4
+ .. automodule:: lightwin.util.typing
5
+ :members:
6
+ :undoc-members:
7
+ :show-inheritance:
@@ -1,4 +1,4 @@
1
- ``optimisation.design_space`` section
1
+ ``design_space`` section
2
2
  *************************************
3
3
  .. toctree::
4
4
  :maxdepth: 5
@@ -14,10 +14,10 @@ This approach is easier to use for the first runs.
14
14
  :widths: 30, 5, 50, 10, 5
15
15
  :header-rows: 1
16
16
 
17
- When ``from_file`` is ``True``, you must provide a path to a ``.csv`` file containing, for every element, every variable, its initial value and limits.
18
- If the problem is constrained, you must also provide a ``.csv`` with, for every element, the limits of every constraint.
19
- This approach is more useful when you want to fine-tune the optimisation, as you can manually edit the ``.csv``, for example to take into account the specific multipacting barriers of a rogue cavity.
20
- To generate the ``.csv`` files with the proper format, look at ``examples/generate_design_space_files.py``.
17
+ When ``from_file`` is ``True``, you must provide a path to a `CSV` file containing, for every element, every variable, its initial value and limits.
18
+ If the problem is constrained, you must also provide a `CSV` with, for every element, the limits of every constraint.
19
+ This approach is more useful when you want to fine-tune the optimisation, as you can manually edit the `CSV`, for example to take into account the specific multipacting barriers of a rogue cavity.
20
+ To generate the `CSV` files with the proper format, look at ``examples/generate_design_space_files.py``.
21
21
 
22
22
  .. csv-table::
23
23
  :file: configuration_entries/design_space_from_file.csv
@@ -9,10 +9,10 @@ Configuration
9
9
  configuration.beam_calculator
10
10
  configuration.plots
11
11
  configuration.wtf
12
- configuration.optimisation.design_space
12
+ configuration.design_space
13
13
  configuration.evaluators
14
14
 
15
- Most of the configuration of LightWin is performed through a ``.toml`` configuration file, which should be given as argument to several objects initialisation.
15
+ Most of the configuration of LightWin is performed through a `TOML` configuration file, which should be given as argument to several objects initialisation.
16
16
  The configuration file is treated with the help of the `tomllib <https://docs.python.org/3/library/tomllib.html>`_ module.
17
17
  It is processed by the :func:`.config.config_manager.process_config` function, which checks its validity and converts it to a dictionary.
18
18
 
@@ -1,5 +1,5 @@
1
1
  Entry,Type,Description,Allowed values,Mandatory?
2
- export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('phi_0_abs', 'phi_0_rel', 'phi_s', 'as_in_settings', 'as_in_original_dat')",❌
2
+ export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('as_in_original_dat', 'as_in_settings', 'phi_0_abs', 'phi_0_rel', 'phi_s')",❌
3
3
  flag_cython,``bool``,If we should use the Cython implementation (faster).,,❌
4
4
  flag_phi_abs,``bool``,If the field maps phases should be absolute (no implicit rephasing after a failure).,,❌
5
5
  method,``str``,Integration method.,"('RK4', 'leapfrog')",❌
@@ -1,5 +1,5 @@
1
1
  Entry,Type,Description,Allowed values,Mandatory?
2
- export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('phi_0_abs', 'phi_0_rel', 'phi_s', 'as_in_settings', 'as_in_original_dat')",❌
2
+ export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('as_in_original_dat', 'as_in_settings', 'phi_0_abs', 'phi_0_rel', 'phi_s')",❌
3
3
  flag_cython,``bool``,Not implemented yet. If we should use the Cython implementation (faster).,"(False,)",❌
4
4
  flag_phi_abs,``bool``,If the field maps phases should be absolute (no implicit rephasing after a failure).,,❌
5
5
  method,``str``,Integration method.,"('RK4',)",❌
@@ -34,7 +34,7 @@ etnx1,``float``,Input XX’ emittance (mm.mrad) of main beam,,❌
34
34
  etnx2,``float``,Input XX’ emittance (mm.mrad) of second beam,,❌
35
35
  etny1,``float``,Input YY’ emittance (mm.mrad) of main beam,,❌
36
36
  etny2,``float``,Input YY’ emittance (mm.mrad) of second beam,,❌
37
- export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('phi_0_abs', 'phi_0_rel', 'phi_s', 'as_in_settings', 'as_in_original_dat')",❌
37
+ export_phase,``str``,"The type of phases that should be exported in the final DAT file. Note that ``'as_in_original_dat'`` is not implemented yet, but ``'as_in_settings'`` should behave the same way, provided that you alter no FieldMap.CavitySettings.reference attribute.","('as_in_original_dat', 'as_in_settings', 'phi_0_abs', 'phi_0_rel', 'phi_s')",❌
38
38
  freq1,``float``,Input beam frequency (MHz) of main beam,,❌
39
39
  freq2,``float``,Input beam frequency (MHz) of second beam,,❌
40
40
  hide,``bool``,"Hide the GUI, or cancel console output (no parameter).",,✅
@@ -6,4 +6,5 @@ Examples
6
6
  .. toctree::
7
7
  :maxdepth: 4
8
8
 
9
+ notebooks/example.ipynb
9
10
  notebooks/absolute_vs_relative_phases.ipynb
@@ -0,0 +1,44 @@
1
+ Building from source (for developers)
2
+ -------------------------------------
3
+
4
+ Pre-requisites:
5
+
6
+ * Python 3.12 or higher.
7
+ * A C++ compiler. On Unix systems, install `gcc`. On Windows, check :ref:`here<windows_c_compiler>`.
8
+
9
+ Cloning the repository
10
+ ^^^^^^^^^^^^^^^^^^^^^^
11
+
12
+ Download the source from GitHub.
13
+
14
+ .. code-block:: bash
15
+
16
+ git clone git@github.com:AdrienPlacais/LightWin.git
17
+
18
+ Alternatively, you can download the code as a `.zip` file from the repository's page.
19
+ However, please note that using this method requires manually downloading updates whenever changes are made to the repository.
20
+
21
+ Installation
22
+ ^^^^^^^^^^^^
23
+
24
+ Navigate to the `LightWin` folder.
25
+ Create and activate a Python environment (see :ref:`instructions<simple-installation>`).
26
+ Install and test with:
27
+
28
+ .. code-block:: bash
29
+
30
+ pip install -e .[test]
31
+ pytest -m "not tracewin"
32
+
33
+ Setting up TraceWin requires :ref:`additional steps<installation-tracewin>`.
34
+
35
+ .. hint::
36
+ If you encounter issues with the `[test]` extra dependency, try escaping the brackets:
37
+
38
+ .. code-block:: bash
39
+
40
+ pip install -e .\[test\]
41
+
42
+ If you want to install LightWin with `conda`, you will have to `manually`_ install all the dependencies listed in the `pyproject.toml` file.
43
+
44
+ .. _manually: https://github.com/conda/conda/issues/12462
@@ -1,56 +1,56 @@
1
+ .. _Cython-setup:
2
+
3
+
1
4
  Cython setup (should be automatic)
2
5
  ----------------------------------
3
6
 
4
7
  .. note::
5
- If you installed LightWin with `pip install -e .` and there was no error, you do not need to read this section.
6
- You can check that everything works as expected by running `pytest -m cython`.
8
+ If you installed LightWin with `pip` and there was no error, you do not need to read this section.
9
+ If you built the code from source, you can check that everything works as expected with `pytest -m cython`.
7
10
 
8
11
  Cython is an optional but highly recommended tool to speed up beam dynamics calculations.
9
12
  Here's how to properly install and use Cython with the project:
10
13
 
11
- 1. Installing Cython
12
- ^^^^^^^^^^^^^^^^^^^^
14
+ 1. Pre-requisites
15
+ ^^^^^^^^^^^^^^^^^
13
16
  Ensure Cython is installed before installing other packages like `pymoo` to take full advantage of its capabilities:
14
17
 
15
- * Using `pip`:
16
-
17
- .. code-block:: bash
18
-
19
- pip install cython
20
-
21
- * Using `conda`:
22
-
23
- .. code-block:: bash
24
-
25
- conda install cython -c conda-forge
26
-
18
+ .. code-block:: bash
19
+
20
+ pip install cython
21
+
22
+ You should have Python installed in your `PATH`, and a `C` compiler.
23
+ While the compiler should be available on Unix systems, you will have to install `Microsoft Build Tools for Visual Studio` (`C++ build tools` component) on Windows.
24
+ Check :ref:`this link<windows_c_compiler>` for instructions.
27
25
 
28
26
  2. Compiling Cython modules
29
27
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
- Some parts of LightWin, in particular the :class:`.Envelope1D` beam calculator, have Cython-optimized code that need to be optimized.
31
- Follow this steps to compile the modules:
28
+ Some parts of LightWin, in particular the :class:`.CyEnvelope1D` beam calculator, have Cython-optimized code that need to be compiled.
29
+ Navigate to the LightWin directory and run:
32
30
 
33
- 1. Navigate to the `LightWin` base directory:
34
-
35
- .. code-block:: bash
36
-
37
- cd /path/to/LightWin/
38
-
39
- 2. Run the `setup` script:
40
-
41
- .. code-block:: bash
31
+ .. tabs::
32
+
33
+ .. tab:: Unix systems
34
+
35
+ .. code-block:: bash
36
+
37
+ make compile
38
+
39
+ .. tab:: Windows
40
+
41
+ .. code-block:: bash
42
+
43
+ python setup.py build_ext --inplace
42
44
 
43
- python setup.py build_ext --inplace
44
-
45
45
  This command compiles the Cython files and places the compiled modules (`.pyd` or `.so` extensions) in the appropriate directories.
46
46
 
47
47
 
48
48
  3. Handling compiled files
49
49
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
50
- After compilation, the compiled files should be automatically places in the correct locations.
50
+ After compilation, the compiled files should be automatically placed in the correct locations.
51
51
  If not, manually move the created files:
52
52
 
53
- * Unix (Linux/macOS): `build/lib.linux-XXX-cpython=3XX/beam_calculation/cy_envelope_1d/transfer_matrices.cpython-3XX-XXXX-linux-gnu.so`
53
+ * Unix (Linux/macOS): `build/lib.linux-XXX-cpython-3XX/beam_calculation/cy_envelope_1d/transfer_matrices.cpython-3XX-XXXX-linux-gnu.so`
54
54
  * Windows: `build/lib.win-XXXX-cpython-3XX/beam_calculation/cy_envelope_1d/transfer_matrices.cp3XX-win_XXXX.pyd`
55
55
 
56
56
  To:
@@ -0,0 +1,70 @@
1
+ .. _simple-installation:
2
+
3
+ Simple installation (recommended)
4
+ ---------------------------------
5
+
6
+ You will need Python 3.12 or higher.
7
+ If you run a 32-bits Windows system, you will also need a :ref:`C compiler<windows_c_compiler>`.
8
+ Set up a virtual environment; instructions will vary according to you installation.
9
+
10
+ .. tabs::
11
+
12
+ .. tab:: venv (Recommended)
13
+
14
+ Python's built-in `venv` module is the recommended way to create a virtual environment.
15
+
16
+ .. code-block:: bash
17
+
18
+ python -m venv venv
19
+
20
+ Activate the environment:
21
+
22
+ - On macOS/Linux:
23
+
24
+ .. code-block:: bash
25
+
26
+ source venv/bin/activate
27
+
28
+ - On Windows:
29
+
30
+ .. code-block:: bash
31
+
32
+ venv\Scripts\activate
33
+
34
+ .. tab:: virtualenv
35
+
36
+ If you prefer `virtualenv`, install it first:
37
+
38
+ .. code-block:: bash
39
+
40
+ pip install virtualenv
41
+ virtualenv venv
42
+
43
+ Activate the environment:
44
+
45
+ - On macOS/Linux:
46
+
47
+ .. code-block:: bash
48
+
49
+ source venv/bin/activate
50
+
51
+ - On Windows:
52
+
53
+ .. code-block:: bash
54
+
55
+ venv\Scripts\activate
56
+
57
+ .. tab:: Conda
58
+
59
+ If you manage environments with Conda:
60
+
61
+ .. code-block:: bash
62
+
63
+ conda create --name lightwin python=3.x
64
+ conda activate lightwin
65
+
66
+ Once it is activated, run the following command:
67
+
68
+ .. code-block:: bash
69
+
70
+ pip install lightwin
@@ -4,9 +4,9 @@ Installation
4
4
  .. toctree::
5
5
  :maxdepth: 5
6
6
 
7
- installation.download
8
- installation.python
9
- installation.cython
7
+ installation.pypi
8
+ installation.building
10
9
  installation.tracewin
10
+ installation.cython
11
11
  installation.testing
12
12
  installation.troubleshooting
@@ -1,5 +1,7 @@
1
- Testing
2
- -------
1
+ Testing (for developers)
2
+ ------------------------
3
+
4
+ Read this section if you built LightWin from source and expect to modify the code.
3
5
 
4
6
  Pytest
5
7
  ^^^^^^
@@ -1,3 +1,5 @@
1
+ .. _installation-tracewin:
2
+
1
3
  TraceWin (facultative)
2
4
  ----------------------
3
5