d46ec02efab15f9def0369e26349a4558b125111,examples/plot_geodesics.py,,,#,38

Before Change



n_steps = 10
all_t = np.linspace(0, 10, n_steps)
points = np.vstack([geodesic(t) for t in all_t])

fig = plt.figure(figsize=(15, 5))

ax = fig.add_subplot(111, projection="3d", aspect="equal")
ax.set_xlim((-1, 1))
ax.set_ylim((-1, 1))
ax.set_zlim((-1, 1))
ax.set_xlabel("X")
ax.set_ylabel("Y")
ax.set_zlabel("Z")

trihedron_start = visualization.trihedron_from_rigid_transformation(points[0])
trihedron_end = visualization.trihedron_from_rigid_transformation(points[-1])

im = plt.imshow(points[all_t, :], animated=True)

After Change


ax.set_ylabel("Y")
ax.set_zlabel("Z")

print(geodesic(all_t))

im = plt.imshow(geodesic(all_t), animated=True)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: d46ec02efab15f9def0369e26349a4558b125111
Time: 2018-01-31
Author: ninamio78@gmail.com
File Name: examples/plot_geodesics.py
Class Name:
Method Name:


Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: 84fc67184a854b78155599a6d8a8643d907601a1
Time: 2018-01-19
Author: jonas.rothfuss@gmx.de
File Name: evaluation/GoodnessOfFit.py
Class Name: GoodnessOfFit
Method Name: compute_results


Project Name: tyiannak/pyAudioAnalysis
Commit Name: 35a74bcac5b18ed8d0b04cda5d57fcde3659b059
Time: 2020-06-13
Author: tyiannak@gmail.com
File Name: pyAudioAnalysis/ShortTermFeatures.py
Class Name:
Method Name: spectrogram