Code change to fix brain diffuser failure tiled images, and new images generated by it

#10
brain_diffuser_failures_tiled.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b74567a43569bbbb99b3180b099de52a5c8cc7b7987eb821ad7e6df38a72440
3
+ size 432097326
human_trials_mindeye2.ipynb CHANGED
@@ -343,15 +343,16 @@
343
  "width = 3 * 425\n",
344
  "height = 450\n",
345
  "\n",
346
- "# Create a blank canvas for the concatenated image\n",
347
- "concatenated_image = Image.new('RGB', (width, height), (255, 255, 255))\n",
348
- "draw = ImageDraw.Draw(concatenated_image)\n",
349
  "\n",
350
  "# Set the font properties for the title captions\n",
351
  "font = ImageFont.truetype(\"arial.ttf\", 16)\n",
352
  "\n",
353
  "# Iterate over the rows in df_exp3_failures\n",
354
  "for index, row in df_exp3_failures.iterrows():\n",
 
 
 
355
  " # Get the paths for the stimuli images\n",
356
  " stim1_path = f\"stimuli_v4/{row['stim1']}.png\"\n",
357
  " stim2_path = f\"stimuli_v4/{row['stim2']}.png\"\n",
 
343
  "width = 3 * 425\n",
344
  "height = 450\n",
345
  "\n",
346
+ "\n",
 
 
347
  "\n",
348
  "# Set the font properties for the title captions\n",
349
  "font = ImageFont.truetype(\"arial.ttf\", 16)\n",
350
  "\n",
351
  "# Iterate over the rows in df_exp3_failures\n",
352
  "for index, row in df_exp3_failures.iterrows():\n",
353
+ " # Create a blank canvas for the concatenated image\n",
354
+ " concatenated_image = Image.new('RGB', (width, height), (255, 255, 255))\n",
355
+ " draw = ImageDraw.Draw(concatenated_image)\n",
356
  " # Get the paths for the stimuli images\n",
357
  " stim1_path = f\"stimuli_v4/{row['stim1']}.png\"\n",
358
  " stim2_path = f\"stimuli_v4/{row['stim2']}.png\"\n",