16 lines
485 B
Python
16 lines
485 B
Python
from uncertainly import Uncertainly
|
|
import logger
|
|
|
|
number_input: str = input("Data input:")
|
|
type_B_uncertain: float = float(input("type_B_uncertain: "))
|
|
param_tp: float = float(input("tp input: "))
|
|
|
|
number_list:tuple = number_input.split
|
|
|
|
try:
|
|
numbers = [float(num_str) for num_str in number_list]
|
|
uncertain_processor = Uncertainly(numbersm, type_B_uncertain=type_B_uncertain,param_tp=param_tp)
|
|
uncertain_processor.output_std
|
|
|
|
except Exception as e:
|
|
logger.exception(e) |