Releases: bmad-sim/AtomicAndPhysicalConstants.jl
Releases · bmad-sim/AtomicAndPhysicalConstants.jl
v0.8.1
v0.8.0
AtomicAndPhysicalConstants v0.8.0
- 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:
- added e_coulomb (#249) (@lllx125)
- 247 no subs (#250) (@rot4te)
- removed a bunch of commented include/export statements for cleanliness (#251) (@rot4te)
- Changed constant storage from unexported constants at the top level of APC to members of structs (#254) (@rot4te)
- resolves issue #253 (#255) (@rot4te)
- reverted to a single CODATA release (#257) (@rot4te)
- APClite (#259) (@ndwang)
- Update APClite package name (#260) (@ndwang)
- Fixing APClite for BeamTracking (#261) (@ndwang)
Closed issues:
v0.7.2
AtomicAndPhysicalConstants v0.7.2
Fixed gyromagnetic_anomaly() function.
Merged pull requests:
- Fix (#236) (@lllx125)
- I fixed the lookup issue with gyromagnetic_anomaly presented in issue 237 (#238) (@rot4te)
- fixed APCdef name issue and doc issue (#239) (@lllx125)
- Removed tabs. (#240) (@DavidSagan)
- added known values to g_spin (#243) (@rot4te)
- Completed getter function setup (#244) (@rot4te)
- Increment version number. (#245) (@DavidSagan)
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 formass
andcharge
, else returnsnothing
forSpecies
? (#230) - When to use
xof
function vsgetproperty
? (#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
AtomicAndPhysicalConstants v0.7.1
- breaking changes - fixes versioning (works on Julia v1.9, 1.10)
Merged pull requests:
- fixes (#234) (@mattsignorelli)
v0.7.0
AtomicAndPhysicalConstants v0.7.0
Improved documentations, fixed various issues, ready to be used, there are no breaking changes
Merged pull requests:
- added spinof function for all unit types (none/unitful/dynamic) (#196) (@rot4te)
- gyromagnetic fixes + beginning of showconst fix (#202) (@rot4te)
- 171 showconst fix (#204) (@rot4te)
- Full name fix 2 (#205) (@rot4te)
- 199 gyro consistency (#208) (@rot4te)
- added nameof() to APCdef and retired fullname() (#209) (@rot4te)
- Minor doc update. (#210) (@DavidSagan)
- Fix issues (#211) (@lllx125)
- Fix issues (#213) (@lllx125)
- added 'signed' kwarg to g_spin and gyromagnetic_anomaly (#214) (@rot4te)
- 215 spinof (#220) (@rot4te)
- changed units of __b_h_planck in all releases to increase precision (#221) (@rot4te)
- added file to contain some docstrings (#222) (@rot4te)
- Fix (#224) (@lllx125)
- assert->error, version fix (#225) (@mattsignorelli)
- const specifier (#229) (@mattsignorelli)
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 anerror
(#223)
v0.6.5
AtomicAndPhysicalConstants v0.6.5
Various bug fixes and documentation devel.
Merged pull requests:
- Documentation cleanup. (#175) (@DavidSagan)
- Minor doc cleanup. (#176) (@DavidSagan)
- fixed CODATA_release export (#177) (@rot4te)
- Fix docs (#178) (@lllx125)
- fixed the problem with 'gyromagnetic_anomaly' (#179) (@rot4te)
- deleted setisos export (#181) (@lllx125)
- fixed latex (#183) (@lllx125)
- Getprop override (#192) (@rot4te)
- updated docs with explanation of no binding energy (#193) (@rot4te)
- clean up dependencies (#194) (@rot4te)
- edited dependencies + version (#195) (@rot4te)
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
, andg_nucleon
(#167) - Documentation error? (#168)
@APCdef(unitsystem = ACCELERATOR, unittype = DynamicQuantities)
does not give an error (#169)- ERROR: UndefVarError:
CODATA_releases
not defined inMain
(#170) - Should something like
Species("1H")
be accepted? (#172) - setisos() not defined (#173)
@APCdef
parameterunitsystem
not properly documented (#174)- Justify missing binding energy in documentation (#186)
- Override 'getproperty' for Species struct (#187)
- Clean up dependencies (#188)
v0.6.4
V0.6.3
Merge pull request #160 from bmad-sim/fix-random-stuff Fix random stuff
v0.5.1
AtomicAndPhysicalConstants v0.5.1
- Correct proton mass
- correct radius proton/classical electron in tests
- typo warning for
Species
Merged pull requests:
- Added basic unit tests (#123) (@lllx125)
- Fix pmass (#124) (@dtabell)
- Throw errors on arbitrary typo in Species constructor (#126) (@rot4te)
- Version+ (#127) (@rot4te)
Closed issues:
v0.5.0
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:
- Reorg. (#2) (@DavidSagan)
- init3 (#3) (@github-actions[bot])
- init4 (#5) (@github-actions[bot])
- created getMasses function (#10) (@lllx125)
- Update README.md (#11) (@rot4te)
- Update AtomicSpecies.jl (#12) (@rot4te)
- Update SubatomicSpecies.jl (#13) (@rot4te)
- set unit with symbols for particles and global constants (#23) (@lllx125)
- Devel/01 (#33) (@DavidSagan)
- Solve issue 42 (#54) (@rot4te)
- resolved issues with spin of atomic particles (#55) (@rot4te)
- added export statements (#57) (@rot4te)
- 47 unitful (#59) (@lllx125)
- Minor fix to enable package to compile. (#60) (@DavidSagan)
- Corrected defining e and amu with Unitful. (#61) (@DavidSagan)
- improved type stability of species, fixed consts (#63) (@mattsignorelli)
- Now
amu
ande
are properly exported. (#66) (@DavidSagan) - addressing issue 70 (#71) (@rot4te)
- 69 optional argument (#72) (@lllx125)
- re-exported Unitful, updated dependency (#74) (@lllx125)
- added units to the constants, change variables to .val, changed setunit (#78) (@lllx125)
- 75+ edit species mass unit (#80) (@rot4te)
- 82 spin units (#83) (@rot4te)
- 75 fix mass function (#84) (@lllx125)
- Update README.md (#87) (@mattsignorelli)
- made global constants and current_units type stable (#92) (@lllx125)
- Version is now 0.2.1 . (#95) (@DavidSagan)
- New setunits (#96) (@lllx125)
- Species unit fixes (#97) (@rot4te)
- Upped version. (#98) (@DavidSagan)
- 99 spin units (#100) (@rot4te)
- fixed species unit printing (#101) (@rot4te)
- Use Macros to define new variables (#102) (@lllx125)
- updated the hbar unit. (#103) (@rot4te)
- Null species type added + species unit readout fixed (#105) (@rot4te)
- removed parametrization of Species (#106) (@rot4te)
- Updated version. (#108) (@DavidSagan)
- added particle types (#110) (@rot4te)
- Cleanup of
Kind
enum. (#111) (@DavidSagan) - Full name fix (#112) (@rot4te)
- changed photon type to PHOTON (#113) (@rot4te)
- Documentation (#115) (@lllx125)
- charged species argument types (#116) (@rot4te)
- fixed URL issues (#117) (@lllx125)
- Fixed [compat] section of Project.toml (#118) (@DavidSagan)
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 ofParticle
(#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
tomass
, 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 ofSpecies
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 currentUnitSystem
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)