Skip to content

Tutorials

Start here if you have not used medh5 before. These are worked examples you can run start to finish; they are not a reference, and they leave things out on purpose.

Write and read your first sample Install, write a CT with two labelled structures, read it back, look at it from the shell, index it for training.
Your first training run Sampler, dataset, DataLoader, and reading used_index to tell whether you are scanning.

When you know the shape of the thing, the how-to guides answer specific questions and the reference lists everything.