We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1363ed5 commit 7a06556Copy full SHA for 7a06556
demo/load_chumpy.py
@@ -20,4 +20,13 @@
20
# Ahmed A. A. Osman
21
22
from ch.star import STAR
23
+import time
24
+import numpy as np
25
+
26
model = STAR(gender='female',num_betas=10)
27
+for j in range(0,10):
28
+ model.betas[:] = 0.0 #Each loop all PC components are set to 0.
29
+ for i in np.linspace(-3,3,10): #Varying the jth component +/- 3 standard deviations
30
+ model.betas[j] = i
31
+ print(model.r) #vertices=model.r and faces=model.f
32
+ time.sleep(0.1)
0 commit comments