dkazanc / TomoPhantom

Software to generate 2D/3D/4D analytical phantoms and their Radon transforms (parallel beam) for image processing
https://dkazanc.github.io/TomoPhantom/
Apache License 2.0
116 stars 53 forks source link

Print instead of error #102

Closed paskino closed 3 years ago

paskino commented 3 years ago

Here the code prints a "warning" to the user. However, this may go unnoticed.

The effect is an empty phantom. IMO the code should raise an exception, or possibly return None

dkazanc commented 3 years ago

thanks, yes I'm currently adding a couple of other things and will fix that as well.