leoliuf / MRiLab

A Numerical Magnetic Resonance Imaging (MRI) Simulation Platform
https://leoliuf.github.io/MRiLab/
BSD 2-Clause "Simplified" License
204 stars 63 forks source link

solve cylinder phantom size in Z direction #38

Open Stefano-Orsolini opened 3 years ago

Stefano-Orsolini commented 3 years ago

cylinder phantom were created with half the set length. because cylinder() creates Z to be between 0 and 1 it just needs to be multiplied by Length.