BC work
This commit is contained in:
@@ -20,8 +20,20 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"outputs": [],
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'read_sp' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001B[0;31m---------------------------------------------------------------------------\u001B[0m",
|
||||
"\u001B[0;31mNameError\u001B[0m Traceback (most recent call last)",
|
||||
"Cell \u001B[0;32mIn[1], line 1\u001B[0m\n\u001B[0;32m----> 1\u001B[0m d2_raw \u001B[38;5;241m=\u001B[39m \u001B[43mread_sp\u001B[49m(\u001B[38;5;124m\"\u001B[39m\u001B[38;5;124m../data/rust-sticking-probability\u001B[39m\u001B[38;5;124m\"\u001B[39m, read_xy_alt)\n\u001B[1;32m 2\u001B[0m d2 \u001B[38;5;241m=\u001B[39m aggregate_sp_fd(d2_raw)\n",
|
||||
"\u001B[0;31mNameError\u001B[0m: name 'read_sp' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"d2_raw = read_sp(\"../data/rust-sticking-probability\", read_xy_alt)\n",
|
||||
"d2 = aggregate_sp_fd(d2_raw)"
|
||||
@@ -32,7 +44,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 59,
|
||||
"execution_count": null,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"d3_raw = read_sp(\"../data/rust-3d-offaxis-sp\", read_xyz_alt)\n",
|
||||
@@ -74,8 +86,8 @@
|
||||
"plt.ylabel(\"$fd$\")\n",
|
||||
"plt.legend()\n",
|
||||
"\n",
|
||||
"plt.savefig('../figures/sp-fd-rust-vs-c.svg')\n",
|
||||
"plt.savefig('../figures/sp-fd-rust-vs-c.png')\n",
|
||||
"plt.savefig('../figures/sp-fd-2d-3d.svg')\n",
|
||||
"plt.savefig('../figures/sp-fd-2d-3d.png')\n",
|
||||
"plt.show()"
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
+66
-217
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user