Skip to content

Commit b17dc93

Browse files
authored
Merge pull request PyDMD#499 from PyDMD/export-tutorial-eff3e67
Export tutorial changed in eff3e67
2 parents eff3e67 + 8208b7a commit b17dc93

File tree

6 files changed

+4417
-4220
lines changed

6 files changed

+4417
-4220
lines changed

docs/source/_tutorials/tutorial12cdmd.html

Lines changed: 4248 additions & 4165 deletions
Large diffs are not rendered by default.

docs/source/_tutorials/tutorial15pidmd.html

Lines changed: 117 additions & 42 deletions
Large diffs are not rendered by default.

docs/source/_tutorials/tutorial19havok.html

Lines changed: 47 additions & 12 deletions
Large diffs are not rendered by default.

tutorials/tutorial12/tutorial-12-cdmd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
print("Downloading data...")
2222
if not os.path.exists("SegTrackv2"):
2323
get_ipython().system(
24-
"wget https://web.engr.oregonstate.edu/~lif/SegTrack2/SegTrackv2.zip >& /dev/null"
24+
"wget --quiet https://web.engr.oregonstate.edu/~lif/SegTrack2/SegTrackv2.zip"
2525
)
2626
get_ipython().system("unzip -qq SegTrackv2.zip")
2727
print("Done!")
@@ -454,6 +454,7 @@ def animate(i):
454454
play the video we will model,
455455
change interval based on video size
456456
"""
457+
457458
play_video(OBJ, interval=10)
458459

459460

tutorials/tutorial15/tutorial-15-pidmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"""
5555
Define test data and test data sizes.
5656
"""
57+
5758
nx = 8 # snapshot size
5859
nt = 1000 # number of samples
5960
rng = np.random.default_rng(seed=42) # seed for reproducibility

tutorials/tutorial19/tutorial-19-havok.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def plot_summary(
156156
filename=None,
157157
):
158158
"""
159+
159160
havok.plot_summary(
160161
# Number of data points to plot.
161162
num_plot=15000,
@@ -264,6 +265,7 @@ def compute_threshold(
264265
plot_kwargs=None,
265266
):
266267
"""
268+
267269
# Re-fit the HAVOK model (because model was overwritten in the last block).
268270
havok = HAVOK(svd_rank=16, delays=100).fit(x, t)
269271

0 commit comments

Comments
 (0)