Update Networks.ipynb
Made the datatype complex - so that it works with any S11... input
"\n",
"# forging S-matrix as shape (nb_f, 2, 2)\n",
"# there is probably smarter way, but less explicit for the purpose of this example:\n",
- "s = np.zeros((len(f), 2, 2))\n",
+ "s = np.zeros((len(f), 2, 2), dtype=complex)\n",
"s[:,0,0] = S11\n",
"s[:,0,1] = S12\n",
"s[:,1,0] = S21\n",
