Commit 75e3956d authored by Joaquin Torres's avatar Joaquin Torres

Ready

parent 849165c0
......@@ -279,7 +279,7 @@
"metadata": {},
"outputs": [],
"source": [
"method_name = 'ORIG_CW'"
"method_name = 'OVER'"
]
},
{
......@@ -390,21 +390,9 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'np' 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 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Define tolerance\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m tolerance \u001b[38;5;241m=\u001b[39m \u001b[43mnp\u001b[49m\u001b[38;5;241m.\u001b[39mmedian(np\u001b[38;5;241m.\u001b[39mabs(dist_matrix)) \u001b[38;5;66;03m# Use the median of the absolute values for tolerance\u001b[39;00m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;66;03m# Create a DataFrame to hold the interactions\u001b[39;00m\n\u001b[1;32m 5\u001b[0m interactions \u001b[38;5;241m=\u001b[39m []\n",
"\u001b[0;31mNameError\u001b[0m: name 'np' is not defined"
]
}
],
"outputs": [],
"source": [
"# Define tolerance\n",
"tolerance = np.median(np.abs(dist_matrix)) # Use the median of the absolute values for tolerance\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment