bmad-sim / AtomicAndPhysicalConstants.jl

Julia package for handling particle identification in simulations.
MIT License
0 stars 1 forks source link

Need full_name() function #42

Open DavidSagan opened 2 weeks ago

DavidSagan commented 2 weeks ago

Need a function that will return the "full" name string with isotope and charge state included. For example, full_name(Particle("He",2)) should return "He++".

It would be nice for full_name to have the option to return the unicode string with appropriate subscripts and superscripts. For example, return "³He" instead of "#3He"