model.HydrostaticEquilibrium.correct#

HydrostaticEquilibrium.correct(mode='minimal')#

Correct the model.ClusterModel instance. The mode kwarg may be used to determine the precise algorithm that is used to complete the correction.

Parameters:

mode (str) – The algorithm to use for correction. Options are minimal and smooth. If minimal, then the dynamical density is replaced with the minimum allowed consistent value but may lack smoothness. If smooth, then a smooth monotone interpolation scheme is used.

Return type:

model.ClusterModel