Skip to content

Sync fork - #48

Merged
olemarius90 merged 3 commits into
unioslo:masterfrom
olemarius90:master
May 18, 2026
Merged

olemarius90 merged 3 commits into
unioslo:masterfrom
olemarius90:master

Conversation

@olemarius90

Copy link
Copy Markdown
Collaborator

No description provided.

cursoragent and others added 3 commits May 15, 2026 08:05
Those chamber .uff files are not on Zenodo 19550715.

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>
* Migrate all dataset downloads from ustb.no to Zenodo record 20261898

- Add +tools/zenodo_dataset_files_base.m pointing to https://zenodo.org/records/20261898/files
- Rewrite +tools/download.m to use websave (handles Zenodo headers); keep Google Drive path
- Replace url='http(s)://ustb.no/datasets/' with url = tools.zenodo_dataset_files_base() in:
  - 65+ MATLAB scripts (examples/, publications/, tests/, sandbox/)
  - Python examples/utils.py and minimal_example.py
  - Python notebooks (4 .ipynb)
  - website/datasets.html and build_datasets_page.py
  - Dataset smoke tests (run/export scripts, registry comments)
- Replace nyhirse.medisin.ntnu.no GCNR URLs (Invitro, Insilico, NLM) with Zenodo
- @unit_test/TE_ps_* left on ustb.no/datasets/ps (ps.zip and .mat files not on Zenodo)
- Verified: integration tests pass with Zenodo downloads

Files NOT on Zenodo 20261898 (need upload or removal from registry):
  - ps.zip, ps_*.mat (unit_test legacy)
  - FieldII_STAI_axial_gradient_v2.uff
  - FieldII_STAI_gradient_full_field_100.uff
  - test02.uff
  - P4_FI.uff

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Replace P4_FI.uff with P4_FI_121444_45mm_focus.uff (available on Zenodo 20261898)

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Replace test02.uff with PICMUS_simulation_contrast_speckle.uff (available on Zenodo)

CPWC_UFF_read.m now reads /beamformed_data and /channel_data from the PICMUS file.
Removed duplicate test02.uff case from dataset_preview_beamform.m (already covered).

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Remove FieldII_STAI_*gradient* from registry (not on Zenodo, not main scripts)

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Migrate @unit_test ps.zip download to Zenodo record 20269473

- Add download_ps_test_data.m helper (downloads ps.zip, unzips to data/ps/)
- unit_test.download_UT_data now delegates to download_ps_test_data
- All TE_ps_* tests call download_ps_test_data() instead of individual ustb.no downloads
- No ustb.no references remain in active @unit_test code

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Switch ps test data to individual .mat downloads from Zenodo 20269473

All 12 .mat files now available individually on Zenodo — no zip/unzip needed.

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Fix: ps test data Zenodo record is 20270074 (not 20269473)

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

* Fix: move download_ps_test_data to +tools/ (visible on MATLAB path)

Files inside @unit_test/ are class methods, not standalone functions.

Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ole Marius Hoel Rindal <olemarius90@users.noreply.github.com>
@olemarius90
olemarius90 merged commit c4ea871 into unioslo:master May 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants