bmad-sim / AtomicAndPhysicalConstants.jl

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

Set unit with symbols and new specification #22

Closed lllx125 closed 4 months ago

lllx125 commented 4 months ago

the new setunits() uses symbols as arguments. I will implement massof(), velocityof() functions shortly

lllx125 commented 4 months ago

I added the mass of (), charge of functions as specified.

DavidSagan commented 4 months ago

Minor stuff: The tounit documentation has tounits. Also in the tounit doc unit is called a keyword parameter. It is actually a positional argument.