From 2074ac91e1164ad1ef306e989098d81cb6b2be18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Mon, 25 May 2020 17:38:24 +0100 Subject: [PATCH] Release v0.2.1 --- NEWS.md | 6 ++++++ Project.toml | 2 +- README.md | 4 ++++ REQUIRE | 3 --- src/PhysicalConstants.jl | 20 ++++++++++---------- 5 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 REQUIRE diff --git a/NEWS.md b/NEWS.md index 7da9789..8c85792 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,12 @@ History of PhysicalConstants.jl =============================== +v0.2.1 (2020-05-25) +------------------- + +* Documentation available at + https://juliaphysics.github.io/PhysicalConstants.jl/stable/ + v0.2.0 (2019-05-21) ------------------- diff --git a/Project.toml b/Project.toml index 00b30fb..91fa82e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PhysicalConstants" uuid = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab" authors = ["Mosè Giordano "] -version = "0.2.0" +version = "0.2.1" [deps] Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" diff --git a/README.md b/README.md index 099774a..11f2a91 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,10 @@ julia> measurement(BigFloat, ħ) / (measurement(BigFloat, h) / (2 * big(pi))) 1.0 ± 0.0 ``` +For more information read the +[documentation](https://juliaphysics.github.io/PhysicalConstants.jl/stable/), +which includes the full list of constants defined by the package. + License ------- diff --git a/REQUIRE b/REQUIRE deleted file mode 100644 index 6ced1b8..0000000 --- a/REQUIRE +++ /dev/null @@ -1,3 +0,0 @@ -julia 1.0 -Measurements 2.0.0 -Unitful 0.15.0 diff --git a/src/PhysicalConstants.jl b/src/PhysicalConstants.jl index 6251f46..a31d126 100644 --- a/src/PhysicalConstants.jl +++ b/src/PhysicalConstants.jl @@ -275,20 +275,20 @@ precision can be optionally specified with the `FloatType`, `Float64` by default ```jldoctest julia> using PhysicalConstants.CODATA2018, Measurements -julia> import PhysicalConstants.CODATA2018: h +julia> import PhysicalConstants.CODATA2018: μ_0 -julia> h -Planck constant (h) -Value = 6.62607015e-34 J s -Standard uncertainty = (exact) -Relative standard uncertainty = (exact) +julia> μ_0 +Vacuum magnetic permeability (μ_0) +Value = 1.25663706212e-6 N A^-2 +Standard uncertainty = 1.9e-16 N A^-2 +Relative standard uncertainty = 1.5e-10 Reference = CODATA 2018 -julia> measurement(h) -6.62607015e-34 ± 0.0 J s +julia> measurement(μ_0) +1.25663706212e-6 ± 1.9e-16 N A^-2 -julia> measurement(Float32, h) -6.62607e-34 ± 0.0 J s +julia> measurement(Float32, μ_0) +1.256637e-6 ± 1.9e-16 N A^-2 ``` """ measurement(::PhysicalConstant)