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

Public Member Functions

None __init__ (self)
 
str get_path (self, MartyPath path_kind)
 
Optional[str] get_optional_path (self, MartyPath path_kind)
 
bool check_flag (self, flag)
 
str get_model_name (self)
 
str __repr__ (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Inspect MARTY paths and flags used by Hyperiso.

This adapter is read-only from Python. It is typically useful after
``HyperisoMaster.init(...)`` when debugging which MARTY model, mappings,
templates and writable cache directory were selected.

Definition at line 32 of file MartyAdapter.py.

Constructor & Destructor Documentation

◆ __init__()

None pyhyperiso.core.Core.MartyAdapter.MartyAdapter.__init__ (   self)
Create an adapter bound to the current C++ MARTY configuration.

Definition at line 40 of file MartyAdapter.py.

Member Function Documentation

◆ __repr__()

str pyhyperiso.core.Core.MartyAdapter.MartyAdapter.__repr__ (   self)
Return a compact representation including the model name.

Definition at line 61 of file MartyAdapter.py.

◆ check_flag()

bool pyhyperiso.core.Core.MartyAdapter.MartyAdapter.check_flag (   self,
  flag 
)
Return the value of a MARTY-related C++ flag.

Definition at line 53 of file MartyAdapter.py.

◆ get_model_name()

str pyhyperiso.core.Core.MartyAdapter.MartyAdapter.get_model_name (   self)
Return the configured MARTY model name.

Definition at line 57 of file MartyAdapter.py.

◆ get_optional_path()

Optional[str] pyhyperiso.core.Core.MartyAdapter.MartyAdapter.get_optional_path (   self,
MartyPath  path_kind 
)
Return an optional MARTY path, or ``None`` when it is not configured.

Definition at line 48 of file MartyAdapter.py.

◆ get_path()

str pyhyperiso.core.Core.MartyAdapter.MartyAdapter.get_path (   self,
MartyPath  path_kind 
)
Return a required MARTY path by kind.

Definition at line 44 of file MartyAdapter.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.Core.MartyAdapter.MartyAdapter._cpp_obj
protected

Definition at line 42 of file MartyAdapter.py.


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