Marey.Uncertainty
1.0.0
dotnet add package Marey.Uncertainty --version 1.0.0
NuGet\Install-Package Marey.Uncertainty -Version 1.0.0
<PackageReference Include="Marey.Uncertainty" Version="1.0.0" />
<PackageVersion Include="Marey.Uncertainty" Version="1.0.0" />
<PackageReference Include="Marey.Uncertainty" />
paket add Marey.Uncertainty --version 1.0.0
#r "nuget: Marey.Uncertainty, 1.0.0"
#:package Marey.Uncertainty@1.0.0
#addin nuget:?package=Marey.Uncertainty&version=1.0.0
#tool nuget:?package=Marey.Uncertainty&version=1.0.0
Marey.Uncertainty
Measurement uncertainty for Marey, as the GUM (JCGM 100) evaluates it. A value carries its standard uncertainty and every input it rests on, through the arithmetic and under F# units of measure.
#r "nuget: Marey.Uncertainty"
open Marey
open Marey.UnitsOfMeasure
let length = Uncertain.resolution "Length" U.metre 0.800<m> 1e-3<m>
let tenSwings = Uncertain.ofReadings "Ten periods" U.second [ 17.951<s>; 17.901<s>; 17.971<s>; 17.921<s>; 17.911<s> ]
let stopwatch = Uncertain.certificate "Stopwatch calibration" U.second 0.0<s> 0.02<s> 2.0
let period = (tenSwings + stopwatch) / 10.0
let g = 4.0 * System.Math.PI ** 2.0 * length / (period * period) // Uncertain<m/s^2>
Uncertain.report g // 9.823(18) m·s⁻²
Uncertain.budget g |> Budget.text // which input to improve
Uncertain.expanded 0.95 g |> Uncertain.reportExpanded // (9.823 ± 0.041) m·s⁻² (k = 2.23, 95 %, ν = 10)
What is in it
- Inputs as a lab names them.
ofReadings(type A: the mean, s/√n, n − 1 degrees of freedom),resolution(a reading's step, /√12),rectangular,triangularandarcsinehalf-widths,certificate(an expanded uncertainty and its k, orcertificateAtits coverage probability),standard, andx +- ufor an unnamed one.correlatedeclares two inputs correlated without a shared cause. - Arithmetic that remembers.
+ - * /with anotherUncertain, afloat<'u>or aQuantity,sqrt,exp,log, the trigonometric and hyperbolic functions, andapplyfor a function arithmetic does not reach. An input is one input wherever it is used, sox - xis exactly zero and a calibration two readings share drops out of their difference. The measure is checked by the compiler, and the unit's witness composes as aQuantity's does. - Reports. The concise form
9.823(18) m·s⁻²,(9.823 ± 0.018) m·s⁻², and siunitx's\qty{9.823(18)}{…}, rounded as the GUM asks (7.2.6). Effective degrees of freedom (Welch–Satterthwaite), expanded uncertainties with Student's t, and the budget as text or a LaTeXtabular. - Charts.
Chart.uncertaindraws uncertain values as points with their error bars, on x and on y, and the legend says what a bar spans. Theplotblock takes them throughxUncertainandyUncertain. - Weighted fits.
Fit.lineandFit.linearweight each point by its uncertainty, x's too by effective variance. The coefficients areUncertainvalues whose contributions point back to every point's inputs.Chart.fitBanddraws the curve with its band. - A Monte Carlo check (JCGM 101).
MonteCarlo.checkdraws every input from its distribution, evaluates the model and says whether the law of propagation's interval holds, running in batches until that is settled.Chart.monteCarlodraws the comparison. - The measured physical constants, CODATA 2022, as
Uncertain.Constants, correlated through the quantities they rest on. - C#.
Uncertainty,UncertainExtensionsandUncertainConstants, underusing Marey.CSharp. - Fable. The package carries its sources, and a Fable app gets .NET's numbers.
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- FSharp.Core (>= 8.0.100)
- Marey.Core (= 1.0.0)
- Marey.Plot (= 1.0.0)
- Marey.Units (= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Marey.Uncertainty:
| Package | Downloads |
|---|---|
|
Marey
Marey in one reference: units, the plotting grammar, measurement uncertainty, fields, simulations, animation, live figures, and SVG, TikZ and HTML output. Add Marey.Backend.Skia for PNG and PDF, Marey.Backend.Gpu for a window, Marey.Tools.Tex and Marey.Tools.Video for typeset labels and video. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 41 | 11/23/2026 |
| 1.0.0-rc.3 | 88 | 11/12/2026 |