Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
pyhyperiso.core.Common.Mapper.OrderMapper Class Reference

Public Member Functions

 __init__ (self)
 
 str (self, QCDOrder obs_id)
 
 id_of (self, QCDOrder obs_id)
 
 get_str (self)
 
 get_str_all (self)
 
 get_enum (self)
 

Detailed Description

Mapper for :class:`QCDOrder` values.

Definition at line 190 of file Mapper.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.Common.Mapper.OrderMapper.__init__ (   self)

Definition at line 193 of file Mapper.py.

Member Function Documentation

◆ get_enum()

pyhyperiso.core.Common.Mapper.OrderMapper.get_enum (   self)
Return enum values known to the C++ mapper.

Definition at line 226 of file Mapper.py.

◆ get_str()

pyhyperiso.core.Common.Mapper.OrderMapper.get_str (   self)
Return the C++ mapper's primary string table.

Definition at line 218 of file Mapper.py.

◆ get_str_all()

pyhyperiso.core.Common.Mapper.OrderMapper.get_str_all (   self)
Return all string aliases known to the C++ mapper.

Definition at line 222 of file Mapper.py.

◆ id_of()

pyhyperiso.core.Common.Mapper.OrderMapper.id_of (   self,
QCDOrder  obs_id 
)
Round-trip a QCD order through its canonical string.

Args:
    obs_id: Python ``QCDOrder`` enum value.

Returns:
    Any: Bound C++ enum/id returned by the mapper.

Definition at line 207 of file Mapper.py.

◆ str()

pyhyperiso.core.Common.Mapper.OrderMapper.str (   self,
QCDOrder  obs_id 
)
Return the canonical C++ string for a QCD order.

Args:
    obs_id: Python ``QCDOrder`` enum value.

Returns:
    str: Canonical name stored by the C++ mapper.

Definition at line 196 of file Mapper.py.


The documentation for this class was generated from the following file: