These methods are currently implemented as individual statements, but they could be implemented as the result of a function. This allows them to be documented better. Instead of functions, these would allow the user to access the values as if they were attributes, which is more pythonic.
Problem
These methods are currently implemented as individual statements, but they could be implemented as the result of a function. This allows them to be documented better. Instead of functions, these would allow the user to access the values as if they were attributes, which is more pythonic.
Proposed solution
change
to
Assignees: Labels:
https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/microstructure/shpere_particles.py#L96-L103