charm_models (MCEq.charm_models)#

Reference/API#

MCEq.charm_models Module#

MCEq.charm_models — charmed particle production#

This module includes classes for custom charmed particle production. Currently only the MRS model is implemented as the class MRS_charm. The abstract class CharmModel guides the implementation of custom classes.

The Yields instantiates derived classes of CharmModel and calls CharmModel.get_yield_matrix() when overwriting a model yield file in Yields.set_custom_charm_model().

Classes#

ABCMeta(name, bases, namespace, /, **kwargs)

Metaclass for defining Abstract Base Classes (ABCs).

CharmModel()

Abstract class, from which implemeted charm models can inherit.

MRS_charm(e_grid, csm)

Martin-Ryskin-Stasto charm model.