You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding capability to do arithmetic operations on Parameters and DescriptorNumbers allow users to use fitted parameters to do quick and easy calculations with uncertainties and units to calculate items of interest, as well as quickly and easily create new parameters/descriptors from previous ones.
Current implementation
This is not currently implemented
Proposed implementation
Add the following methods to Parameter and DescriptorNumber:
The output should be a Parameter with automatically calculated min/max if any of the elements of the arithmetic operation is a Parameter, otherwise the output should be a DescriptorNumber. In either case the unit and variance is also automatically propagated.
The text was updated successfully, but these errors were encountered:
Discussed in #27
Originally posted by damskii9992 July 15, 2024
General
Adding capability to do arithmetic operations on
Parameters
andDescriptorNumbers
allow users to use fitted parameters to do quick and easy calculations with uncertainties and units to calculate items of interest, as well as quickly and easily create new parameters/descriptors from previous ones.Current implementation
This is not currently implemented
Proposed implementation
Add the following methods to
Parameter
andDescriptorNumber
:The output should be a
Parameter
with automatically calculated min/max if any of the elements of the arithmetic operation is a Parameter, otherwise the output should be aDescriptorNumber
. In either case the unit and variance is also automatically propagated.The text was updated successfully, but these errors were encountered: