MRsources / MRzero-Core

GNU Affero General Public License v3.0
27 stars 6 forks source link

Make BrainWeb phantom generation visible #49

Closed J-Endres closed 5 months ago

J-Endres commented 6 months ago

Brainweb phantoms can be generated with something like the following code:

from MRzeroCore.phantom import brainweb
brainweb.generate_brainweb_phantoms("my_output_dir", "3T")

This is not exposed in the documentation and the function is not re-exported. We should explicitely explain how the generation works, what settings are available (see "brainweb_data.json") and re-export the function.

J-Endres commented 5 months ago

This is already docmented here: https://mrzero-core.readthedocs.io/en/latest/phantom_generation.html

Commit 070aa4f93987e84b5e90754e79dc72f9a821ce25 also added an explicit link to the file containing the tissue data.