Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
acc-models-lhc
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giovanni Iadarola
acc-models-lhc
Commits
47313297
Commit
47313297
authored
1 year ago
by
Giovanni Iadarola
Browse files
Options
Downloads
Patches
Plain Diff
No cycle (needs Xtrack v0.48.0)
parent
f95cc3ca
No related branches found
No related tags found
No related merge requests found
Pipeline
#6629895
failed with stages
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xsuite/examples/xs_lhc_op_utils.py
+0
-9
0 additions, 9 deletions
xsuite/examples/xs_lhc_op_utils.py
with
0 additions
and
9 deletions
xsuite/examples/xs_lhc_op_utils.py
+
0
−
9
View file @
47313297
...
...
@@ -150,12 +150,6 @@ LUMI_KNOBS = [
def
match_single_baem_ip_knobs
(
collider
,
knobs_to_match
):
assert
np
.
isclose
(
collider
.
lhcb1
.
get_table
()[
'
s
'
,
'
ip1
'
],
0
,
rtol
=
0
,
atol
=
1e-9
)
assert
np
.
isclose
(
collider
.
lhcb2
.
get_table
()[
'
s
'
,
'
ip1.l1
'
],
0
,
rtol
=
0
,
atol
=
1e-9
)
collider
.
lhcb1
.
cycle
(
'
ip3
'
,
inplace
=
True
)
collider
.
lhcb2
.
cycle
(
'
ip3
'
,
inplace
=
True
)
opt_knobs
=
{}
for
knob
in
knobs_to_match
:
knob_name
=
knob
[
'
knob_name
'
]
...
...
@@ -189,9 +183,6 @@ def match_single_baem_ip_knobs(collider, knobs_to_match):
opt
.
generate_knob
()
opt_knobs
[
knob_name
]
=
opt
collider
.
lhcb1
.
cycle
(
'
ip1
'
,
inplace
=
True
)
collider
.
lhcb2
.
cycle
(
'
ip1
'
,
inplace
=
True
)
def
match_lumi_kbobs
(
collider
):
match_single_baem_ip_knobs
(
collider
,
LUMI_KNOBS
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment