{ "cells": [ { "cell_type": "markdown", "id": "633f7334", "metadata": {}, "source": [ "# NF1 3D pilot cropped voxel view\n", "\n", "View real 3D single-cell crops (with mask overlays) from two NF1 wells in one `CytoDataFrame`.\n", "\n", "Most of the setup below isn't about `CytoDataFrame` -- it's working around this\n", "data's layout, which doesn't look like typical CellProfiler output:\n", "\n", "- There are no `Image_FileName_*`/`Image_PathName_*` columns, so each row's raw\n", " image path is built from the patient/well/field metadata (`load_image_set`).\n", "- Every well's mask file has the exact same generic name (`nuclei_mask.tiff`),\n", " so combining two wells into one table needs `stage_mask` to tell them apart\n", " -- a single-well notebook wouldn't need this at all.\n", "\n", "The actual `CytoDataFrame(...)` call at the end is just a handful of arguments." ] }, { "cell_type": "code", "execution_count": 1, "id": "7967ce3f", "metadata": { "execution": { "iopub.execute_input": "2026-09-22T22:35:54.865756Z", "iopub.status.busy": "2026-09-22T22:35:54.865377Z", "iopub.status.idle": "2026-09-22T22:35:55.409082Z", "shell.execute_reply": "2026-09-22T22:35:55.408497Z" } }, "outputs": [], "source": [ "import os\n", "import pathlib\n", "import re\n", "import tempfile\n", "\n", "import pandas as pd\n", "\n", "from cytodataframe import CytoDataFrame\n", "\n", "# Local mount point for bandicoot. Set BANDICOOT_LOCAL_BASE if it is mounted\n", "# somewhere else on your machine.\n", "BANDICOOT_LOCAL_BASE = pathlib.Path(\n", " os.environ.get(\"BANDICOOT_LOCAL_BASE\", \"~/mnt/bandicoot\")\n", ").expanduser()\n", "DATA_DIR = BANDICOOT_LOCAL_BASE / \"NF1_organoid_data/data\"\n", "PROFILES_DIR = (\n", " DATA_DIR / \"image_based_profiles_production_zedprofiler/ibp/sc_profiles_related\"\n", ")\n", "if not PROFILES_DIR.is_dir():\n", " raise FileNotFoundError(\n", " f\"Profiles not found at {PROFILES_DIR}. Set the BANDICOOT_LOCAL_BASE \"\n", " \"environment variable to wherever bandicoot is mounted on this machine.\"\n", " )\n", "\n", "# An \"image set\" here is one well + field-of-view (one 3D image). Add every\n", "# image set you want to view to this list -- e.g. all wells/fields in a\n", "# plate for per-plate QC -- not just the two shown here.\n", "IMAGE_SETS = [\n", " \"NF0055_T1__NF0055_T1__B10__F1\",\n", " \"NF0014_T1__NF0014_T1__C4__F2\",\n", "]\n", "CHANNEL = \"DNA\"\n", "CHANNEL_CODE = \"405\"\n", "COMPARTMENT = \"Nuclei\"\n", "\n", "# Every well's mask file has the same generic name (e.g. \"nuclei_mask.tiff\"),\n", "# but CytoDataFrame's data_mask_context_dir only matches masks by filename\n", "# pattern within one shared directory -- it can't tell two identically-named\n", "# files in different wells apart. MASK_LINK_DIR is a scratch directory (not\n", "# part of the repo) that `stage_mask` below fills with per-well symlinks to\n", "# the real mask files, renamed to embed each well's own identifier, so that\n", "# matching works.\n", "MASK_LINK_DIR = pathlib.Path(tempfile.gettempdir()) / \"cytodataframe_nf1_3d_mask_links\"\n", "MASK_LINK_DIR.mkdir(exist_ok=True)\n", "\n", "\n", "def load_image_set(image_set: str) -> tuple[pd.DataFrame, pathlib.Path, pathlib.Path]:\n", " profiles = pd.read_parquet(PROFILES_DIR / f\"{image_set}.parquet\").head(1)\n", " row = profiles.iloc[0]\n", " patient = row[\"Metadata_Biology_PatientTumor\"]\n", " # e.g. B10-1\n", " well_field = (\n", " f\"{row['Metadata_Experiment_WellID']}-{row['Metadata_Imaging_FieldID']}\"\n", " )\n", "\n", " channel_path = (\n", " DATA_DIR\n", " / patient\n", " / \"zstack_images\"\n", " / well_field\n", " / f\"{well_field}_{CHANNEL_CODE}.tif\"\n", " )\n", " mask_path = (\n", " DATA_DIR\n", " / patient\n", " / \"segmentation_masks\"\n", " / well_field\n", " / f\"{COMPARTMENT.lower()}_mask.tiff\"\n", " )\n", " profiles[f\"Image_FileName_{CHANNEL}\"] = str(channel_path)\n", " return profiles, channel_path, mask_path\n", "\n", "\n", "def stage_mask(channel_path: pathlib.Path, mask_path: pathlib.Path) -> pathlib.Path:\n", " # See MASK_LINK_DIR above for why this exists.\n", " link = MASK_LINK_DIR / f\"{channel_path.stem}__{mask_path.name}\"\n", " if not link.exists():\n", " link.symlink_to(mask_path)\n", " return link" ] }, { "cell_type": "markdown", "id": "cad4d181", "metadata": {}, "source": [ "Load one object per well into a single two-row table." ] }, { "cell_type": "code", "execution_count": 2, "id": "ee55b730", "metadata": { "execution": { "iopub.execute_input": "2026-09-22T22:35:55.410551Z", "iopub.status.busy": "2026-09-22T22:35:55.410439Z", "iopub.status.idle": "2026-09-22T22:35:56.906940Z", "shell.execute_reply": "2026-09-22T22:35:56.905833Z" } }, "outputs": [], "source": [ "profile_rows = []\n", "for image_set in IMAGE_SETS:\n", " profiles, channel_path, mask_path = load_image_set(image_set)\n", " stage_mask(channel_path, mask_path)\n", " profile_rows.append(profiles)\n", "\n", "profiles = pd.concat(profile_rows, ignore_index=True)\n", "mask_name = mask_path.name" ] }, { "cell_type": "code", "execution_count": 3, "id": "f8431d7c", "metadata": { "execution": { "iopub.execute_input": "2026-09-22T22:35:56.910234Z", "iopub.status.busy": "2026-09-22T22:35:56.909395Z", "iopub.status.idle": "2026-09-22T22:44:25.572399Z", "shell.execute_reply": "2026-09-22T22:44:25.570369Z" } }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "4f7a043f9747408581b92b1235074112", "version_major": 2, "version_minor": 0 }, "text/plain": [ "GridspecLayout(children=(HTML(value=\"
0
" } }, "1ae93a92b393474c916464624d1d7cbd": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_267839840c89421e96530c63c0d6790e", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "2153def2b6bf4d48883458edb4154391": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "22ff6b30fa88411a87b08dcf69413b87": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_99e737acef45477c938e5002e5a3f3ac", "placeholder": "​", "style": "IPY_MODEL_95ef186605a24d409afcf638a50c0c39", "tabbable": null, "tooltip": null, "value": "
1
" } }, "267839840c89421e96530c63c0d6790e": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": "700px", "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": "visible", "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "27567189e2924de594242f7e964b9cdc": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "281fe9ec96a648faa5c7329b6d12565d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "SliderStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "SliderStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "description_width": "auto", "handle_color": null } }, "49c6a3bdadaa4f0fadb5237d8d3c5a9a": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "4f7a043f9747408581b92b1235074112": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "GridBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "GridBoxView", "box_style": "", "children": [ "IPY_MODEL_abfc5e34fa8641ea80d4620c02df2107", "IPY_MODEL_98709585fbf14e38aad924ea451c38da", "IPY_MODEL_1946448e6ee5495ab714b601af5c35d9", "IPY_MODEL_00b6470f94d64caabe898455baa6f743", "IPY_MODEL_22ff6b30fa88411a87b08dcf69413b87", "IPY_MODEL_7d0acc65428a48db8a0f7f047db19902" ], "layout": "IPY_MODEL_039033a3903d4e65b803ba07b5956c66", "tabbable": null, "tooltip": null } }, "5434424526a64314bb42a2a16d26b73d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_66a8b708fc8043eab3a8ee41422c6f1f", "placeholder": "​", "style": "IPY_MODEL_49c6a3bdadaa4f0fadb5237d8d3c5a9a", "tabbable": null, "tooltip": null, "value": "" } }, "5f902917855647e48299fd98ceb37aaa": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": "widget002", "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "28px", "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "649a7f3505d641598c6511810c666232": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": "stretch", "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": "flex", "flex": null, "flex_flow": null, "grid_area": "widget006", "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "260px", "justify_content": "flex-start", "justify_items": null, "left": null, "margin": "0", "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": "hidden", "padding": "0", "right": null, "top": null, "visibility": null, "width": "100%" } }, "66a8b708fc8043eab3a8ee41422c6f1f": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "100%", "justify_content": null, "justify_items": null, "left": null, "margin": "0", "max_height": null, "max_width": null, "min_height": "260px", "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": "0", "right": null, "top": null, "visibility": null, "width": "100%" } }, "7d0acc65428a48db8a0f7f047db19902": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "BoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "BoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "BoxView", "box_style": "", "children": [ "IPY_MODEL_5434424526a64314bb42a2a16d26b73d" ], "layout": "IPY_MODEL_649a7f3505d641598c6511810c666232", "tabbable": null, "tooltip": null } }, "87b67c366fb04ef0b750ddc30887dc9a": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": "700px", "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": "visible", "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "8d10d5a644ea4dd89bea4062aed52dde": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "95ef186605a24d409afcf638a50c0c39": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "98709585fbf14e38aad924ea451c38da": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_5f902917855647e48299fd98ceb37aaa", "placeholder": "​", "style": "IPY_MODEL_10a5efab8c224bdbae8e393b232cd4f3", "tabbable": null, "tooltip": null, "value": "
Image_FileName_DNA
" } }, "99e737acef45477c938e5002e5a3f3ac": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": "widget005", "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "100%", "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "9d7290fd2f3746cca7a43d9933464359": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "IntSliderModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "IntSliderView", "behavior": "drag-tap", "continuous_update": false, "description": "Image adjustment:", "description_allow_html": false, "disabled": false, "layout": "IPY_MODEL_27567189e2924de594242f7e964b9cdc", "max": 100, "min": 0, "orientation": "horizontal", "readout": true, "readout_format": "d", "step": 1, "style": "IPY_MODEL_101ba03f004e4783b96193d6db47262d", "tabbable": null, "tooltip": null, "value": 50 } }, "a0ca7155f15a4a3899901b4675432cb3": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "100%", "justify_content": null, "justify_items": null, "left": null, "margin": "0", "max_height": null, "max_width": null, "min_height": "260px", "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": "0", "right": null, "top": null, "visibility": null, "width": "100%" } }, "a1012ff293eb401893241910feac65cc": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "aac99c5f0f4b4da084eadba534e24334": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_a0ca7155f15a4a3899901b4675432cb3", "placeholder": "​", "style": "IPY_MODEL_d6e730a83db14429a8313ce4706e596e", "tabbable": null, "tooltip": null, "value": "" } }, "abfc5e34fa8641ea80d4620c02df2107": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "HTMLView", "description": "", "description_allow_html": false, "layout": "IPY_MODEL_05be29ce0dc840cf8f05eb2907fb9c9c", "placeholder": "​", "style": "IPY_MODEL_2153def2b6bf4d48883458edb4154391", "tabbable": null, "tooltip": null, "value": "
" } }, "c1b8bb8f8a67479ba8aa1977c5f7887e": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "ce1feb193d0241aca1d58d406988c8e1": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": "700px", "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": "visible", "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "d3da836949dd44c08f652796e982cb59": { "model_module": "@jupyter-widgets/output", "model_module_version": "1.0.0", "model_name": "OutputModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/output", "_model_module_version": "1.0.0", "_model_name": "OutputModel", "_view_count": null, "_view_module": "@jupyter-widgets/output", "_view_module_version": "1.0.0", "_view_name": "OutputView", "layout": "IPY_MODEL_87b67c366fb04ef0b750ddc30887dc9a", "msg_id": "", "outputs": [], "tabbable": null, "tooltip": null } }, "d6e730a83db14429a8313ce4706e596e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "HTMLStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "HTMLStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "StyleView", "background": null, "description_width": "", "font_size": null, "text_color": null } }, "f3657d6d3cfb430996c3fc2c93b50747": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "IntSliderModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "IntSliderView", "behavior": "drag-tap", "continuous_update": false, "description": "Image adjustment:", "description_allow_html": false, "disabled": false, "layout": "IPY_MODEL_1167aad1529646fb810382d21208169f", "max": 100, "min": 0, "orientation": "horizontal", "readout": true, "readout_format": "d", "step": 1, "style": "IPY_MODEL_1740857c7e8a4284b1137b20e4dbbe1f", "tabbable": null, "tooltip": null, "value": 50 } }, "f64a6be3ac654e608c208d031880bd66": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": "widget003", "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": "100%", "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "100%" } }, "f678e30977954fc1b9fe0bbbce9f78de": { "model_module": "@jupyter-widgets/controls", "model_module_version": "2.0.0", "model_name": "IntSliderModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "2.0.0", "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "2.0.0", "_view_name": "IntSliderView", "behavior": "drag-tap", "continuous_update": false, "description": "Image adjustment:", "description_allow_html": false, "disabled": false, "layout": "IPY_MODEL_8d10d5a644ea4dd89bea4062aed52dde", "max": 100, "min": 0, "orientation": "horizontal", "readout": true, "readout_format": "d", "step": 1, "style": "IPY_MODEL_281fe9ec96a648faa5c7329b6d12565d", "tabbable": null, "tooltip": null, "value": 50 } }, "ff591446d7894b1fb639b526a471bc8f": { "model_module": "@jupyter-widgets/base", "model_module_version": "2.0.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "2.0.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "2.0.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border_bottom": null, "border_left": null, "border_right": null, "border_top": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } } }, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }