Skip to content

Commit

Permalink
changed lat
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsignorelli committed Nov 29, 2023
1 parent 45f1c9f commit f07291f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Tao.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kick times the sign of the second kick. E.g., for only pi-bumps, use `phi_start`
2*pi*N apart), use `phi_start` = 0, `phi_step` = 2*pi, `sgn` = 1.
### Input
- `lat` -- Lattice file name
- `lat` -- lat file name
- `phi_start` -- phi_start as described above
- `phi_step` -- phi_step as described above
- `sgn` -- sgn as described above
Expand All @@ -40,10 +40,10 @@ function BAGELS_1(lat, phi_start, phi_step, sgn, kick=1e-5, tol=1e-8)
# First, obtain all combinations of bumps with desired phase advance
if !isfile("$(path)/bumps$(str_phi).txt")
if !isfile("$(path)/vkickers.txt")
run(`tao -lat $lattice -noplot -command "set ele * kick = 0; show -write $(path)/vkickers.txt lat vkicker::* -at [email protected]; exit"`)
run(`tao -lat $lat -noplot -command "set ele * kick = 0; show -write $(path)/vkickers.txt lat vkicker::* -at [email protected]; exit"`)
end
if !isfile("$(path)/kicks.txt")
run(`tao -lat $lattice -noplot -command "show -write $(path)/kicks.txt lat vkicker::* -at [email protected] -at [email protected]; exit"`)
run(`tao -lat $lat -noplot -command "show -write $(path)/kicks.txt lat vkicker::* -at [email protected] -at [email protected]; exit"`)
end

# Read coil data and extract valid pairs
Expand Down Expand Up @@ -95,7 +95,7 @@ for i=1:length(coil_pairs[:,1])
end
close(tao_cmd)

#run(`tao -lat $lattice -noplot`)
#run(`tao -lat $lat -noplot`)
end


Expand Down

0 comments on commit f07291f

Please sign in to comment.