# How should I account for measurement resolution (particularly in Measurements.jl)?

**URL:** <https://discourse.julialang.org/t/how-should-i-account-for-measurement-resolution-particularly-in-measurements-jl/93448>\
**Category:** General Usage\
**Tags:** physics, measurements, uncertainty-quantifi\
**Created:** [January 24, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-should-i-account-for-measurement-resolution-particularly-in-measurements-jl/93448 "2023-01-24T09:57:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertulli](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Post date:** [January 24, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-should-i-account-for-measurement-resolution-particularly-in-measurements-jl/93448/1 "2023-01-24T09:57:35Z")

</div>

Hi all!

So I’m manipulating some data for my Master’s thesis. I integrated `Unitful.js` to keep track of the units of measure. Now I stumbled upon [`Measurements.jl`](https://juliaphysics.github.io/Measurements.jl/stable/) to account for uncertainty propagation in my analysis. According to [the documentation](https://juliaphysics.github.io/Measurements.jl/stable/usage/#Measurements.measurement), when I want to create a value, I need to supply the value and the uncertainty, “assumed to be a standard deviation”.

I don’t understand what this means: that parameter **must** be the standard deviation, or can I supply other measures of error (for instance, the instrument’s resolution)? In general, how should I account for my measurement instrument’s **resolution** in Julia?

* * *

To give a bit more of context: I am measuring the electrical power consumption of a processor. The instrument gives me a CSV of (time (s), voltage (V) and current (A)), each one with a distinct resolution.  
Idea 1: should I use `Measurements.jl` here, supplying the resolution as the `err`?  
Then I compute the power (P = V \* I), the mean and stddev.  
Idea 2: should I use `Measurements.jl` here, supplying the power stddev as the `err`?

Thanks!
