Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
andgoldschmidt committed May 14, 2024
1 parent 99ee097 commit e0f99f8
Show file tree
Hide file tree
Showing 5 changed files with 1,465 additions and 680 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.7"
python: "3.9"
jobs:
post_create_environment:
- pip install poetry==1.2.1
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.

html_theme = 'sphinx_rtd_theme'
html_theme = 'classic'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
8 changes: 4 additions & 4 deletions docs/notebooks/Examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,13 @@
},
"outputs": [],
"source": [
"tvd = derivative.TrendFiltered(alpha=1e-3, order=0, max_iter=1e6)\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=0, max_iter=int(1e6))\n",
"plot_example(tvd, t, noisy_sin, np.cos, sigmas, 'order: 0')\n",
"\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=1, max_iter=1e6)\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=1, max_iter=int(1e6))\n",
"plot_example(tvd, t, noisy_sin, np.cos, sigmas, 'order: 1')\n",
"\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=2, max_iter=1e6)\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=2, max_iter=int(1e6))\n",
"plot_example(tvd, t, noisy_sin, np.cos, sigmas, 'order: 2')"
]
},
Expand Down Expand Up @@ -521,7 +521,7 @@
},
"outputs": [],
"source": [
"tvd = derivative.TrendFiltered(alpha=1e-3, order=0, max_iter=1e5)\n",
"tvd = derivative.TrendFiltered(alpha=1e-3, order=0, max_iter=int(1e5))\n",
"plot_example(tvd, t, noisy_abs, d_abs, sigmas, 'order: 0')"
]
},
Expand Down
Loading

0 comments on commit e0f99f8

Please sign in to comment.