xfields 0.27.0__tar.gz → 0.27.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.
- {xfields-0.27.0/xfields.egg-info → xfields-0.27.2}/PKG-INFO +1 -1
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_cerrf.py +3 -3
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_touschek.py +2 -2
- xfields-0.27.2/xfields/_version.py +1 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/beambeam_config_tools/config_tools.py +2 -1
- {xfields-0.27.0 → xfields-0.27.2/xfields.egg-info}/PKG-INFO +1 -1
- xfields-0.27.0/xfields/_version.py +0 -1
- {xfields-0.27.0 → xfields-0.27.2}/LICENSE +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/MANIFEST.in +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/NOTICE +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/README.md +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/pyproject.toml +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/setup.cfg +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/setup.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/temp_changes.md +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_alpha_pi_setter.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeam2d.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeam3d_part1.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeam3d_part2.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeam_pic.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeamstrongstrong2d.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeamstrongstrong2d_pi.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeamstrongstrong3d.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beambeamstrongstrong3d_pi.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beamstrahlung.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_beamstrahlung_pic.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_bhabha.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_collective_monitor.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_compressed_profile_interp_result.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_constant_charge_slicing.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_electroncloud.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_electronlens_interpolated.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_element_with_slicer_filling_scheme.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_fieldmaps.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_ibs_equilibrium.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_ibs_growth_rates.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_ibs_kicks.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_iptocp_strongstrong.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_line_tools.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_lumi.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_lumi_pic.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_mean_std.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_profiles.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_slicer.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_spacecharge.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_temp_slicer.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_touschek_elegant_reference.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/tests/test_transverse_damper.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam2d.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam3d.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam3dpic.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam2d.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d_methods_for_strongstrong.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d_ref_frame_changes.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d_transport_sigmas.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeampic_methods.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/collective_monitor.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/electroncloud.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/electroncloud_src/electroncloud.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/electronlens_interpolated.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/electronlens_src/electronlens_interpolated.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/element_with_slicer.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/spacecharge.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/spacecharge_src/spacecharge3d.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/spacecharge_src/spacechargebigaussian.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/temp_slicer.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/touschek.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/touschek_src/touschek.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/transverse_damper.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/waketracker/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/waketracker/convolution.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/waketracker/waketracker.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/beambeam_config_tools/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/beambeam_config_tools/_madpoint.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/beambeam_config_tools/orbit_dependent_configuration_tools.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/electroncloud_config_tools.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/spacecharge_config_tools.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/bigaussian.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/bigaussian_fieldmap.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/compute_gx_gy.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/faddeeva.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/faddeeva_cernlib.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/bigaussian_src/faddeeva_mit.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/central_diff.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/charge_deposition.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/cubic_interpolators.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/linear_interpolators.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/tricubic_coefficients.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/tricubicinterpolated.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/beamstrahlung_spectrum.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/beamstrahlung_spectrum_pic.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/bhabha_spectrum.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/compute_slice_moments.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/constants.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/elegant_rng.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/particle_states.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/power_n.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/headers/sincos.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/_analytical.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/_api.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/_equilibrium.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/_formulary.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/ibs/_kicks.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/line_tools.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/longitudinal_profiles/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/longitudinal_profiles/coasting.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/longitudinal_profiles/qgaussian.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/longitudinal_profiles/qgaussian_src/qgaussian.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/prebuilt_kernel_definitions/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/prebuilt_kernel_definitions/element_types.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/slicers/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/slicers/compressed_profile.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/slicers/slicers_src/compressed_profile.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/slicers/slicers_src/uniform_bin_slicer.h +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/slicers/uniform.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/solvers/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/solvers/base.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/solvers/fftsolvers.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/test_support/__init__.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/test_support/temp_makepart.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields/touschek/study.py +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields.egg-info/SOURCES.txt +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields.egg-info/dependency_links.txt +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields.egg-info/entry_points.txt +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields.egg-info/requires.txt +0 -0
- {xfields-0.27.0 → xfields-0.27.2}/xfields.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ from scipy.special import wofz as wofz_scipy
|
|
|
8
8
|
import pytest
|
|
9
9
|
import xobjects as xo
|
|
10
10
|
from xobjects.context import available
|
|
11
|
-
from xobjects.test_helpers import for_all_test_contexts,
|
|
11
|
+
from xobjects.test_helpers import for_all_test_contexts, allow_kernel_compilation
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@pytest.fixture
|
|
@@ -78,7 +78,7 @@ def faddeeva_calculator():
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
@for_all_test_contexts
|
|
81
|
-
@
|
|
81
|
+
@allow_kernel_compilation(skip_when_forbid_compile=True)
|
|
82
82
|
def test_faddeeva_w_q1(faddeeva_calculator, test_context):
|
|
83
83
|
|
|
84
84
|
FaddeevaCalculator = faddeeva_calculator
|
|
@@ -123,7 +123,7 @@ def test_faddeeva_w_q1(faddeeva_calculator, test_context):
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
@for_all_test_contexts
|
|
126
|
-
@
|
|
126
|
+
@allow_kernel_compilation(skip_when_forbid_compile=True)
|
|
127
127
|
def test_faddeeva_w_all_quadrants(faddeeva_calculator, test_context):
|
|
128
128
|
|
|
129
129
|
FaddeevaCalculator = faddeeva_calculator
|
|
@@ -7,7 +7,7 @@ import pytest
|
|
|
7
7
|
|
|
8
8
|
import xobjects as xo
|
|
9
9
|
from xobjects.test_helpers import (
|
|
10
|
-
|
|
10
|
+
allow_kernel_compilation, for_all_test_contexts)
|
|
11
11
|
import xtrack as xt
|
|
12
12
|
import xfields as xf
|
|
13
13
|
|
|
@@ -586,7 +586,7 @@ class TestEndToEndLifetime:
|
|
|
586
586
|
"""
|
|
587
587
|
|
|
588
588
|
@for_all_test_contexts(excluding=('ContextCupy', 'ContextPyopencl'))
|
|
589
|
-
@
|
|
589
|
+
@allow_kernel_compilation
|
|
590
590
|
def test_lifetime_positive_finite(self, toy_ring, test_context):
|
|
591
591
|
line = toy_ring['line']
|
|
592
592
|
tw = toy_ring['twiss']
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.27.2"
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/config_tools/beambeam_config_tools/config_tools.py
RENAMED
|
@@ -94,7 +94,8 @@ def configure_beam_beam_elements(bb_df_cw, bb_df_acw, line_cw, line_acw,
|
|
|
94
94
|
assert sv_ip['Y', ip_name] == 0
|
|
95
95
|
assert sv_ip['Z', ip_name] == 0
|
|
96
96
|
|
|
97
|
-
sigmas = twiss.
|
|
97
|
+
sigmas = twiss.get_beam_covariance(
|
|
98
|
+
nemitt_x=nemitt_x, nemitt_y=nemitt_y)
|
|
98
99
|
|
|
99
100
|
bb_df['self_num_particles'] = num_particles * bb_df['self_frac_of_bunch']
|
|
100
101
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.27.0"
|
|
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
|
|
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
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d_ref_frame_changes.h
RENAMED
|
File without changes
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/beambeam_src/beambeam3d_transport_sigmas.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/electronlens_src/electronlens_interpolated.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/beam_elements/spacecharge_src/spacechargebigaussian.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
|
{xfields-0.27.0 → xfields-0.27.2}/xfields/fieldmaps/interpolated_src/tricubic_coefficients.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
|
|
File without changes
|