xtrack 0.57.0__tar.gz → 0.57.1__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.
- {xtrack-0.57.0 → xtrack-0.57.1}/PKG-INFO +1 -1
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_fcc_ee_solenoid_correction.py +7 -12
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_radiation.py +1 -0
- xtrack-0.57.1/xtrack/_version.py +1 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/particles_monitor.py +1 -1
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/particles/particles.py +40 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/prebuilt_kernels/kernel_definitions.py +1 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/twiss.py +16 -9
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack.egg-info/PKG-INFO +1 -1
- xtrack-0.57.0/xtrack/_version.py +0 -1
- {xtrack-0.57.0 → xtrack-0.57.1}/LICENSE +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/MANIFEST.in +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/README.md +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/base_classes.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/BB6D.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/BB6Ddata.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/beambeam.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/boost.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/gaussian_fields.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/propagate_sigma_matrix.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/qgauss.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/slicing.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/be_beamfields/spacecharge.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/elements.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/line.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/mathlibs.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/particles.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/ducktrack/temp_pyparticles.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/pyproject.toml +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/setup.cfg +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/setup.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_acceleration.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_amplitude_detuning.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_aperture_turn_ele_and_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_apertures.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_attr_replicas_and_slices.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_cavity_absolute_time.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_chromatic_functions_vs_madx.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_coasting.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_collective_tracker.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_collimation.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_element_characterization_functions.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_element_internal_record.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_elements.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_elements_classflags.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_elements_thick.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_footprint.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_freeze_longitudinal.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_full_rings.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_ions.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_lhc_match_phase_15.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_line.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_lumi.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_mad_writer.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_madloader.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_and_track_from_element.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_coupling_knob.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_nested.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_optics_and_ip_knob.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_orbit_bump.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_match_tune_chroma_cminus.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_multiline.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_multisetter.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_multispecies.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_orbit_correction.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_particles_api.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_pipeline.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_prebuild_kernels.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_ps_against_ptc.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_ps_multiturn_twiss.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_psb_chicane.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_pyht_interface.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_radial_steering.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_radiation_equilibrium_emittances.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_random_gen.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_random_gen_exp.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_random_gen_gauss.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_random_gen_ruth.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_rf_track.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_second_order_taylor_map.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_slice_and_insert_with_replicas.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_slice_elements.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_slicing.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_solenoid_bz_map_vs_boris.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_spacecharge_in_ring.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_sps_thick.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_survey.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_tapering.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_thick_lhc.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_tilt_shifts.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_tracker.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_twiss.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_twiss_vs_madx_psb.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_var_cache.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/tests/test_vs_madx.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/boris_and_solenoid_map/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/boris_and_solenoid_map/boris.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/boris_and_solenoid_map/solenoid_field.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/lhc_match/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/lhc_match/gen_madx_optics_file.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/lhc_match/lhc_match.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/_temp/lhc_match/var_limits.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/base_element.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/limitellipse.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/limitpolygon.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/limitracetrack.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/limitrect.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/limitrectellipse.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/apertures_src/longitudinallimitrect.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/beam_interaction.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/cavity.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/dipoleedge.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_elem.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_slice.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_slice_bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_slice_octupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_slice_quadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/drift_slice_sextupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/elens.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/exciter.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/firstordertaylormap.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/fringe.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/fringe_track.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/linesegmentmap.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/multipole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/nonlinearlens.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/octupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/quadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/referenceenergyincrease.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/rfmultipole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/second_order_taylor_map.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/sextupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/simplethinbend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/simplethinquadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/solenoid.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/srotation.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_drift.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_octupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_quadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_sextupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thick_slice_solenoid.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_bend_entry.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_bend_exit.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_octupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_quadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/thin_slice_sextupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_dipole_edge_linear.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_dipole_edge_nonlinear.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_multipole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_quadrupole.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_solenoid.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_srotation.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_thick_bend.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_thick_cfd.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_yrotation.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/wedge.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/wedge_track.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/wire.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/xrotation.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/xyshift.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/yrotation.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/zetashift.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/exciter.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/rft_element.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/slice_elements.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/slice_elements_thick.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/footprint.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/general.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/headers/atomicadd.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/headers/checks.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/headers/constants.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/headers/particle_states.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/headers/synrad_spectrum.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/internal_record.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/line.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/linear_normal_form.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/loss_location_refinement/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/loss_location_refinement/loss_location_refinement.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/lumi.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/mad_loader.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/mad_writer.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/match.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_position_monitor.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_position_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_profile_monitor.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_profile_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_size_monitor.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/beam_size_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/last_turns_monitor.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/last_turns_monitor.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/monitors/particles_monitor.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/multiline/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/multiline/multiline.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/multiline/shared_knobs.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/multisetter/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/multisetter/multisetter.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/particles/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/particles/constants.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/particles/rng_src/base_rng.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/particles/rng_src/particles_rng.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/pipeline/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/pipeline/core.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/pipeline/manager.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/pipeline/multitracker.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/prebuild_kernels.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/prebuilt_kernels/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/progress_indicator.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/__init__.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_generators.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_src/exponential.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_src/exponential_integral_Ei.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_src/normal.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_src/rutherford.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/random/random_src/uniform.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/slicing.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/survey.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/synctime.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/tapering.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/targets.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/tracker.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/tracker_data.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/tracker_src/tracker.h +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack/twissplot.py +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack.egg-info/SOURCES.txt +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack.egg-info/dependency_links.txt +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack.egg-info/requires.txt +0 -0
- {xtrack-0.57.0 → xtrack-0.57.1}/xtrack.egg-info/top_level.txt +0 -0
@@ -351,7 +351,7 @@ def test_fcc_ee_solenoid_correction():
|
|
351
351
|
assert_allclose = np.testing.assert_allclose
|
352
352
|
|
353
353
|
# Check that tilt is present
|
354
|
-
assert_allclose(tw_sol_off['
|
354
|
+
assert_allclose(tw_sol_off['kin_xprime', 'ip.1'], np.tan(0.015), atol=1e-14, rtol=0)
|
355
355
|
|
356
356
|
# Check that solenoid introduces coupling
|
357
357
|
assert tw_sol_on.c_minus > 1e-4
|
@@ -361,21 +361,16 @@ def test_fcc_ee_solenoid_correction():
|
|
361
361
|
|
362
362
|
assert_allclose(tw_chk['x', 'ip.1'], 0, atol=1e-8, rtol=0)
|
363
363
|
assert_allclose(tw_chk['y', 'ip.1'], 0, atol=1e-10, rtol=0)
|
364
|
-
assert_allclose(tw_chk['
|
365
|
-
assert_allclose(tw_chk['
|
364
|
+
assert_allclose(tw_chk['kin_xprime', 'ip.1'], tw_sol_off['kin_xprime', 'ip.1'], atol=1e-9, rtol=0)
|
365
|
+
assert_allclose(tw_chk['kin_yprime', 'ip.1'], 0, atol=1e-8, rtol=0)
|
366
366
|
assert_allclose(tw_chk['x', 'pqc2re.1'], 0, atol=5e-8, rtol=0)
|
367
367
|
assert_allclose(tw_chk['y', 'pqc2re.1'], 0, atol=5e-8, rtol=0)
|
368
|
-
assert_allclose(tw_chk['
|
369
|
-
assert_allclose(tw_chk['
|
368
|
+
assert_allclose(tw_chk['kin_xprime', 'pqc2re.1'], 0, atol=1e-8, rtol=0)
|
369
|
+
assert_allclose(tw_chk['kin_yprime', 'pqc2re.1'], 0, atol=1e-8, rtol=0)
|
370
370
|
assert_allclose(tw_chk['x', 'pqc2le.4'], 0, atol=5e-8, rtol=0)
|
371
371
|
assert_allclose(tw_chk['y', 'pqc2le.4'], 0, atol=5e-8, rtol=0)
|
372
|
-
assert_allclose(tw_chk['
|
373
|
-
assert_allclose(tw_chk['
|
374
|
-
|
375
|
-
assert tw_chk['ax', 'pqc2le.4'] == 0
|
376
|
-
assert tw_chk['ay', 'pqc2le.4'] == 0
|
377
|
-
assert tw_chk['ax', 'pqc2re.1'] == 0
|
378
|
-
assert tw_chk['ay', 'pqc2re.1'] == 0
|
372
|
+
assert_allclose(tw_chk['kin_xprime', 'pqc2le.4'], 0, atol=1e-8, rtol=0)
|
373
|
+
assert_allclose(tw_chk['kin_yprime', 'pqc2le.4'], 0, atol=1e-8, rtol=0)
|
379
374
|
|
380
375
|
assert_allclose(tw_chk['betx', 'ip.1'], tw_sol_off['betx', 'ip.1'], atol=0, rtol=5e-5)
|
381
376
|
assert_allclose(tw_chk['bety', 'ip.1'], tw_sol_off['bety', 'ip.1'], atol=0, rtol=5e-5)
|
@@ -162,6 +162,7 @@ def test_ring_with_radiation(test_context):
|
|
162
162
|
mad.input(f'''
|
163
163
|
select, flag=MAKETHIN, SLICE=4, thick=false;
|
164
164
|
select, flag=MAKETHIN, pattern=wig, slice=1;
|
165
|
+
select, flag=makethin, class=rfcavity, slice=1;
|
165
166
|
MAKETHIN, SEQUENCE=ring, MAKEDIPEDGE=true;
|
166
167
|
use, sequence=RING;
|
167
168
|
''')
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '0.57.1'
|
@@ -176,7 +176,7 @@ per_particle_vars = xt.Particles.per_particle_vars
|
|
176
176
|
for tt, nn in per_particle_vars:
|
177
177
|
setattr(ParticlesMonitor, nn, _FieldOfMonitor(name=nn))
|
178
178
|
|
179
|
-
for nn in ['pzeta']:
|
179
|
+
for nn in ['pzeta', 'kin_px', 'kin_py', 'kin_ps', 'kin_xprime', 'kin_yprime']:
|
180
180
|
setattr(ParticlesMonitor, nn, _FieldOfMonitor(name=nn))
|
181
181
|
|
182
182
|
|
@@ -1300,6 +1300,46 @@ class Particles(xo.HybridClass):
|
|
1300
1300
|
pzeta, mode='readonly',
|
1301
1301
|
container=self)
|
1302
1302
|
|
1303
|
+
@property
|
1304
|
+
def kin_px(self):
|
1305
|
+
out = self.px - self.ax
|
1306
|
+
return self._buffer.context.linked_array_type.from_array(
|
1307
|
+
out,
|
1308
|
+
mode='readonly',
|
1309
|
+
container=self)
|
1310
|
+
|
1311
|
+
@property
|
1312
|
+
def kin_py(self):
|
1313
|
+
out = self.py - self.ay
|
1314
|
+
return self._buffer.context.linked_array_type.from_array(
|
1315
|
+
out,
|
1316
|
+
mode='readonly',
|
1317
|
+
container=self)
|
1318
|
+
|
1319
|
+
@property
|
1320
|
+
def kin_ps(self):
|
1321
|
+
out = np.sqrt((1 + self.delta) ** 2 - self.kin_px ** 2 - self.kin_py ** 2)
|
1322
|
+
return self._buffer.context.linked_array_type.from_array(
|
1323
|
+
out,
|
1324
|
+
mode='readonly',
|
1325
|
+
container=self)
|
1326
|
+
|
1327
|
+
@property
|
1328
|
+
def kin_xprime(self):
|
1329
|
+
out = self.kin_px / self.kin_ps
|
1330
|
+
return self._buffer.context.linked_array_type.from_array(
|
1331
|
+
out,
|
1332
|
+
mode='readonly',
|
1333
|
+
container=self)
|
1334
|
+
|
1335
|
+
@property
|
1336
|
+
def kin_yprime(self):
|
1337
|
+
out = self.kin_py / self.kin_ps
|
1338
|
+
return self._buffer.context.linked_array_type.from_array(
|
1339
|
+
out,
|
1340
|
+
mode='readonly',
|
1341
|
+
container=self)
|
1342
|
+
|
1303
1343
|
def add_to_energy(self, delta_energy):
|
1304
1344
|
"""
|
1305
1345
|
Add `delta_energy` to the `energy` of the particles object. `delta`,
|
@@ -888,11 +888,11 @@ def _twiss_open(line, init,
|
|
888
888
|
delta_co = np.array(line.record_last_track.delta[0, i_start:i_stop+1].copy())
|
889
889
|
ptau_co = np.array(line.record_last_track.ptau[0, i_start:i_stop+1].copy())
|
890
890
|
s_co = line.record_last_track.s[0, i_start:i_stop+1].copy()
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
891
|
+
kin_px_co = line.record_last_track.kin_px[0, i_start:i_stop+1].copy()
|
892
|
+
kin_py_co = line.record_last_track.kin_py[0, i_start:i_stop+1].copy()
|
893
|
+
kin_ps_co = line.record_last_track.kin_ps[0, i_start:i_stop+1].copy()
|
894
|
+
kin_xprime_co = line.record_last_track.kin_xprime[0, i_start:i_stop+1].copy()
|
895
|
+
kin_yprime_co = line.record_last_track.kin_yprime[0, i_start:i_stop+1].copy()
|
896
896
|
|
897
897
|
Ws = np.zeros(shape=(len(s_co), 6, 6), dtype=np.float64)
|
898
898
|
Ws[:, 0, :] = 0.5 * (line.record_last_track.x[1:7, i_start:i_stop+1] - x_co).T / scale_eigen
|
@@ -934,10 +934,11 @@ def _twiss_open(line, init,
|
|
934
934
|
'delta': delta_co,
|
935
935
|
'ptau': ptau_co,
|
936
936
|
'W_matrix': Ws,
|
937
|
-
'
|
938
|
-
'
|
939
|
-
'
|
940
|
-
'
|
937
|
+
'kin_px': kin_px_co,
|
938
|
+
'kin_py': kin_py_co,
|
939
|
+
'kin_ps': kin_ps_co,
|
940
|
+
'kin_xprime': kin_xprime_co,
|
941
|
+
'kin_yprime': kin_yprime_co,
|
941
942
|
})
|
942
943
|
|
943
944
|
if not only_orbit and compute_lattice_functions:
|
@@ -2978,6 +2979,12 @@ class TwissTable(Table):
|
|
2978
2979
|
out.delta = out.delta
|
2979
2980
|
out.ptau = out.ptau
|
2980
2981
|
|
2982
|
+
if 'kin_px' in out:
|
2983
|
+
out.kin_px = out.kin_px
|
2984
|
+
out.kin_py = -out.kin_py
|
2985
|
+
out.kin_xprime = out.kin_xprime
|
2986
|
+
out.kin_yprime = -out.kin_yprime
|
2987
|
+
|
2981
2988
|
if 'betx' in out:
|
2982
2989
|
# if optics calculation is not skipped
|
2983
2990
|
out.betx = out.betx
|
xtrack-0.57.0/xtrack/_version.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '0.57.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
|
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
|
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
|
{xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_dipole_edge_linear.h
RENAMED
File without changes
|
{xtrack-0.57.0 → xtrack-0.57.1}/xtrack/beam_elements/elements_src/track_dipole_edge_nonlinear.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
|
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
|