b41bf85906c38c8e50059f684a0fd3408a0c20fb,se3cnn/util/plot.py,,spherical_surface,#,11

Before Change


    alpha = torch.linspace(0, 2 * math.pi, 2 * n)
    beta_, alpha_ = torch.meshgrid(beta, alpha)
    x = torch.sin(beta_) * torch.cos(alpha_)
    y = torch.sin(beta_) * torch.sin(alpha_)
    z = torch.cos(beta_)

    beta = 0.5 * (beta[1:] + beta[:-1])
    alpha = 0.5 * (alpha[1:] + alpha[:-1])

After Change


    beta = torch.linspace(1e-16, math.pi - 1e-16, 2 * n)
    alpha = torch.linspace(0, 2 * math.pi, 2 * n)
    beta_, alpha_ = torch.meshgrid(beta, alpha)
    x, y, z = angles_to_xyz(beta_, alpha_)

    beta = 0.5 * (beta[1:] + beta[:-1])
    alpha = 0.5 * (alpha[1:] + alpha[:-1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mariogeiger/se3cnn
Commit Name: b41bf85906c38c8e50059f684a0fd3408a0c20fb
Time: 2019-08-02
Author: benmiller1315@gmail.com
File Name: se3cnn/util/plot.py
Class Name:
Method Name: spherical_surface


Project Name: mariogeiger/se3cnn
Commit Name: 23bb353a6ab85d7ea03c06a2ccfa7d91e2f078d3
Time: 2019-08-05
Author: geiger.mario@gmail.com
File Name: se3cnn/util/plot.py
Class Name:
Method Name: plotly_sphere


Project Name: akkana/scripts
Commit Name: 62aa97cee99d3ab2faf1efda1f55238370e767cd
Time: 2020-03-01
Author: akkana@shallowsky.com
File Name: epicycles.py
Class Name: EclipticPoleWindow
Method Name: idle_cb