finesse.analysis.actions.random.PrintModelAttr
¶
Overview
- class finesse.analysis.actions.random.PrintModelAttr(*args, eval=True)[source]¶
Bases:
Action
Prints an attribute of the model being currently used.
- Parameters:
- *args(str,)
Strings input for the attribute to print
- eval: bool, optional
When True symbolic expressions will be evaluated before printing. Defaults to True.
Examples
You can print the current value of parameters and such using:
>>> PrintModelAttr("m1.R", "bs.phi")