monitors Package¶
monitors
Module¶
Module to save beam statistics in h5 files
- Authors
Danilo Quartullo, Helga Timko
-
class
blond.monitors.monitors.
BunchMonitor
(Ring, RFParameters, Beam, filename, buffer_time=None, Profile=None, PhaseLoop=None, LHCNoiseFB=None)¶ Bases:
object
Class able to save bunch data into h5 file. Use ‘buffer_time’ to select the frequency of saving to file in number of turns. If in the constructor a Profile object is passed, that means that one wants to save the gaussian-fit bunch length as well (obviously the Profile object has to have the fit_option set to ‘gaussian’).
-
close
()¶
-
init_buffer
()¶
-
init_data
(filename, dims)¶
-
open
()¶
-
track
()¶
-
write_buffer
()¶
-
write_data
(h5group, dims)¶
-
-
class
blond.monitors.monitors.
MultiBunchMonitor
(filename, n_turns, profile, rf, Nbunches, buffer_size=100)¶ Bases:
object
Class able to save multi-bunch profile, i.e. the histogram derived from the slicing.
-
close
()¶
-
create_data
(name, h5group, dims, dtype)¶
-
track
(turn)¶
-
write_buffer
(turn)¶
-
write_data
()¶
-