Skip to content

Commit

Permalink
Improving gallery docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NewtonSander committed Jul 10, 2023
1 parent c31575e commit bf5b7ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/examples/plot_load_ct.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit bf5b7ae

Please sign in to comment.