flamingpy.utils.viz.to_pi_string

flamingpy.utils.viz.to_pi_string(x, tex: bool = True, d=2)[source]

Convert x, a multiple of sqrt(pi)/2, to a pretty string.

If x is not a multiple of sqrt(pi)/2, return the unmodified string of x with d integers after the decimal. If tex is True, add LaTeX $ signs.

Contents

Home

Background

Using FlamingPy

Development

Getting Help

Python API