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