Skip to content

Commit

Permalink
Adds Resampling and filtering example notebooks
Browse files Browse the repository at this point in the history
Plus some minor fixes.

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
  • Loading branch information
jeandet committed May 3, 2024
1 parent 3bfb2e1 commit abb6ef5
Show file tree
Hide file tree
Showing 20 changed files with 1,362 additions and 87 deletions.
Binary file modified docs/_static/AMDA_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/CDAWeb_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/Caches_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/CompleteDemo_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/Demo_nb_thumbnail.png
Binary file not shown.
Binary file added docs/_static/Filtering_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Resampling_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/SSCWEB_nb_thumbnail.png
Binary file not shown.
Binary file added docs/_static/SSCWeb_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/alfvenic_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/solo_epd_nb_thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#
import os
import sys
from glob import glob

src_path = os.path.abspath('..')
sys.path.insert(0, src_path)
Expand Down Expand Up @@ -62,14 +63,10 @@

nbsphinx_execute = 'never'

notebooks = list(map( lambda n: os.path.basename(n).split('.')[0] ,glob('./examples/*.ipynb')))

nbsphinx_thumbnails = {
"examples/AMDA": "_static/AMDA_nb_thumbnail.png",
"examples/SSCWeb": "_static/SSCWEB_nb_thumbnail.png",
"examples/Caches": "_static/Caches_nb_thumbnail.png",
"examples/CDAWeb": "_static/CDAWeb_nb_thumbnail.png",
"examples/CompleteDemo": "_static/Demo_nb_thumbnail.png",
"examples/solo_epd": "_static/solo_epd_nb_thumbnail.png",
"examples/alfvenic_slow_solar_wind": "alfvenic_nb_thumbnail.png",
f"examples/{nb}": f"_static/{nb}_nb_thumbnail.png" for nb in notebooks
}

nbsphinx_prolog = r"""
Expand Down
466 changes: 466 additions & 0 deletions docs/examples/Filtering.ipynb

Large diffs are not rendered by default.

442 changes: 364 additions & 78 deletions docs/examples/Resampling.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ Browse example folder on Google Colab:
./CompleteDemo
./solo_epd
./alfvenic
./Filtering
./Resampling
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ pyistp>=0.4.0
astroquery
tqdm
matplotlib
scipy
PyYAML

0 comments on commit abb6ef5

Please sign in to comment.