From 113f4a9ac06f844302f0a4a1118cf65d14938b56 Mon Sep 17 00:00:00 2001 From: ni1o1 <53589767+ni1o1@users.noreply.github.com> Date: Wed, 4 May 2022 14:14:08 +0800 Subject: [PATCH] Update example-analysis.ipynb --- example/example-analysis.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example/example-analysis.ipynb b/example/example-analysis.ipynb index 35cc562..cac47c7 100644 --- a/example/example-analysis.ipynb +++ b/example/example-analysis.ipynb @@ -66,7 +66,7 @@ "metadata": {}, "outputs": [], "source": [ - "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-01-01', roof=True, accuracy=1, gap=1800)" + "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-01-01', roof=True, accuracy=1, precision=1800)" ] }, { @@ -124,7 +124,7 @@ "metadata": {}, "outputs": [], "source": [ - "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-01-01', roof=False, accuracy=1, gap=1800)\n" + "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-01-01', roof=False, accuracy=1, precision=1800)\n" ] }, { @@ -180,7 +180,7 @@ "metadata": {}, "outputs": [], "source": [ - "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-10-01', roof=False, accuracy=1, gap=1800)\n" + "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-10-01', roof=False, accuracy=1, precision=1800)\n" ] }, { @@ -267,7 +267,7 @@ } ], "source": [ - "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-10-01',grids = grids, roof=False, accuracy=1, gap=1800)\n", + "sunshine = pybdshadow.cal_sunshine(buildings, day='2022-10-01',grids = grids, roof=False, accuracy=1, precision=1800)\n", "\n", "#Visualize buildings and sunshine using matplotlib\n", "import matplotlib.pyplot as plt\n",