Skip to content

Commit

Permalink
restoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaanj18 committed Mar 28, 2024
1 parent 2eed4c7 commit f3f677e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
18 changes: 15 additions & 3 deletions docs/ArtificialInformation_Filter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,22 @@
},
{
"cell_type": "code",
"execution_count": 48,
"execution_count": 1,
"id": "3c37dd36",
"metadata": {},
"outputs": [],
"outputs": [
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'xbitinfo'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[1], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mxarray\u001b[39;00m \u001b[39mas\u001b[39;00m \u001b[39mxr\u001b[39;00m\n\u001b[1;32m----> 2\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mxbitinfo\u001b[39;00m \u001b[39mas\u001b[39;00m \u001b[39mxb\u001b[39;00m\n\u001b[0;32m 3\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mnumpy\u001b[39;00m \u001b[39mas\u001b[39;00m \u001b[39mnp\u001b[39;00m\n\u001b[0;32m 4\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mmetpy\u001b[39;00m\n",
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'xbitinfo'"
]
}
],
"source": [
"import xarray as xr\n",
"import xbitinfo as xb\n",
Expand Down Expand Up @@ -2005,7 +2017,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.3"
"version": "3.11.3 | packaged by Anaconda, Inc. | (main, Apr 19 2023, 23:46:34) [MSC v.1916 64 bit (AMD64)]"
}
},
"nbformat": 4,
Expand Down
1 change: 0 additions & 1 deletion xbitinfo/xbitinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ def get_cdf_without_artificial_information(
... info,
... inflevel=[0.99],
... information_filter="Gradient",
... **{"threshold": 0.7, "tolerance": 0.001}
... )
<xarray.Dataset>
Dimensions: (dim: 3, inflevel: 1)
Expand Down

0 comments on commit f3f677e

Please sign in to comment.