concluding investigation
"dose_evaluation = load_dose_from_dicom(dcm_eval)"
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
- "dose_thresholds = np.arange(0.5,3,0.1)\n",
- "distance_thresholds = np.arange(0.5,4,0.1)\n",
+ "dose_thresholds = np.arange(0.5,3,0.2)\n",
+ "distance_thresholds = np.arange(0.5,4,0.2)\n",
"\n",
"print(\"Num Gamma threshold combos = {}\".format(len(dose_thresholds) * len(distance_thresholds)))"
]
"metadata": {},
"outputs": [],
"source": [
+ "%%timeit\n",
+ "\n",
"gamma = gamma_shell(\n",
" coords_reference, dose_reference,\n",
" coords_evaluation, dose_evaluation,\n",
" coords_reference, dose_reference,\n",
" coords_evaluation, dose_evaluation,\n",
" [1, 0.2], [1, 4], \n",
- " max_gamma=1.1, skip_once_passed=True, local_gamma=True, quiet=True, interp_fraction=50)\n",
+ " max_gamma=1.1, skip_once_passed=True, local_gamma=True, quiet=True, interp_fraction=10)\n",
"\n",
"baseline = {\n",
" (1, 1): 96.9,\n",
