|
55 | 55 | "outputs": [], |
56 | 56 | "source": [ |
57 | 57 | "# Setup the pipeline. You should rarely need to modify these values outside of `num_codes`\n", |
58 | | - "# unless you're switching between different image binning modes (since that changes the pixel sizes).\n", |
| 58 | + "# unless you're switching between different image binning modes (since that changes pixel sizes).\n", |
59 | 59 | "xp = mg.mrbles( # The type of experiment we're processing, in this case mrbles.\n", |
60 | 60 | " \"data/xp1.ome.tif\", # The path to the image we collected.\n", |
61 | 61 | " darkfield=\"data/darkfield.tiff\", # The location of the darkfield correction image.\n", |
|
103 | 103 | } |
104 | 104 | ], |
105 | 105 | "source": [ |
106 | | - "# Now let's check the image corresponding to the 620 channel to make sure magnify correctly processed our experiment.\n", |
| 106 | + "# Now let's check the image corresponding to the 620 channel to make sure magnify correctly\n", |
| 107 | + "# processed our experiment.\n", |
| 108 | + "\n", |
107 | 109 | "# First display the image.\n", |
108 | 110 | "plt.imshow(xp.image.sel(channel=\"620\"))\n", |
109 | 111 | "\n", |
|
163 | 165 | } |
164 | 166 | ], |
165 | 167 | "source": [ |
166 | | - "# We can also visualize the lanthanide ratios for each bead. We see here that we get distinct clusters.\n", |
| 168 | + "# We can also visualize the lanthanide ratios for each bead. We see that we get distinct clusters.\n", |
167 | 169 | "plt.scatter(xp.ln_ratio.sel(ln=\"dy\"), xp.ln_ratio.sel(ln=\"sm\"), s=1.0, alpha=0.3)\n", |
168 | 170 | "plt.xlabel(\"Dy Ratio\")\n", |
169 | 171 | "plt.ylabel(\"Sm Ratio\")" |
|
299 | 301 | }, |
300 | 302 | "outputs": [], |
301 | 303 | "source": [ |
302 | | - "# Setup the pipeline. Here we needed to change darkfield, flatfield, min_bead_radius, and max_bead_radius to account for the 2x2 binning.\n", |
303 | | - "# The filepath supports globs (https://en.wikipedia.org/wiki/Glob_(programming)) so * expands to match anything that matches the pattern.\n", |
304 | | - "# (row), (col) are equivalent to * but they also save the segment of the filename they match in the resulting experiment.\n", |
305 | | - "# In this case we're telling the pipeline that the filename specified the tile column and row.\n", |
| 304 | + "# Setup the pipeline. Here we needed to change darkfield, flatfield, min_bead_radius,\n", |
| 305 | + "# and max_bead_radius to account for the 2x2 binning.\n", |
| 306 | + "# The filepath supports globs (https://en.wikipedia.org/wiki/Glob_(programming)) so * expands to\n", |
| 307 | + "# match anything that matches the pattern.\n", |
| 308 | + "# (row), (col) are equivalent to * but they also save the segment of the filename they match\n", |
| 309 | + "# in the resulting experiment. In this case we're telling the pipeline that the filename specified\n", |
| 310 | + "# the tile column and row.\n", |
306 | 311 | "xp = mg.mrbles(\n", |
307 | 312 | " \"data/06.08.23 1-50 mix/mixed all tile 2b2_2/*Pos(col)_(row).ome.tif\",\n", |
308 | 313 | " darkfield=\"data/darkfield2x2.tiff\",\n", |
|
0 commit comments