Skip to content
Snippets Groups Projects
  • Alexis GAMELIN's avatar
    db49cb81
    Allow for particle losses in Monitor classes · db49cb81
    Alexis GAMELIN authored
    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.
    db49cb81
    History
    Allow for particle losses in Monitor classes
    Alexis GAMELIN authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.