We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aede152 + aaafc61 commit 3c9c30aCopy full SHA for 3c9c30a
Python/scripts/characterize_data.py
@@ -17,6 +17,24 @@
17
#
18
# =========================================================================
19
20
+#
21
+# Run the script directly from GitHub without downloading it using uv (https://github.com/astral-sh/uv):
22
+# uv run https://raw.githubusercontent.com/InsightSoftwareConsortium/SimpleITK-Notebooks/refs/heads/main/Python/scripts/characterize_data.py -h
23
24
+
25
26
+# Provide inline script metadata per PEP 723 (https://peps.python.org/pep-0723/)
27
+# /// script
28
+# requires-python = ">=3.11"
29
+# dependencies = [
30
+# "matplotlib",
31
+# "numpy",
32
+# "pandas",
33
+# "tqdm",
34
+# "SimpleITK",
35
+# ]
36
+# ///
37
38
import SimpleITK as sitk
39
import pandas as pd
40
import numpy as np
0 commit comments