str2d.Str2D.phi
- Str2D.phi()[source]
Replace the data with digits of phi. This is a wrapper around the phi function and returns a new Str2D object with the data replaced with the digits
- Returns:
A new Str2D object with the data replaced with the digits of phi.
- Return type:
Examples
Let’s create an instance of Str2D and assign it to the variable a and then
from str2d import Str2D a = Str2D('abcdef\nghijkl\nmnopqr\nstuvwx') a
abcdef ghijkl mnopqr stuvwx
a.phi()
1.6180 339887 498948 482045