Skip to content

Releases: bmad-sim/AtomicAndPhysicalConstants.jl

v0.8.1

15 Oct 12:52
e6e02d7

Choose a tag to compare

AtomicAndPhysicalConstants v0.8.1

Diff since v0.8.0

  • Fix MeV mass to eV
  • fix show

Merged pull requests:

  • Update mass units from MeV to eV across codebase (#262) (@ndwang)

Closed issues:

  • Fix show for Species (#263)

v0.8.0

04 Oct 12:36
7e7225b

Choose a tag to compare

AtomicAndPhysicalConstants v0.8.0

Diff since v0.7.2

  • Major breaking changes
  • Package structure/API (temporarily?) overhauled
  • No more macro, no more different unit types. Everything is Float64
  • See documentation for more updates

Merged pull requests:

Closed issues:

  • showconst() improvements (#206)
  • @APCdef name kwarg should only accept Symbol not String (#227)
  • Should constants be in fixed units? (#246)
  • include in @APCdef (#252)
  • gyromagnetic_anomaly (#253)

v0.7.2

27 Aug 21:07
e91be49

Choose a tag to compare

AtomicAndPhysicalConstants v0.7.2

Diff since v0.7.1

Fixed gyromagnetic_anomaly() function.

Merged pull requests:

Closed issues:

  • Keep NIST negative sign for electron g factor? (#207)
  • g_spin function too complicated? (#216)
  • Remove explicit tabs in files and replace with two spaces. (#218)
  • What does @APCdef do? (#226)
  • Why getproperty only checks for mass and charge, else returns nothing for Species? (#230)
  • When to use xof function vs getproperty? (#231)
  • Ownership of getter functions (#232)
  • Issue with gyromagnetic_anomaly (#237)
  • No unit for "magnetic field" in @APCdef (#241)
  • g_spin does not return values when they are listed in the constants file (#242)

v0.7.1

04 Aug 18:23
701b232

Choose a tag to compare

AtomicAndPhysicalConstants v0.7.1

Diff since v0.7.0

  • breaking changes - fixes versioning (works on Julia v1.9, 1.10)

Merged pull requests:

v0.7.0

04 Aug 16:19
8975b8b

Choose a tag to compare

AtomicAndPhysicalConstants v0.7.0

Diff since v0.6.5

Improved documentations, fixed various issues, ready to be used, there are no breaking changes

Merged pull requests:

Closed issues:

  • Need spinof funciton. (#165)
  • showconst() Problems (#171)
  • Misleading documentation for Species (#182)
  • Some documentation critiques (#184)
  • Constants should be obtainable outside struct (#185)
  • More specific docs for @APCdef (both in manual and in ? mode) (#190)
  • Incorrect documentation for @APCdef (#191)
  • openPMD unit system (#197)
  • Intended way to use @APCdef? (#198)
  • BitsSpecies or something like that (#200)
  • Need nameof() function for Species (#201)
  • full_name(Species ("He+")) throws an error. (#203)
  • Check g_function outputs against values reported by NIST and add "signed::Bool=true" to kwargs (#212)
  • Need s_spin function (#215)
  • Julia REPL help for Species produces multiple copies of the documentation! (#217)
  • AssertionError should be an error (#223)

v0.6.5

13 May 04:17
85f4c39

Choose a tag to compare

AtomicAndPhysicalConstants v0.6.5

Diff since v0.6.4

Various bug fixes and documentation devel.

Merged pull requests:

Closed issues:

  • Clean up of directories, variable names, file organization, etc (#53)
  • AcceleratorSimUtils failure due to change in APC. (#161)
  • gyromagnetic_anomaly() function does not work (#166)
  • Documentation: Need to define functions g_spin, gyromagnetic_anomaly, and g_nucleon (#167)
  • Documentation error? (#168)
  • @APCdef(unitsystem = ACCELERATOR, unittype = DynamicQuantities) does not give an error (#169)
  • ERROR: UndefVarError: CODATA_releases not defined in Main (#170)
  • Should something like Species("1H") be accepted? (#172)
  • setisos() not defined (#173)
  • @APCdef parameter unitsystem not properly documented (#174)
  • Justify missing binding energy in documentation (#186)
  • Override 'getproperty' for Species struct (#187)
  • Clean up dependencies (#188)

v0.6.4

14 Apr 20:08
074514f

Choose a tag to compare

AtomicAndPhysicalConstants v0.6.4

Diff since v0.6.3

Bug fix Species definition.

Merged pull requests:

Closed issues:

  • @APCdef docstring seems to be out of date (#152)
  • Unable to load packages that use @APCdef (#153)
  • Default CODATA year (#156)
  • Constants not defined (#158)

V0.6.3

09 Apr 19:33
17d57e9

Choose a tag to compare

Merge pull request #160 from bmad-sim/fix-random-stuff

Fix random stuff

v0.5.1

20 Jan 18:43
11ab950

Choose a tag to compare

AtomicAndPhysicalConstants v0.5.1

Diff since v0.5.0

  • Correct proton mass
  • correct radius proton/classical electron in tests
  • typo warning for Species

Merged pull requests:

Closed issues:

  • Misspelled atom species string not caught (#56)
  • use count for +, - in Species and remove tryparse (#64)
  • export ATOM HADRON LEPTON PHOTON NULL (#119)

v0.5.0

09 Jan 21:45
637c837

Choose a tag to compare

AtomicAndPhysicalConstants v0.5.0

AtomicAndPhysicalConstants.jl provides a quick way to access information about different species and physical constants, optimized for fast compile and computation times.

Merged pull requests:

Closed issues:

  • Thought: Rename to FundamentalConstants and add in physical constants. (#1)
  • Constants units (#7)
  • anomalous dipole moment (#14)
  • Changing units (#15)
  • Changing units in a consistent fashion (#19)
  • Photon particle designation needed (#21)
  • using statements should be consolodated (#24)
  • Anti-atoms (#25)
  • Expand Particle() function to take first arg string encoded with mass and charge. (#26)
  • Warning when using AtomicAndPhysicalConstants (#28)
  • setunits changes the unit system. (#29)
  • atomicnumber function needed (#32)
  • Particle("He+") not handled correctly. (#38)
  • Particle help doc string does not include information as to the fields of the struct (#40)
  • Particle struct needs to record isotopic number for atoms (#41)
  • Use the name Species instead of Particle (#45)
  • Migrate unit management to Unitful.jl (#46)
  • Reimplement SetUnit.jl with functions from Unitful.jl (#47)
  • Clean up directories, names, etc (#52)
  • Making Unitful units available to the user (#62)
  • Doc and code do not agree (#65)
  • using const may cause problems if fundamental constants are switched on the fly. (#67)
  • consider using renaming massof to mass, etc. (#68)
  • Add optional argument to setunits to prevent printing of units (#69)
  • Documentation on Species needs modification (#70)
  • massof does not return the correct mass. (#75)
  • Make physical constants Unitful Objects (#77)
  • Unitful code added to physical_constants.jl should be elsewhere (#79)
  • Rename Species mass field (#81)
  • spin field of Species should be in units of hbar and not eV.s (#82)
  • Change global variables defined in any function to be defined in module (#88)
  • Make setunits return the current UnitSystem type, remove print (#91)
  • reimplement setunits() with preferunit. mass(), charge(), with uprefer, and return dimensional object. Physical constants with default units (#93)
  • Spin prints in units of Joule-seconds, should be \hbar (#99)
  • Species() parameters (#114)