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.
- {lightwin-0.9.1 → lightwin-0.9.2}/.pre-commit-config.yaml +1 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/CHANGELOG.md +9 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/CITATION.cff +2 -2
- {lightwin-0.9.1/src/LightWin.egg-info → lightwin-0.9.2}/PKG-INFO +9 -6
- {lightwin-0.9.1 → lightwin-0.9.2}/README.md +3 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/lightwin.toml +2 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/run_lightwin.py +4 -4
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/conf.py +27 -16
- lightwin-0.9.2/docs/lightwin/lightwin.data.ads.rst +7 -0
- lightwin-0.9.2/docs/lightwin/lightwin.data.instructions_test.rst +7 -0
- lightwin-0.9.2/docs/lightwin/lightwin.data.rst +16 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.rst +0 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.rst +1 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.rst +1 -0
- lightwin-0.9.2/docs/lightwin/lightwin.util.typing.rst +7 -0
- lightwin-0.9.1/docs/manual/configuration.optimisation.design_space.rst → lightwin-0.9.2/docs/manual/configuration.design_space.rst +5 -5
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.rst +2 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_1d.csv +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_3d.csv +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_tracewin.csv +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/examples.rst +1 -0
- lightwin-0.9.2/docs/manual/installation.building.rst +44 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.cython.rst +31 -31
- lightwin-0.9.2/docs/manual/installation.pypi.rst +70 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.rst +3 -3
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.testing.rst +4 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.tracewin.rst +2 -0
- lightwin-0.9.2/docs/manual/notebooks/example.ipynb +962 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.compatibility_with_tracewin.rst +8 -8
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.general_structure.rst +3 -3
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.rst +5 -0
- lightwin-0.9.2/docs/requirements.txt +3 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/pyproject.toml +3 -2
- {lightwin-0.9.1 → lightwin-0.9.2/src/LightWin.egg-info}/PKG-INFO +9 -6
- {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/SOURCES.txt +9 -4
- {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/requires.txt +3 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/beam_calculator.py +2 -5
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrices.c +195 -195
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/element_envelope1d_parameters.py +8 -10
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/specs.py +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/specs.py +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/element_parameters.py +7 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/simulation_output.py +31 -33
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/specs.py +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/accelerator.py +19 -20
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/beam_parameters.py +35 -35
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/initial_beam_parameters.py +28 -20
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/i_phase_space_beam_parameters.py +2 -16
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/initial_phase_space_beam_parameters.py +1 -1
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/phase_space_beam_parameters.py +5 -5
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/element.py +22 -21
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/cavity_settings.py +45 -71
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/cavity_settings_factory.py +6 -5
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map.py +23 -49
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/rf_field.py +6 -3
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/list_of_elements.py +23 -27
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/particle.py +25 -25
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/transfer_matrix.py +55 -54
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/lightwin.toml +4 -5
- lightwin-0.9.2/src/lightwin/util/typing.py +221 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/plot.py +108 -54
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/specs.py +7 -0
- lightwin-0.9.1/docs/lightwin/lightwin.optimisation.algorithms.pso.rst +0 -7
- lightwin-0.9.1/docs/manual/installation.download.rst +0 -22
- lightwin-0.9.1/docs/manual/installation.python.rst +0 -109
- lightwin-0.9.1/docs/requirements.txt +0 -2
- {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/release.yml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/test.yml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/.github/workflows/update_citation.yml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/.gitignore +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/.readthedocs.yaml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/.taplo.toml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/LICENSE +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/Makefile +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/constraints.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/example.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/example.ini +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/Double_spoke.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/Simple_Spoke_1D.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/field_maps_1D/beta065_1D.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/generate_design_space_files.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/machine_config.toml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/my_own_objectives.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/optimization_history/.keep +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/variables.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/example/variables_centered_around_solution.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/data/test_instructions/debug.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/Makefile +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/_ext/lightwin_sphinx_extensions.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/_templates/layout.html +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/_templates/versions.html +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/index.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.beam_calculator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.beam_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.electromagnetic_fields.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.element_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.element_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.envelope_1d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.simulation_output_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.transfer_matrices.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.transfer_matrix_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.cy_envelope_1d.util.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.beam_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.element_envelope1d_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.element_envelope1d_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.envelope_1d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.simulation_output_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.transfer_matrices.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.transfer_matrix_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_1d.util.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.beam_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.element_envelope3d_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.element_envelope3d_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.envelope_3d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.simulation_output_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.transfer_matrices_p.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.transfer_matrix_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.envelope_3d.util.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.integrators.rk4.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.integrators.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.element_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.simulation_output.simulation_output.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.beam_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.element_tracewin_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.element_tracewin_parameters_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.machine_config_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.simulation_output_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.tracewin.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.beam_calculation.tracewin.transfer_matrix_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.config_manager.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.full_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.key_val_conf_spec.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.table_spec.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config.toml_formatter.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.config_manager.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.constants.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.accelerator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.accelerator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.initial_beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.i_phase_space_beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.initial_phase_space_beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.phase_space_beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.phase_space.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_parameters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.beam_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.adjust.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.chopper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.command.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.dummy_command.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.end.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.error.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.field_map_path.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.freq.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.lattice.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.marker.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.repeat_ele.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.set_adv.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.set_sync_phase.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.shift.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.steerer.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.commands.superpose_map.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.aperture.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.bend.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.diagnostic.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.drift.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.dummy.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.edge.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.element.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.cavity_settings.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.cavity_settings_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_100.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_1100.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_70.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.field_map_7700.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.superposed_field_map.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.field_maps.util.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.quad.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.solenoid.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.superposed_field_map.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.elements.thin_steering.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field100.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field70.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.field_helpers.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.longitudinal.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.rf_field.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.superposed_fields.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.em_fields.types.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.files_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.instruction.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.instructions_factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.list_of_elements.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.list_of_elements.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.particle.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.core.transfer_matrix.transfer_matrix.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.list_of_simulation_output_evaluators.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.post_treaters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.presets.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.simulation_output.simulation_output_evaluator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.testers.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.evaluator.types.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.fault.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.fault_scenario.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.set_of_cavity_settings.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.failures.strategy.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.algorithm.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.differential_evolution.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.downhill_simplex.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.downhill_simplex_penalty.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.explorator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.least_squares.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.least_squares_penalty.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.algorithms.nsga.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.constraint.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.design_space.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.design_space_parameter.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space.variable.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.design_space_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.factory.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.minimize_difference_with_ref.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.minimize_mismatch.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.objective.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.position.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.quantity_is_between.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.objective.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.optimisation.wtf_specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.combine_solutions.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compare_beam_calculators.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compare_runs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.compute_lost_power_per_meter.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.generate_design_space_files.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.optimization_history.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.reorder_output_figures.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.save_cavity_settings.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.scripts.scripts_shorthands.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.dat_files.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.electromagnetic_fields.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.field_map_loaders.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.interface.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.line.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.load.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.tracewin_utils.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.ui.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.ui.workflow_setup.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.converters.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.debug.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.dicts_output.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.log_manager.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pandas_helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pass_beauty.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.phases.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.pickling.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.util.synchronous_phases.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.anim.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.ellipse.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.helper.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.optimization.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.plot.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.specs.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/lightwin.visualization.structure.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/lightwin/modules.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/make.bat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/bibliography.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.beam.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.beam_calculator.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.evaluators.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.files.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.plots.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration.wtf.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/design_space_calculated.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/design_space_from_file.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/evaluator.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/files.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/plots.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_k_out_of_n.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_l_neighboring_lattices.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/wtf_manual.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/get_method.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/installation.troubleshooting.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/notebooks/absolute_vs_relative_phases.ipynb +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/scripts.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/troubles/module_not_found.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/troubles/windows_c_compiler.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/emittances.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/envelopes.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units/twiss.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/units.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/usage.breaking_and_fixing.rst +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/references.bib +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/docs/scripts/generate_config_csv.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/setup.cfg +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/setup.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/dependency_links.txt +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/entry_points.txt +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/LightWin.egg-info/top_level.txt +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/beam_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/electromagnetic_fields.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/element_parameters.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/element_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/envelope_1d.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/simulation_output_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrices.pyx +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/transfer_matrix_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/cy_envelope_1d/util.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/beam_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/element_envelope1d_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/envelope_1d.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/simulation_output_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/transfer_matrices.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/transfer_matrix_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_1d/util.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/beam_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/element_envelope3d_parameters.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/element_envelope3d_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/envelope_3d.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/simulation_output_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/transfer_matrices_p.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/transfer_matrix_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/envelope_3d/util.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/integrators/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/integrators/rk4.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/parameters/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/simulation_output/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/beam_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/element_tracewin_parameters.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/element_tracewin_parameters_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/machine_config_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/simulation_output_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/tracewin.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/beam_calculation/tracewin/transfer_matrix_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/config_manager.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/full_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/key_val_conf_spec.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/table_spec.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config/toml_formatter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/config_manager.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/constants.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/accelerator/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_parameters/phase_space/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/beam_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/adjust.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/chopper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/command.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/dummy_command.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/end.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/error.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/field_map_path.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/freq.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/lattice.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/marker.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/repeat_ele.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/set_adv.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/set_sync_phase.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/shift.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/steerer.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/commands/superpose_map.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/aperture.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/bend.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/diagnostic.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/drift.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/dummy.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/edge.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_100.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_1100.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_70.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/field_map_7700.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/superposed_field_map.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/field_maps/util.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/quad.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/solenoid.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/superposed_field_map.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/elements/thin_steering.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field100.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field70.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/field_helpers.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/longitudinal.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/superposed_fields.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/em_fields/types.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/files_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/instruction.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/instructions_factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/list_of_elements/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/core/transfer_matrix/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/ads.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/ads.ini +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/constraints.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/Double_spoke.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/Simple_Spoke_1D.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/field_maps_1D/beta065_1D.edz +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/lw_results/.keep +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/machine_config.toml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/tw_results/.keep +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/variables.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/ads/variables_centered_around_solution.csv +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/bigger_repeat_ele.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/generic_project.ini +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/lw_results/.keep +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/repeat_ele.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/repeat_ele.ini +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/set_sync_phase.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/superpose_map.dat +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/test_instructions.toml +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/data/instructions_test/tw_results/.keep +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/list_of_simulation_output_evaluators.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/post_treaters.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/presets.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/simulation_output/simulation_output_evaluator.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/testers.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/evaluator/types.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/i_evaluator.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/i_simulation_output_evaluator.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/new_evaluator/simulation_output/presets.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/i_plotter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/matplotlib_helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/matplotlib_plotter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/plotter/pd_plotter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/experimental/test.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/fault.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/fault_scenario.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/set_of_cavity_settings.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/failures/strategy.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/algorithm.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/differential_evolution.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/downhill_simplex.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/downhill_simplex_penalty.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/explorator.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/least_squares.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/least_squares_penalty.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/algorithms/nsga.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/constraint.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/design_space.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/design_space_parameter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space/variable.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/design_space_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/factory.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/minimize_difference_with_ref.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/minimize_mismatch.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/objective.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/position.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/objective/quantity_is_between.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/optimisation/wtf_specs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/combine_solutions.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compare_beam_calculators.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compare_runs.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/compute_lost_power_per_meter.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/generate_design_space_files.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/optimization_history.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/reorder_output_figures.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/save_cavity_settings.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/scripts/scripts_shorthands.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/dat_files.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/electromagnetic_fields.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/field_map_loaders.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/interface.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/line.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/tracewin_utils/load.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/ui/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/ui/workflow_setup.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/converters.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/debug.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/dicts_output.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/log_manager.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pandas_helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pass_beauty.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/phases.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/pickling.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/util/synchronous_phases.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/anim.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/ellipse.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/optimization.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/src/lightwin/visualization/structure.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_basic_compensation.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_envelope1d.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_envelope3d.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/beam_calculator/test_tracewin.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/compensation/test_design_spaces.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/compensation/test_optimisation_algorithms.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_config_manager.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_configurations.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/config/test_confspec.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/test_instructions/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/core/test_instructions/test_commands.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/failure/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/failure/test_helper.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/pytest_helpers/__init__.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/pytest_helpers/simulation_output.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/conftest.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_dat_line.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_load_dat_file.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/tracewin_utils/test_load_field_maps.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/util/test_file_structure.py +0 -0
- {lightwin-0.9.1 → lightwin-0.9.2}/tests/util/test_pickling.py +0 -0
|
@@ -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.
|
|
6
|
-
date-released:
|
|
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.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: LightWin
|
|
3
|
-
Version: 0.9.
|
|
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
|
[](https://img.shields.io/badge/python-3.12-blue)
|
|
39
|
-
[](https://pypi.org/project/LightWin/)
|
|
42
|
+
[](https://github.com/AdrienPlacais/LightWin/actions/workflows/test.yml)
|
|
43
|
+
[](https://lightwin.readthedocs.io/en/latest/?badge=latest)
|
|
41
44
|
[](https://results.pre-commit.ci/latest/github/AdrienPlacais/LightWin/main)
|
|
42
45
|
[](https://opensource.org/licenses/MIT)
|
|
43
46
|
[](https://github.com/psf/black)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[](https://img.shields.io/badge/python-3.12-blue)
|
|
2
|
-
[](https://pypi.org/project/LightWin/)
|
|
3
|
+
[](https://github.com/AdrienPlacais/LightWin/actions/workflows/test.yml)
|
|
4
|
+
[](https://lightwin.readthedocs.io/en/latest/?badge=latest)
|
|
4
5
|
[](https://results.pre-commit.ci/latest/github/AdrienPlacais/LightWin/main)
|
|
5
6
|
[](https://opensource.org/licenses/MIT)
|
|
6
7
|
[](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 =
|
|
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 =
|
|
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": "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
59
|
-
"
|
|
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
|
-
|
|
129
|
-
|
|
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
|
+
"""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
``
|
|
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
|
|
18
|
-
If the problem is constrained, you must also provide a
|
|
19
|
-
This approach is more useful when you want to fine-tune the optimisation, as you can manually edit the
|
|
20
|
-
To generate the
|
|
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.
|
|
12
|
+
configuration.design_space
|
|
13
13
|
configuration.evaluators
|
|
14
14
|
|
|
15
|
-
Most of the configuration of LightWin is performed through a
|
|
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
|
|
{lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_1d.csv
RENAMED
|
@@ -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.","('
|
|
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')",❌
|
{lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_envelope_3d.csv
RENAMED
|
@@ -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.","('
|
|
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',)",❌
|
{lightwin-0.9.1 → lightwin-0.9.2}/docs/manual/configuration_entries/beam_calculator_tracewin.csv
RENAMED
|
@@ -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.","('
|
|
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).",,✅
|
|
@@ -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
|
|
6
|
-
|
|
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.
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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:`.
|
|
31
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
|
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
|
|
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.
|
|
8
|
-
installation.
|
|
9
|
-
installation.cython
|
|
7
|
+
installation.pypi
|
|
8
|
+
installation.building
|
|
10
9
|
installation.tracewin
|
|
10
|
+
installation.cython
|
|
11
11
|
installation.testing
|
|
12
12
|
installation.troubleshooting
|