Write as byte file
This commit is contained in:
parent
0890f68d85
commit
17540a1a03
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 2,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
|
|
@ -30,11 +30,11 @@
|
||||||
"\n",
|
"\n",
|
||||||
"V=calculate_Vs(V_test, 3, 3, N, L, n_image)\n",
|
"V=calculate_Vs(V_test, 3, 3, N, L, n_image)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"outfile = \"temp/V_vals.txt\"\n",
|
"outfile = \"temp/V_vals.dat\"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"open(outfile, \"w\") do f\n",
|
"open(outfile, \"w\") do f\n",
|
||||||
" for i in V\n",
|
" for i in V\n",
|
||||||
" println(f, i)\n",
|
" write(f, i)\n",
|
||||||
" end\n",
|
" end\n",
|
||||||
"end"
|
"end"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue