|
115 | 115 | "my_slide0[\"number_pixel_rows_for_chunk\"] = 2048\n", |
116 | 116 | "my_slide0[\"number_pixel_columns_for_chunk\"] = 2048\n", |
117 | 117 | "\n", |
118 | | - "# For each slide, find the appropriate resolution given the desired_magnification and\n", |
| 118 | + "# For each slide, find the appropriate resolution given the target_magnification and\n", |
119 | 119 | "# magnification_tolerance. In this example, we use the same parameters for each slide,\n", |
120 | 120 | "# but this is not required generally.\n", |
121 | 121 | "find_resolution_for_slide = hs.configure.FindResolutionForSlide(\n", |
122 | | - " my_study0, desired_magnification=20, magnification_tolerance=0.02\n", |
| 122 | + " my_study0, target_magnification=20, magnification_source=\"native\"\n", |
123 | 123 | ")\n", |
124 | 124 | "for slide in my_study0[\"slides\"].values():\n", |
125 | 125 | " find_resolution_for_slide(slide)\n", |
|
262 | 262 | "\n", |
263 | 263 | "create_tensorflow_dataset = hs.tensorflow.CreateTensorFlowDataset()\n", |
264 | 264 | "tiles = create_tensorflow_dataset(my_study_of_tiles)\n", |
265 | | - "print(\"Finished with CreateTensorFlowDataset\")" |
| 265 | + "print(\"Finished with CreateTensorFlowDataset\")\n", |
| 266 | + "print(f\"... with tile shape = {tiles.take(1).get_single_element()[0][0].shape}\")" |
266 | 267 | ] |
267 | 268 | }, |
268 | 269 | { |
|
0 commit comments