ssapy_toolkit.Compute.calculate_errors

ssapy_toolkit.Compute.calculate_errors(data: ndarray, CI: float = 0.05) ndarray[source]

Calculate the confidence interval errors for a dataset.

Parameters: data (np.ndarray): The input data array. CI (float): The confidence interval, default is 0.05.

Returns: tuple: A tuple containing the error bounds and the median of the data.

Author: Travis Yeager (yaeger7@llnl.gov)