xcoll 0.6.7__tar.gz → 0.6.8__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.6.7 → xcoll-0.6.8}/PKG-INFO +4 -7
- {xcoll-0.6.7 → xcoll-0.6.8}/pyproject.toml +4 -4
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/general.py +1 -1
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/lossmap.py +2 -1
- {xcoll-0.6.7 → xcoll-0.6.8}/LICENSE +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/NOTICE +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/README.md +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/absorber.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/base.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/blowup.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/black_absorber.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/black_crystal.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/blowup.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/emittance_monitor.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/everest_block.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/everest_collimator.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/everest_crystal.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/transparent_collimator.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/elements_src/transparent_crystal.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/everest.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/monitor.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/beam_elements/transparent.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/colldb.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/headers/checks.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/headers/particle_states.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/initial_distribution.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/interaction_record/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/interaction_record/interaction_record.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/interaction_record/interaction_record_src/interaction_record.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/interaction_record/interaction_types.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/line_tools.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/plot.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/prebuilt_kernel_definitions/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/prebuilt_kernel_definitions/element_inits.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/prebuilt_kernel_definitions/element_types.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/rf_sweep.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/engine.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/environment.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/amorphous.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/channelling.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/constants.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/crystal_parameters.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/everest.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/everest.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/ionisation_loss.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/jaw.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/materials.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/multiple_coulomb_scattering.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/nuclear_interaction.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/everest/properties.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/__init__.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/collimator_geometry.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/crystal_geometry.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/geometry.py +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/get_s.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/methods.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/objects.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/rotation.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/segments.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/scattering_routines/geometry/sort.h +0 -0
- {xcoll-0.6.7 → xcoll-0.6.8}/xcoll/xaux.py +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: xcoll
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.8
|
|
4
4
|
Summary: Xsuite collimation package
|
|
5
5
|
License: Apache-2.0
|
|
6
|
-
License-File: LICENSE
|
|
7
|
-
License-File: NOTICE
|
|
8
6
|
Author: Frederik F. Van der Veken
|
|
9
7
|
Author-email: frederik@cern.ch
|
|
10
8
|
Requires-Python: >=3.10
|
|
@@ -14,7 +12,6 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
18
15
|
Provides-Extra: tests
|
|
19
16
|
Requires-Dist: numpy (>=1.0)
|
|
20
17
|
Requires-Dist: pandas (>=1.4)
|
|
@@ -22,10 +19,10 @@ Requires-Dist: pytest ; extra == "tests"
|
|
|
22
19
|
Requires-Dist: pytest-html ; extra == "tests"
|
|
23
20
|
Requires-Dist: pytest-xdist ; extra == "tests"
|
|
24
21
|
Requires-Dist: ruamel-yaml (>=0.17.31,<0.18.15)
|
|
25
|
-
Requires-Dist: xdeps (>=0.10.
|
|
22
|
+
Requires-Dist: xdeps (>=0.10.7)
|
|
26
23
|
Requires-Dist: xobjects (>=0.5.3)
|
|
27
24
|
Requires-Dist: xpart (>=0.23.1)
|
|
28
|
-
Requires-Dist: xtrack (>=0.93.
|
|
25
|
+
Requires-Dist: xtrack (>=0.93.2)
|
|
29
26
|
Project-URL: Bug Tracker, https://github.com/xsuite/xsuite/issues
|
|
30
27
|
Project-URL: Documentation, https://xsuite.readthedocs.io/
|
|
31
28
|
Project-URL: Homepage, https://github.com/xsuite/xcoll
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xcoll"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.8"
|
|
4
4
|
description = "Xsuite collimation package"
|
|
5
5
|
authors = [
|
|
6
6
|
{name="Frederik F. Van der Veken", email="frederik@cern.ch"},
|
|
@@ -23,9 +23,9 @@ dependencies = [
|
|
|
23
23
|
"numpy>=1.0",
|
|
24
24
|
"pandas>=1.4",
|
|
25
25
|
"xobjects>=0.5.3",
|
|
26
|
-
"xdeps>=0.10.
|
|
26
|
+
"xdeps>=0.10.7",
|
|
27
27
|
"xpart>=0.23.1",
|
|
28
|
-
"xtrack>=0.93.
|
|
28
|
+
"xtrack>=0.93.2",
|
|
29
29
|
]
|
|
30
30
|
|
|
31
31
|
[project.optional-dependencies]
|
|
@@ -46,7 +46,7 @@ exclude = ["xcoll/lib", "xcoll/config"]
|
|
|
46
46
|
|
|
47
47
|
[poetry.group.dev.dependencies]
|
|
48
48
|
pytest = ">=7.3"
|
|
49
|
-
xaux = ">=0.3.
|
|
49
|
+
xaux = ">=0.3.8"
|
|
50
50
|
|
|
51
51
|
[build-system]
|
|
52
52
|
# Needed for pip install -e (BTW: need pip version 22)
|
|
@@ -254,7 +254,8 @@ class LossMap:
|
|
|
254
254
|
prev_elem = len(line.element_names) - 1
|
|
255
255
|
else:
|
|
256
256
|
prev_elem = elem - 1
|
|
257
|
-
if line.element_names[prev_elem] in coll_elements
|
|
257
|
+
if line.element_names[prev_elem] in coll_elements \
|
|
258
|
+
and line[prev_elem].active:
|
|
258
259
|
if verbose:
|
|
259
260
|
print(f"Found at {line.element_names[elem]}, "
|
|
260
261
|
+ f"moved to {line.element_names[elem-1]}")
|
|
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.6.7 → xcoll-0.6.8}/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
|