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

import of ArtifactClass is cumbersome #71

Closed paskino closed 5 years ago

paskino commented 5 years ago

While this is not wrong, it makes syntaxis a bit cumbersome


import tomophantom
import tomophantom.supp.artifacts
from tomophantom.supp.artifacts import ArtifactClass

artifact = ArtifactClass(sino)

while it'd be easier to do

from tomophantom.supp.artifacts import ArtifactClass

artifact = ArtifactClass(sino)
paskino commented 5 years ago

my bad, I forgot an s