Skip to content

Commit 560deb7

Browse files
authored
Merge pull request #24 from jukent/patch
Updates to meet myst --strict building requirements
2 parents f865841 + cf5e99d commit 560deb7

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

notebooks/example-workflows/buoy-wave-height.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"<p align=\"center\">\n",
8-
" <img src=\"https://upload.wikimedia.org/wikipedia/commons/7/74/Animation_for_a_deep_water_wave.gif\" alt=\"Animation for a deep water wave\" />\n",
8+
" <img src=\"../static/Animation_for_a_deep_water_wave.gif\" alt=\"Animation for a deep water wave\" />\n",
99
"</p>"
1010
]
1111
},

notebooks/example-workflows/nino3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"<p align=\"center\">\n",
8-
" <img src=\"https://www.climate.gov/sites/default/files/2023-06/ENSOblog_animation_SSTA_anom_weekly_2023_Jun.gif\" alt=\"Weekly Sea Surface Temperature Patterns from NOAA\" />\n",
8+
" <img src=\"../static/ENSOblog_animation_SSTA_anom_weekly_2023_Jun.gif\" alt=\"Weekly Sea Surface Temperature Patterns from NOAA\" />\n",
99
"</p>"
1010
]
1111
},
840 KB
Loading
3.59 MB
Loading
2.79 MB
Loading
42.4 KB
Loading

notebooks/wavelet-introduction/jingle-bells.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
"ax.set_xlim(signal_df[\"time (seconds)\"][2000], signal_df[\"time (seconds)\"][3000])\n",
243243
"plt.xlabel(\"Time (seconds)\")\n",
244244
"plt.ylabel(\"Amplitude\")\n",
245-
"plt.show()"
245+
"plt.show();"
246246
]
247247
},
248248
{
@@ -309,7 +309,7 @@
309309
"plt.xlabel(\"Scale\")\n",
310310
"plt.ylabel(\"Frequency (Hz)\")\n",
311311
"print(f\"Frequency in Hz:\\n{freqs*sampleRate}\")\n",
312-
"plt.plot(freqs*sampleRate)"
312+
"plt.plot(freqs*sampleRate);"
313313
]
314314
},
315315
{
@@ -335,7 +335,7 @@
335335
" vmax=(data).max(), vmin=(data).min(),\n",
336336
" cmap=\"coolwarm\", aspect=\"auto\")\n",
337337
"plt.colorbar()\n",
338-
"plt.show()"
338+
"plt.show();"
339339
]
340340
},
341341
{
@@ -385,7 +385,7 @@
385385
" vmax=(power).max(), vmin=(power).min(),\n",
386386
" cmap=\"coolwarm\", aspect=\"auto\")\n",
387387
"plt.legend()\n",
388-
"plt.show()"
388+
"plt.show();"
389389
]
390390
},
391391
{
@@ -437,7 +437,7 @@
437437
"plt.xlabel('Frequency (Hz)')\n",
438438
"plt.ylabel('Amplitude')\n",
439439
"plt.legend()\n",
440-
"plt.show()"
440+
"plt.show();"
441441
]
442442
},
443443
{
@@ -490,7 +490,7 @@
490490
" vmax=(power).max(), vmin=(power).min(),\n",
491491
" cmap=\"coolwarm\", aspect=\"auto\")\n",
492492
"plt.legend()\n",
493-
"plt.show()"
493+
"plt.show();"
494494
]
495495
},
496496
{

notebooks/wavelet-introduction/spy-keypad.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"<p align=\"center\">\n",
8-
" <img src=\"https://upload.wikimedia.org/wikipedia/commons/6/6f/Programming123najra.gif\" alt=\"Typing gif from Wikipedia\" width=\"500px\" />\n",
8+
" <img src=\"../static/Programming123najra.gif\" alt=\"Typing gif from Wikipedia\" width=500px/>\n",
99
"</p>"
1010
]
1111
},

notebooks/wavelet-introduction/wavelet-basics.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"<p align=\"center\">\n",
8-
" <img src=\"https://upload.wikimedia.org/wikipedia/commons/9/95/Continuous_wavelet_transform.gif\" alt=\"Demo of different wavelets matching signals on Wikipedia\" />\n",
8+
" <img src=\"../static/Continuous_wavelet_transform.gif\" alt=\"Demo of different wavelets matching signals on Wikipedia\" />\n",
99
"</p>"
1010
]
1111
},
@@ -381,12 +381,12 @@
381381
"In its simplest form, a wavelet is a short wave-like oscillation that averages out to zero.\n",
382382
"\n",
383383
"<p align=\"center\">\n",
384-
" <img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/MorletWaveletMathematica.svg/1024px-MorletWaveletMathematica.svg.png\" alt=\"Morlet Wavelet on Wikipedia\" width=350/>\n",
384+
" <img src=\"../static/MorletWaveletMathematica.png\" alt=\"Morlet Wavelet on Wikipedia\" width=350/>\n",
385385
"</p>\n",
386386
"\n",
387387
"> Many signals and images of interest exhibit piecewise smooth behavior punctuated by transients. Speech signals are characterized by short bursts encoding consonants followed by steady-state oscillations indicative of vowels. Natural images have edges. Financial time series exhibit transient behavior, which characterize rapid upturns and downturns in economic conditions. Unlike the Fourier basis, wavelet bases are adept at sparsely representing piecewise regular signals and images, which include transient behavior.\n",
388388
"> \n",
389-
"> [Mathworks: \"What is a Wavelet\"]((https://www.mathworks.com/help/wavelet/gs/what-is-a-wavelet.html))\n",
389+
"> [Mathworks: \"What is a Wavelet\"](https://www.mathworks.com/help/wavelet/gs/what-is-a-wavelet.html)\n",
390390
"\n",
391391
"Fourier transforms are made up of multiple sine waves of different phases and frequencies to best match a signal. However, while Fourier transforms can be used to match frequency, information about **when** each frequency occurs in the signal is lost. This can be overcome with wavelet analysis. Like Fourier transforms, wavelet analysis works with multiple different wavelets that will be scaled up or down to produce different shaped wavelets that can shifted along the signal. Because the signal is matched by different scaled wavelets at different points along the signal, both the signal's frequency and the time at which the signal's frequency occurs can be determined."
392392
]

0 commit comments

Comments
 (0)