Skip to content
Snippets Groups Projects
Commit 18d65077 authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

fix one more flake8

parent 69abd691
No related branches found
No related tags found
No related merge requests found
Pipeline #19313 failed
from ess import TTF from ess import TTF
import numpy as np
Header, Field = TTF.bccb.read_binary_fieldmap("Data/FM/HB_W_coupler.edz", 3) Header, Field = TTF.bccb.read_binary_fieldmap("Data/FM/HB_W_coupler.edz", 3)
fz = TTF.field_on_axis(Field, 3, Header[0], Header[2], Header[5]) fz = TTF.field_on_axis(Field, 3, Header[0], Header[2], Header[5])
...@@ -12,7 +13,7 @@ print( ...@@ -12,7 +13,7 @@ print(
"[TTF, Phase_Max_Energy]: ", "[TTF, Phase_Max_Energy]: ",
TTF.Field_TTF(fz, dz, 704.42, 700, 938, True), TTF.Field_TTF(fz, dz, 704.42, 700, 938, True),
) )
TTFb = TTF_beta(fz, dz, 704.42, 938) TTFb = TTF.TTF_beta(fz, dz, 704.42, 938)
# plot(z_points, fz); # plot(z_points, fz);
# plot(TTFb[0,:], 50*TTFb[1,:]); # plot(TTFb[0,:], 50*TTFb[1,:]);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment