Recent Releases of metrolopy
metrolopy - version 1.0.0
The calculation of effective degrees of freedom has been improved. In previous versions, in a multi-step calculation, the effective degree of freedom were calculated at each step based on the degrees of freedom calculated for the previous step (using a modified Welch-Satterthwaite approximation). Now effective degrees of freedom are alway calculated directly from the independent variables using the Welch-Satterthwaite equation.
CODATA 2022 values instead of 2018 values are used in the Constants module.
The significance value in budget table has been redefined from (sensitivity coefficient * standard uncertainty/combined uncertainty) to the square of that value so that the significance value sum to one.
Units can now be raised to a fractional power and many other bug fixes.
- Python
Published by hvparks 9 months ago
metrolopy - Version 0.6.3
Bug fixes: fixed UniformDistribution lower limit, budget when used with named gummys, and others. Added some tests.
- Python
Published by hvparks about 4 years ago
metrolopy - version 0.6.1
Fixed a bug that gave an error when a gummy.unit property was set twice and an bug that gave incorrect results for some non-linear unit conversions.
- Python
Published by hvparks over 5 years ago
metrolopy - version 0.6.0
A constant library has been added with physical constants that can be accessed by name or alias with the
constantfunction. Thesearch_constantsfunction with no argument gives a listing of all built-in constants. Each constant definition includes any correlations with other constants.The
Quantityclass has been added to represent a general numerical value multiplied by a unit and theunitfunction has been added to retrieveUnitinstances from the unit library by name or alias.Unitinstances can now be multiplied and divided by otherUnitinstances to produce composite units, can be multiplied and divided by numbers to produceQuantityinstances or multiply or divideQuantityinstances. Thegummyclass is now a subclass ofQuantitywith anummyvalue rather than a subclass ofnummy. AQuantityArrayclass has been introduced to represent an array of values all with the same unit. Multiplying aUnitinstance by a list, tuple, or numpy array produces aQuantityArrayinstance.The
immyclass has been introduced as anummyvalued counterpart of thejummyclass for representing complex values with uncertainties.immyandjummyvalues can now be displayed in a polar representation in addition to a cartesian representation.immyandjummy.r and .phi properties have been added to access the magnitude and argument of the values as a complement to the .real and .imag properties.
- Python
Published by hvparks over 5 years ago
metrolopy - v0.5.5, bug fix
Fixed a bug where uncertainty was calculated improperly when an integer value is raised to a power.
- Python
Published by hvparks about 6 years ago
metrolopy -
fixed a major bug that generated negative uncertainties in some cases and fixed some other minor bugs. Improved support for fraction.Fraction and mpmath.mpf values.
- Python
Published by hvparks about 7 years ago