Skip to content

Commit

Permalink
Add "ipynb" dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed May 19, 2020
1 parent 4677d2d commit 2548337
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebooks/gamut_mapping_medicina_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@
"Three sigmoid compression functions are defined:\n",
"\n",
"- **tanh**, a function based on the *Hyperbolic Tangent*:\n",
"$$a + b \\cdot tanh\\bigg(\\cfrac{x - a}{b}\\bigg)$$ where $a$ is the compression threshold, i.e. the point at which the function starts compressing the value $x$ and $b$ is the compression limit, i.e. the point at which the compression has reached its limit.\n",
"$$a + b \\cdot tanh\\bigg(\\cfrac{x - a}{b}\\bigg)$$ where $a$ is the compression threshold, i.e. the point at which the function starts compressing the value $x$ and $b$ is the compression limit, i.e. the point at which the compression reaches the limit.\n",
"- **atan**, a function based on the *Arc Tangent*:\n",
"$$a + b \\cdot\\cfrac{2}{\\pi}\\cdot atan\\Bigg(\\cfrac{\\cfrac{\\pi}{2}\\cdot\\big(x - a\\big)}{b}\\Bigg)$$\n",
"- **Simple**, a simple compression function:\n",
Expand Down Expand Up @@ -9361,6 +9361,7 @@
"state": {
"_figure_label": "Figure 1",
"_height": 458,
"_image_mode": "diff",
"_width": 1100,
"header_visible": false,
"layout": "IPY_MODEL_0af7a2da7b8b4e32a5fb8e5918af0673",
Expand Down Expand Up @@ -15856,6 +15857,7 @@
"state": {
"_figure_label": "Figure 3",
"_height": 396,
"_image_mode": "diff",
"_width": 1100,
"header_visible": false,
"layout": "IPY_MODEL_cd30633135a748439d3214b489dde5b0",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ipywidgets = { version = "*"}
jupyter = { version = "*"}
jupyterlab = { version = "*"}
matplotlib = { version = "*"}
ipynb = { version = "*"}

[build-system]
requires = [ "poetry>=0.12" ]
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ imageio==2.8.0
importlib-metadata==1.6.0
ipykernel==5.2.1
ipympl==0.5.6
ipynb==0.5.1
ipython==7.9.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
Expand Down

0 comments on commit 2548337

Please sign in to comment.