Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added CLI-Demos/Bmode_voi_with_mc_P05_02.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added CLI-Demos/CEUS_voi_with_mc_P05_02.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,431 changes: 1,431 additions & 0 deletions CLI-Demos/MC_3D_test.ipynb

Large diffs are not rendered by default.

229 changes: 229 additions & 0 deletions CLI-Demos/Vevo2100_test.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CLI-Demos/curve_loaded.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "base",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -188,7 +188,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.10.19"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions CLI-Demos/paramaps_generation_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 1,
"id": "864b1626",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"/home/das/QuantUS_Projs/QuantUS-Plugins-CEUS\n",
"/home/das/QuantUS_Projs\n"
"/Users/wuyuanshan/Desktop/Github/QuantUS-Plugins-CEUS/CLI-Demos\n",
"/Users/wuyuanshan/Desktop/Github/QuantUS-Plugins-CEUS\n"
]
}
],
Expand All @@ -37,15 +37,15 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 2,
"id": "8171c88c",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Available scan loaders: ['nifti']\n"
"Available scan loaders: ['avi', 'nifti', 'custom_dicom', 'mp4']\n"
]
}
],
Expand Down Expand Up @@ -524,7 +524,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.10.18"
}
},
"nbformat": 4,
Expand Down
477 changes: 385 additions & 92 deletions CLI-Demos/ttc_demo.ipynb

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ The end goal here is to support this entire customizable workflow through a GUI.
python src/gui/run.py
```

```bash
# If the couldn't find src module error message appears
python -m src.gui.run
```

4. **Parametric Map Viewing**

Parametric maps generated from the workflow can be viewed in both 2D and 3D. A tutorial for achieving this is in the `CLI-Demos/paramaps_viewing_demo.ipynb` notebook.
Expand All @@ -84,6 +89,13 @@ Parametric maps generated from the workflow can be viewed in both 2D and 3D. A t

Examples in `CLI-Demos` illustrate how each individual step in the workflow can be accessed via a packaged Python entrypoint. This can be used for advanced workflow customization directly in Python.

6. **Trouble Shooting **
```bash
# If you encounter an error with 'cocoa'
pip uninstall PyQt6 PyQt6-Qt6 PyQt6_sip
pip install PyQt6
```

### Recommended workflow

For projects starting with just CEUS scans and no segmentations, the recommended usage would be to first draw and save segmentations for each scan using the GUI. Next, an ideal analysis config can be found via trial and error using the CLI on a select few of the scan/segmentation pairs. Last, batch processing with the finalized config can be run with scripting.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ psutil==7.0.0
pure_eval==0.2.3
pydicom
Pygments==2.19.1
pyradiomics==3.0.1
# pyradiomics==3.0.1
python-dateutil==2.9.0.post0
pyqtdarktheme
PyQt6==6.7.1
Expand Down
Loading