From bf5b7ae553b05ae060d714a731d920ebd50ba09f Mon Sep 17 00:00:00 2001 From: Newton Sander Date: Mon, 10 Jul 2023 13:25:35 +0200 Subject: [PATCH] Improving gallery docs --- docs/examples/plot_load_ct.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/examples/plot_load_ct.py b/docs/examples/plot_load_ct.py index 6ae3521a..f3b7233b 100644 --- a/docs/examples/plot_load_ct.py +++ b/docs/examples/plot_load_ct.py @@ -2,13 +2,13 @@ """ Loading material mask from a CT scan ==================================== - -The following code is based on NDK's Scenario 2 implementation. -The brain and skull masks are loaded from a CT scan. +This example shows how to load the brain and skull masks of a CT scan and use them +to create a scenario. The currently supported CT scan file formats are [DICOM](https://www.dicomstandard.org/) and [NIfTI](https://nifti.nimh.nih.gov/nifti-1). + You can use NDK to load the brain and skull masks of a CT scan with: ``` from neurotechdevkit.scenarios import ct_loader @@ -38,7 +38,7 @@ materials, ) - +# The following code is based on NDK's Scenario 2 implementation. class ScenarioWithMasksFromCTScan(Scenario2D): _SCENARIO_ID = "scenario-2-2d-custom-ct" _TARGET_OPTIONS = {