SC_Base_AccNode#

class orbit.space_charge.SC_Base_AccNode(sc_calculator, name='no name')[source]#

Bases: orbit.lattice.AccNodeBunchTracker.AccNodeBunchTracker

The subclass of the AccNodeBunchTracker class. It is a base class for SC nodes. It uses the c++ space charge calculator to calculate the .

Methods Summary

getCalculationOn()

Returns the boolean parameter that define if the calculations will be performed.

getCalculator()

Returns the space-charge calculator.

getLengthOfSC()

Returns the path length that will be used in SC kick calculations.

isRFGap()

Returns False.

setCalculationOn(switcher)

Sets the boolean parameter that define if the calculations will be performed.

setLengthOfSC(sc_length)

Defines the path length that will be used in SC kick calculations.

track(paramsDict)

It is tracking the bunch through the Space Charge calculator.

trackDesign(paramsDict)

This method is for Linac Nodes compatibility.

Methods Documentation

getCalculationOn()[source]#

Returns the boolean parameter that define if the calculations will be performed. True of False.

getCalculator()[source]#

Returns the space-charge calculator.

getLengthOfSC()[source]#

Returns the path length that will be used in SC kick calculations.

isRFGap()[source]#

Returns False. The RF Gap node returns True.

setCalculationOn(switcher)[source]#

Sets the boolean parameter that define if the calculations will be performed. True of False.

setLengthOfSC(sc_length)[source]#

Defines the path length that will be used in SC kick calculations.

track(paramsDict)[source]#

It is tracking the bunch through the Space Charge calculator. Each subclass should implement this method.

trackDesign(paramsDict)[source]#

This method is for Linac Nodes compatibility. It is empty and should not be used for Space Charge calculations.