xcoll 0.5.4__tar.gz → 0.5.5__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.
Potentially problematic release.
This version of xcoll might be problematic. Click here for more details.
- {xcoll-0.5.4 → xcoll-0.5.5}/PKG-INFO +1 -1
- {xcoll-0.5.4 → xcoll-0.5.5}/pyproject.toml +1 -1
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/general.py +1 -1
- xcoll-0.5.5/xcoll/line_tools.py +134 -0
- xcoll-0.5.4/xcoll/line_tools.py +0 -87
- {xcoll-0.5.4 → xcoll-0.5.5}/LICENSE +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/NOTICE +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/README.md +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/_manager.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/absorber.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/base.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/blowup.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/black_absorber.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/black_crystal.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/blowup.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/emittance_monitor.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/everest_block.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/everest_collimator.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/elements_src/everest_crystal.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/everest.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/beam_elements/monitor.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/colldb.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/headers/checks.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/headers/particle_states.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/initial_distribution.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/install.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/interaction_record/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/interaction_record/interaction_record.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/interaction_record/interaction_record_src/interaction_record.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/interaction_record/interaction_types.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/lossmap.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/rf_sweep.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/amorphous.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/channeling.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/constants.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/crystal_parameters.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/everest.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/everest.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/jaw.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/materials.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/multiple_coulomb_scattering.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/nuclear_interaction.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/everest/properties.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/.git +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/.gitignore +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/ComponentMakefile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/Makefile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/README +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/Doxyfile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO.asciidoc +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO.epub +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO.html +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO.pdf +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__1.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__2.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__3.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__4.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__5.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__6.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/FlukaIO__7.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/Makefile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/doc/docbook.xsl +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/Connection.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/FlukaIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/FlukaIOServer.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/FortranFlukaIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/Message.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/ParticleInfo.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/lib/libFlukaIO64.a +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/lib/libFlukaIO64.so +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/samples/ClientTest.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/samples/ServerTest.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/samples/fclient.f +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/samples/fserver.f +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/Connection.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/Connection.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/Connection.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIO.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIO.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIO.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOHandshake.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOHandshake.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOHandshake.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOHandshake.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOServer.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOServer.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOServer.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOServer_private.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIO_private.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FortranFlukaIO.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FortranFlukaIO.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FortranFlukaIO.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/NetIO.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/NetIO.d +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/NetIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/NetIO.o +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/tags +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/AllTests.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/CommonTest.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/ConnectionTest.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/FlukaIOServerTest.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/FlukaIOTest.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/FortranFlukaIOTest.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeConnection.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeConnection.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIO.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOHandshake.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOHandshake.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOServer.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOServer.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFortranFlukaIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeNetIO.c +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeNetIO.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/.git +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/.gitignore +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/.gitmodules +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/README.md +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/Makefile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/make.bat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/source/collimasim.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/source/conf.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/source/index.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.appveyor.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.clang-format +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.clang-tidy +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.cmake-format.yaml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.git +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/CODEOWNERS +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/CONTRIBUTING.md +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/dependabot.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/labeler.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/labeler_merged.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/pull_request_template.md +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/workflows/ci.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/workflows/configure.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/workflows/format.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/workflows/labeler.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.github/workflows/pip.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.gitignore +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.pre-commit-config.yaml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.readthedocs.yml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/LICENSE +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/MANIFEST.in +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/README.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/Doxyfile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/Makefile +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/_static/theme_overrides.css +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/chrono.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/custom.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/eigen.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/functional.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/index.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/overview.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/stl.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/cast/strings.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/classes.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/embedding.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/exceptions.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/functions.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/misc.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/pycpp/index.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/pycpp/numpy.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/pycpp/object.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/pycpp/utilities.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/advanced/smart_ptrs.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/basics.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/benchmark.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/benchmark.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/changelog.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/classes.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/cmake/index.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/compiling.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/conf.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/faq.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/index.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/installing.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/limitations.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/pybind11-logo.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/pybind11_vs_boost_python1.svg +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/pybind11_vs_boost_python2.svg +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/reference.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/release.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/requirements.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/docs/upgrade.rst +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/attr.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/buffer_info.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/cast.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/chrono.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/common.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/complex.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/class.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/common.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/descr.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/init.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/internals.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/type_caster_base.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/detail/typeid.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/eigen.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/embed.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/eval.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/functional.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/gil.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/iostream.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/numpy.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/operators.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/options.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/pybind11.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/pytypes.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/stl/filesystem.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/stl.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/include/pybind11/stl_bind.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/noxfile.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/__main__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/_version.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/_version.pyi +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/commands.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/py.typed +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/setup_helpers.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pybind11/setup_helpers.pyi +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/pyproject.toml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/setup.cfg +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/setup.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/conftest.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/constructor_stats.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/cross_module_gil_utils.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/env.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/extra_python_package/pytest.ini +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/extra_python_package/test_files.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/extra_setuptools/pytest.ini +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/extra_setuptools/test_setuphelper.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/local_bindings.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/object.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/pybind11_cross_module_tests.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/pybind11_tests.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/pybind11_tests.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/pytest.ini +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/requirements.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_async.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_async.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_buffers.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_buffers.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_builtin_casters.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_builtin_casters.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_call_policies.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_call_policies.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_callbacks.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_callbacks.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_chrono.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_chrono.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_class.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_class.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/embed.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/main.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_cmake_build/test.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_constants_and_functions.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_constants_and_functions.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_copy_move.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_copy_move.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_custom_type_casters.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_custom_type_casters.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_custom_type_setup.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_custom_type_setup.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_docstring_options.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_docstring_options.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_eigen.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_eigen.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_embed/CMakeLists.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_embed/catch.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_embed/external_module.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_embed/test_interpreter.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_embed/test_interpreter.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_enum.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_enum.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_eval.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_eval.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_eval_call.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_exceptions.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_exceptions.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_exceptions.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_factory_constructors.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_factory_constructors.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_gil_scoped.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_gil_scoped.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_iostream.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_iostream.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_kwargs_and_defaults.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_kwargs_and_defaults.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_local_bindings.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_local_bindings.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_methods_and_attributes.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_methods_and_attributes.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_modules.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_modules.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_multiple_inheritance.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_multiple_inheritance.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_array.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_array.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_dtypes.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_dtypes.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_vectorize.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_numpy_vectorize.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_opaque_types.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_opaque_types.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_operator_overloading.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_operator_overloading.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_pickling.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_pickling.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_pytypes.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_pytypes.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_sequences_and_iterators.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_sequences_and_iterators.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_smart_ptr.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_smart_ptr.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_stl.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_stl.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_stl_binders.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_stl_binders.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_tagbased_polymorphic.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_tagbased_polymorphic.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_thread.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_thread.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_union.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_union.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_virtual_functions.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/test_virtual_functions.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/valgrind-numpy-scipy.supp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tests/valgrind-python.supp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/FindCatch.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/FindEigen3.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/FindPythonLibsNew.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/check-style.sh +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/cmake_uninstall.cmake.in +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/libsize.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/make_changelog.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/pybind11Common.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/pybind11Config.cmake.in +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/pybind11NewTools.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/pybind11Tools.cmake +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/pyproject.toml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/setup_global.py.in +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/tools/setup_main.py.in +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/pyproject.toml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/setup.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/BDSPyATInterface.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/BDSPyATInterface.hh +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/BDSXtrackInterface.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/BDSXtrackInterface.hh +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/bindings.cpp +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/pyCollimatorPass.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim/xtrack_collimator.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim.egg-info/PKG-INFO +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim.egg-info/SOURCES.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim.egg-info/dependency_links.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim.egg-info/not-zip-safe +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/src/collimasim.egg-info/top_level.txt +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/README.md +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/CollDB_forions.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/CollDB_new_example.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/CollDB_old_example.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/CollDB_testing.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/CollDB_yaml_example.yaml +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/collgaps.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/collgaps_pyat_test.dat +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/collonly_twiss_file_example.tfs +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/settings.gmad +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/settings_black_absorber.gmad +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/settings_ions.gmad +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/resources/twiss_file_testing.tfs +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_pyat.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_pyat_passmethod.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_pyat_tracking.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_angle.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_colldb_load.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_interaction.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_interaction_ion.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_ions.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_lost_energy.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_tilt.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_tracking.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/tests/test_xtrack_tracking_ions.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/__init__.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/collimator_geometry.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/crystal_geometry.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/geometry.py +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/get_s.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/methods.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/objects.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/rotation.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/segments.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/sort.h +0 -0
- {xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geometry/temp.c +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# copyright ############################### #
|
|
2
|
+
# This file is part of the Xcoll package. #
|
|
3
|
+
# Copyright (c) CERN, 2024. #
|
|
4
|
+
# ######################################### #
|
|
5
|
+
|
|
6
|
+
import numpy as np
|
|
7
|
+
import warnings
|
|
8
|
+
warnings.simplefilter("always")
|
|
9
|
+
|
|
10
|
+
import xtrack as xt
|
|
11
|
+
|
|
12
|
+
from .beam_elements import element_classes, _all_collimator_classes
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class XcollCollimatorAPI:
|
|
16
|
+
def __init__(self, line):
|
|
17
|
+
self._line = line
|
|
18
|
+
|
|
19
|
+
@property
|
|
20
|
+
def line(self):
|
|
21
|
+
return self._line
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def get_optics_at(self, names, *, twiss=None):
|
|
25
|
+
if twiss is None:
|
|
26
|
+
if not self.line._has_valid_tracker():
|
|
27
|
+
raise Exception("Please build the tracker before computing the optics for the openings!")
|
|
28
|
+
twiss = self.line.twiss()
|
|
29
|
+
if not hasattr(names, '__iter__') and not isinstance(names, str):
|
|
30
|
+
names = [names]
|
|
31
|
+
coll_entry_indices = twiss.rows.indices[names]
|
|
32
|
+
tw_entry = twiss.rows[coll_entry_indices]
|
|
33
|
+
tw_exit = twiss.rows[coll_entry_indices+1]
|
|
34
|
+
tw_exit.name = tw_entry.name
|
|
35
|
+
return tw_entry, tw_exit
|
|
36
|
+
|
|
37
|
+
def assign_optics(self, nemitt_x=None, nemitt_y=None, twiss=None):
|
|
38
|
+
if not self.line._has_valid_tracker():
|
|
39
|
+
raise Exception("Please build tracker before setting the openings!")
|
|
40
|
+
names = self.line.get_elements_of_type(_all_collimator_classes)[1]
|
|
41
|
+
tw_upstream, tw_downstream = self.get_optics_at(names, twiss=twiss)
|
|
42
|
+
beta_gamma_rel = self.line.particle_ref._xobject.gamma0[0]*self.line.particle_ref._xobject.beta0[0]
|
|
43
|
+
for coll in names:
|
|
44
|
+
self.line[coll].assign_optics(name=coll, nemitt_x=nemitt_x, nemitt_y=nemitt_x, twiss_upstream=tw_upstream,
|
|
45
|
+
twiss_downstream=tw_downstream, beta_gamma_rel=beta_gamma_rel)
|
|
46
|
+
|
|
47
|
+
def open(self, names=None):
|
|
48
|
+
if names is None:
|
|
49
|
+
names = self.line.get_elements_of_type(_all_collimator_classes)[1]
|
|
50
|
+
if len(names) == 0:
|
|
51
|
+
print("No collimators found in line.")
|
|
52
|
+
else:
|
|
53
|
+
for coll in names:
|
|
54
|
+
self.line[coll].open_jaws(keep_tilts=False)
|
|
55
|
+
self.line[coll].gap = None
|
|
56
|
+
|
|
57
|
+
def to_parking(self, names=None):
|
|
58
|
+
if names is None:
|
|
59
|
+
names = self.line.get_elements_of_type(_all_collimator_classes)[1]
|
|
60
|
+
if len(names) == 0:
|
|
61
|
+
print("No collimators found in line.")
|
|
62
|
+
else:
|
|
63
|
+
raise NotImplementedError("Need to move this to new type manager or so.")
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class XcollScatteringAPI:
|
|
67
|
+
def __init__(self, line):
|
|
68
|
+
self._line = line
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def line(self):
|
|
72
|
+
return self._line
|
|
73
|
+
|
|
74
|
+
def enable(self):
|
|
75
|
+
elements = self.line.get_elements_of_type(element_classes)[0]
|
|
76
|
+
if len(elements) == 0:
|
|
77
|
+
print("No xcoll elements found in line.")
|
|
78
|
+
else:
|
|
79
|
+
nemitt_x = None
|
|
80
|
+
nemitt_y = None
|
|
81
|
+
for el in elements:
|
|
82
|
+
if hasattr(el, 'optics') and el.optics is not None:
|
|
83
|
+
if nemitt_x is None:
|
|
84
|
+
nemitt_x = el.nemitt_x
|
|
85
|
+
if nemitt_y is None:
|
|
86
|
+
nemitt_y = el.nemitt_y
|
|
87
|
+
if not np.isclose(el.nemitt_x, nemitt_x) \
|
|
88
|
+
or not np.isclose(el.nemitt_x, nemitt_x):
|
|
89
|
+
raise ValueError("Not all collimators have the same "
|
|
90
|
+
+ "emittance. This is not supported.")
|
|
91
|
+
if hasattr(el, 'enable_scattering'):
|
|
92
|
+
el.enable_scattering()
|
|
93
|
+
|
|
94
|
+
def disable(self):
|
|
95
|
+
elements = self.line.get_elements_of_type(element_classes)[0]
|
|
96
|
+
if len(elements) == 0:
|
|
97
|
+
print("No xcoll elements found in line.")
|
|
98
|
+
else:
|
|
99
|
+
for el in elements:
|
|
100
|
+
if hasattr(el, 'disable_scattering'):
|
|
101
|
+
el.disable_scattering()
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def assign_optics_to_collimators(line, nemitt_x=None, nemitt_y=None, twiss=None):
|
|
107
|
+
warnings.warn("The function xcoll.assign_optics_to_collimators() is deprecated and will be "
|
|
108
|
+
+ "removed in the future. Please use line.scattering.assign_optics() instead.", DeprecationWarning)
|
|
109
|
+
line.collimators.assign_optics(nemitt_x=nemitt_x, nemitt_y=nemitt_y, twiss=twiss)
|
|
110
|
+
|
|
111
|
+
def get_optics_at(names, *, twiss=None, line=None):
|
|
112
|
+
warnings.warn("The function xcoll.get_optics_at() is deprecated and will be "
|
|
113
|
+
+ "removed in the future. Please use line.scattering.get_optics_at() instead.", DeprecationWarning)
|
|
114
|
+
return line.collimators.get_optics_at(names=names, twiss=twiss)
|
|
115
|
+
|
|
116
|
+
def open_collimators(line, names=None):
|
|
117
|
+
warnings.warn("The function xcoll.open_collimators() is deprecated and will be "
|
|
118
|
+
+ "removed in the future. Please use line.scattering.open_collimators() instead.", DeprecationWarning)
|
|
119
|
+
line.collimators.open(names=names)
|
|
120
|
+
|
|
121
|
+
def send_to_parking(line, names=None):
|
|
122
|
+
warnings.warn("The function xcoll.send_to_parking() is deprecated and will be "
|
|
123
|
+
+ "removed in the future. Please use line.scattering.send_to_parking() instead.", DeprecationWarning)
|
|
124
|
+
line.collimators.to_parking(names=names)
|
|
125
|
+
|
|
126
|
+
def enable_scattering(line):
|
|
127
|
+
warnings.warn("The function xcoll.enable_scattering() is deprecated and will be "
|
|
128
|
+
+ "removed in the future. Please use line.scattering.enable() instead.", DeprecationWarning)
|
|
129
|
+
line.scattering.enable()
|
|
130
|
+
|
|
131
|
+
def disable_scattering(line):
|
|
132
|
+
warnings.warn("The function xcoll.disable_scattering() is deprecated and will be "
|
|
133
|
+
+ "removed in the future. Please use line.scattering.disable() instead.", DeprecationWarning)
|
|
134
|
+
line.scattering.disable()
|
xcoll-0.5.4/xcoll/line_tools.py
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# copyright ############################### #
|
|
2
|
-
# This file is part of the Xcoll package. #
|
|
3
|
-
# Copyright (c) CERN, 2024. #
|
|
4
|
-
# ######################################### #
|
|
5
|
-
|
|
6
|
-
import numpy as np
|
|
7
|
-
import xtrack as xt
|
|
8
|
-
|
|
9
|
-
from .beam_elements import element_classes, _all_collimator_classes
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class XcollLineAPI:
|
|
13
|
-
def __init__(self, line):
|
|
14
|
-
self._line = line
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def assign_optics_to_collimators(line, nemitt_x=None, nemitt_y=None, twiss=None):
|
|
18
|
-
if not line._has_valid_tracker():
|
|
19
|
-
raise Exception("Please build tracker before setting the openings!")
|
|
20
|
-
names = line.get_elements_of_type(_all_collimator_classes)[1]
|
|
21
|
-
tw_upstream, tw_downstream = get_optics_at(names, twiss=twiss, line=line)
|
|
22
|
-
beta_gamma_rel = line.particle_ref._xobject.gamma0[0]*line.particle_ref._xobject.beta0[0]
|
|
23
|
-
for coll in names:
|
|
24
|
-
line[coll].assign_optics(name=coll, nemitt_x=nemitt_x, nemitt_y=nemitt_x, twiss_upstream=tw_upstream,
|
|
25
|
-
twiss_downstream=tw_downstream, beta_gamma_rel=beta_gamma_rel)
|
|
26
|
-
|
|
27
|
-
def get_optics_at(names, *, twiss=None, line=None):
|
|
28
|
-
if twiss is None:
|
|
29
|
-
if not line._has_valid_tracker():
|
|
30
|
-
raise Exception("Please pass a line and build tracker before computing the optics for the openings!")
|
|
31
|
-
twiss = line.twiss()
|
|
32
|
-
if not hasattr(names, '__iter__') and not isinstance(names, str):
|
|
33
|
-
names = [names]
|
|
34
|
-
coll_entry_indices = twiss.rows.indices[names]
|
|
35
|
-
tw_entry = twiss.rows[coll_entry_indices]
|
|
36
|
-
tw_exit = twiss.rows[coll_entry_indices+1]
|
|
37
|
-
tw_exit.name = tw_entry.name
|
|
38
|
-
return tw_entry, tw_exit
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def open_collimators(line, names=None):
|
|
42
|
-
if names is None:
|
|
43
|
-
names = line.get_elements_of_type(_all_collimator_classes)[1]
|
|
44
|
-
if len(names) == 0:
|
|
45
|
-
print("No collimators found in line.")
|
|
46
|
-
else:
|
|
47
|
-
for coll in names:
|
|
48
|
-
line[coll].open_jaws(keep_tilts=False)
|
|
49
|
-
line[coll].gap = None
|
|
50
|
-
|
|
51
|
-
def send_to_parking(line, names=None):
|
|
52
|
-
if names is None:
|
|
53
|
-
names = line.get_elements_of_type(_all_collimator_classes)[1]
|
|
54
|
-
if len(names) == 0:
|
|
55
|
-
print("No collimators found in line.")
|
|
56
|
-
else:
|
|
57
|
-
raise NotImplementedError("Need to move this to new type manager or so.")
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
def enable_scattering(line):
|
|
61
|
-
elements = line.get_elements_of_type(element_classes)[0]
|
|
62
|
-
if len(elements) == 0:
|
|
63
|
-
print("No xcoll elements found in line.")
|
|
64
|
-
else:
|
|
65
|
-
nemitt_x = None
|
|
66
|
-
nemitt_y = None
|
|
67
|
-
for el in elements:
|
|
68
|
-
if hasattr(el, 'optics') and el.optics is not None:
|
|
69
|
-
if nemitt_x is None:
|
|
70
|
-
nemitt_x = el.nemitt_x
|
|
71
|
-
if nemitt_y is None:
|
|
72
|
-
nemitt_y = el.nemitt_y
|
|
73
|
-
if not np.isclose(el.nemitt_x, nemitt_x) \
|
|
74
|
-
or not np.isclose(el.nemitt_x, nemitt_x):
|
|
75
|
-
raise ValueError("Not all collimators have the same "
|
|
76
|
-
+ "emittance. This is not supported.")
|
|
77
|
-
if hasattr(el, 'enable_scattering'):
|
|
78
|
-
el.enable_scattering()
|
|
79
|
-
|
|
80
|
-
def disable_scattering(line):
|
|
81
|
-
elements = line.get_elements_of_type(element_classes)[0]
|
|
82
|
-
if len(elements) == 0:
|
|
83
|
-
print("No xcoll elements found in line.")
|
|
84
|
-
else:
|
|
85
|
-
for el in elements:
|
|
86
|
-
if hasattr(el, 'disable_scattering'):
|
|
87
|
-
el.disable_scattering()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/interaction_record/interaction_record_src/interaction_record.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/include/FortranFlukaIO.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/src/FlukaIOServer_private.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/ConnectionTest.cpp
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/FlukaIOServerTest.cpp
RENAMED
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/FortranFlukaIOTest.cpp
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeConnection.c
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeConnection.h
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIO.c
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIO.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOServer.c
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFlukaIOServer.h
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/fluka/flukaio/tests/fakes/FakeFortranFlukaIO.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/source/collimasim.rst
RENAMED
|
File without changes
|
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/docs/source/index.rst
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.appveyor.yml
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.clang-format
RENAMED
|
File without changes
|
{xcoll-0.5.4 → xcoll-0.5.5}/xcoll/scattering_routines/geant4/collimasim/lib/pybind11/.clang-tidy
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|