Belle II Software development
|
Public Member Functions | |
def | __init__ (self, result_function, use_sigma_for_result_fitting) |
def | create_result_dataframe (self) |
def | fit_result_parameters (self) |
def | train (self, data) |
def | plot_fit_result (self, data) |
def | plot_grouped_result (self, data) |
Public Attributes | |
result_function | |
cached copy of the result function | |
result_parameters_for_each_dedx_bin | |
cached copy of the dictionary of fitting parameters for each dE/dx bin | |
use_sigma_for_result_fitting | |
cached copy of the flag to add mean+/-sigma values to the output Dataframe | |
dedx_estimator_function | |
cached copies of the fit parameters and estimator function | |
Train a neural network for dE/dx-based particle identification
def __init__ | ( | self, | |
result_function, | |||
use_sigma_for_result_fitting | |||
) |
Constructor
Reimplemented from DEDXEstimationTrainer.
Reimplemented in GaussianEstimatorTrainer, LandauEstimatorTrainer, MaximumEstimatorTrainer, MedianEstimatorTrainer, GaussianEstimatorTrainerSQRT, LandauEstimatorTrainerSQRT, MaximumEstimatorTrainerSQRT, MedianEstimatorTrainerSQRT, and FunctionFittedGroupedDEDXEstimatorTrainer.
Definition at line 95 of file train.py.
def create_result_dataframe | ( | self | ) |
Fit for the mean dE/dx and standard deviation, return the fit Dataframe
Definition at line 107 of file train.py.
def fit_result_parameters | ( | self | ) |
Define the parameters for the fit, assign initial guesses
Definition at line 126 of file train.py.
def plot_fit_result | ( | self, | |
data | |||
) |
Plot the fitted results
Definition at line 154 of file train.py.
def plot_grouped_result | ( | self, | |
data | |||
) |
Plot the fitted grouped results
Reimplemented in FunctionFittedGroupedDEDXEstimatorTrainer.
Definition at line 169 of file train.py.
def train | ( | self, | |
data | |||
) |
Train the neural network using curated data
Reimplemented from DEDXEstimationTrainer.
Definition at line 140 of file train.py.
dedx_estimator_function |
result_parameters_for_each_dedx_bin |
use_sigma_for_result_fitting |