Skip to content
Snippets Groups Projects
Commit db49cb81 authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

Allow for particle losses in Monitor classes

Add a is_empty property to the Bunch class.
Add a check_empty optional parameter to the Monitor.track_bunch_data method.
ProfileMonitor: if the bunch is empty, no profile is saved.
WakePotentialMonitor: if the bunch is empty, the same from last good turn is saved.
BunchSpectrumMonitor: if the bunch is empty, the incoherent spectrum is nan.
parent 9399d5e2
No related branches found
No related tags found
No related merge requests found
Loading
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