ATLAS Offline Software
Variables
add-xsec-uncert-quadrature-N Namespace Reference

Variables

string filename_pattern = "pwg-*-st2-stat.dat"
 
list N_values = [50, 100,200,400,800,1000,1100,1200,1250,1260,1270,1275,1278,1279,1280]
 
string plot_file_postfix = ""
 
int num_repeats = 30
 
 file_list = glob.glob(filename_pattern)
 
list empty_files = [f for f in file_list if os.path.getsize(f) == 0]
 
 num_empty_files = len(empty_files)
 
dictionary results = {N: [] for N in N_values}
 
 selected_files = random.sample(file_list, min(N, len(file_list)))
 
list value_list = []
 
 match = re.search(r"^ grand total total \‍(pos\.-\|neg\.\|\‍):\s+(\d+\.\d+|\d+)\s+\+-\s+(\d+\.\d+E[-+]\d+|\d+\.\d+)", line)
 
 value = float(match.group(2))
 
 quadrature_sum = np.sqrt(np.sum(np.array(value_list) ** 2))/len(value_list)
 
list upper_bounds = []
 
list lower_bounds = []
 
list upper_bound_value_list = value_list[-N:]
 
list lower_bound_value_list = value_list[:N]
 
list mean_values = []
 
list std_dev_values = []
 
 figsize
 
 label
 
 yerr
 
 fmt
 
 capsize
 
 alpha
 
 color
 
 format
 
 dpi
 
 bbox_inches
 
 markersize
 

Variable Documentation

◆ alpha

add-xsec-uncert-quadrature-N.alpha

Definition at line 110 of file add-xsec-uncert-quadrature-N.py.

◆ bbox_inches

add-xsec-uncert-quadrature-N.bbox_inches

Definition at line 117 of file add-xsec-uncert-quadrature-N.py.

◆ capsize

add-xsec-uncert-quadrature-N.capsize

Definition at line 106 of file add-xsec-uncert-quadrature-N.py.

◆ color

add-xsec-uncert-quadrature-N.color

Definition at line 110 of file add-xsec-uncert-quadrature-N.py.

◆ dpi

add-xsec-uncert-quadrature-N.dpi

Definition at line 117 of file add-xsec-uncert-quadrature-N.py.

◆ empty_files

list add-xsec-uncert-quadrature-N.empty_files = [f for f in file_list if os.path.getsize(f) == 0]

Definition at line 23 of file add-xsec-uncert-quadrature-N.py.

◆ figsize

add-xsec-uncert-quadrature-N.figsize

Definition at line 103 of file add-xsec-uncert-quadrature-N.py.

◆ file_list

list add-xsec-uncert-quadrature-N.file_list = glob.glob(filename_pattern)

Definition at line 20 of file add-xsec-uncert-quadrature-N.py.

◆ filename_pattern

string add-xsec-uncert-quadrature-N.filename_pattern = "pwg-*-st2-stat.dat"

Definition at line 9 of file add-xsec-uncert-quadrature-N.py.

◆ fmt

add-xsec-uncert-quadrature-N.fmt

Definition at line 106 of file add-xsec-uncert-quadrature-N.py.

◆ format

add-xsec-uncert-quadrature-N.format

Definition at line 117 of file add-xsec-uncert-quadrature-N.py.

◆ label

add-xsec-uncert-quadrature-N.label

Definition at line 104 of file add-xsec-uncert-quadrature-N.py.

◆ lower_bound_value_list

list add-xsec-uncert-quadrature-N.lower_bound_value_list = value_list[:N]

Definition at line 86 of file add-xsec-uncert-quadrature-N.py.

◆ lower_bounds

add-xsec-uncert-quadrature-N.lower_bounds = []

Definition at line 71 of file add-xsec-uncert-quadrature-N.py.

◆ markersize

add-xsec-uncert-quadrature-N.markersize

Definition at line 120 of file add-xsec-uncert-quadrature-N.py.

◆ match

add-xsec-uncert-quadrature-N.match = re.search(r"^ grand total total \‍(pos\.-\|neg\.\|\‍):\s+(\d+\.\d+|\d+)\s+\+-\s+(\d+\.\d+E[-+]\d+|\d+\.\d+)", line)

Definition at line 55 of file add-xsec-uncert-quadrature-N.py.

◆ mean_values

add-xsec-uncert-quadrature-N.mean_values = []

Definition at line 96 of file add-xsec-uncert-quadrature-N.py.

◆ N_values

list add-xsec-uncert-quadrature-N.N_values = [50, 100,200,400,800,1000,1100,1200,1250,1260,1270,1275,1278,1279,1280]

Definition at line 12 of file add-xsec-uncert-quadrature-N.py.

◆ num_empty_files

add-xsec-uncert-quadrature-N.num_empty_files = len(empty_files)

Definition at line 27 of file add-xsec-uncert-quadrature-N.py.

◆ num_repeats

int add-xsec-uncert-quadrature-N.num_repeats = 30

Definition at line 16 of file add-xsec-uncert-quadrature-N.py.

◆ plot_file_postfix

string add-xsec-uncert-quadrature-N.plot_file_postfix = ""

Definition at line 13 of file add-xsec-uncert-quadrature-N.py.

◆ quadrature_sum

add-xsec-uncert-quadrature-N.quadrature_sum = np.sqrt(np.sum(np.array(value_list) ** 2))/len(value_list)

Definition at line 63 of file add-xsec-uncert-quadrature-N.py.

◆ results

dictionary add-xsec-uncert-quadrature-N.results = {N: [] for N in N_values}

Definition at line 39 of file add-xsec-uncert-quadrature-N.py.

◆ selected_files

add-xsec-uncert-quadrature-N.selected_files = random.sample(file_list, min(N, len(file_list)))

Definition at line 45 of file add-xsec-uncert-quadrature-N.py.

◆ std_dev_values

add-xsec-uncert-quadrature-N.std_dev_values = []

Definition at line 97 of file add-xsec-uncert-quadrature-N.py.

◆ upper_bound_value_list

list add-xsec-uncert-quadrature-N.upper_bound_value_list = value_list[-N:]

Definition at line 85 of file add-xsec-uncert-quadrature-N.py.

◆ upper_bounds

add-xsec-uncert-quadrature-N.upper_bounds = []

Definition at line 70 of file add-xsec-uncert-quadrature-N.py.

◆ value

add-xsec-uncert-quadrature-N.value = float(match.group(2))

Definition at line 58 of file add-xsec-uncert-quadrature-N.py.

◆ value_list

list add-xsec-uncert-quadrature-N.value_list = []

Definition at line 48 of file add-xsec-uncert-quadrature-N.py.

◆ yerr

add-xsec-uncert-quadrature-N.yerr

Definition at line 106 of file add-xsec-uncert-quadrature-N.py.