irradiapy.analysis.analysisdb module
This module contains the AnalysisDB class.
- class irradiapy.analysis.analysisdb.AnalysisDB(path)[source]
Bases:
DatabaseSQLite database for storing analysis results.
- load_cluster_size_hist_fit_errors(vacancies, small)[source]
Load cluster size histogram fit errors from the database.
Fit: power law function.
- load_cluster_size_hist_fit_function(vacancies, small)[source]
Load cluster size histogram fit function from the database.
Fit: power law function.
- load_cluster_size_hist_fit_parameters(vacancies, small)[source]
Load cluster size histogram fit parameters from the database.
Fit: power law function.
- load_clustering_fraction_hist(axis, min_size)[source]
Load clustering fraction histogram from the database.
- load_depth_dpa_hist_fit_errors(axis, model)[source]
Load depth-dpa histogram fit errors from the database.
Fit: asymmetric lorentzian function.
- load_depth_dpa_hist_fit_functions(axis, model)[source]
Load depth-dpa histogram fit function from the database.
- load_depth_dpa_hist_fit_parameters(axis, model)[source]
Load depth-dpa histogram fit parameters from the database.
Fit: asymmetric lorentzian function.
- load_depth_ions_hist_fit_errors(axis)[source]
Load depth ions histogram fit errors from the database.
Fit: asymmetric gaussian function.
- load_depth_ions_hist_fit_function(axis)[source]
Load depth ions histogram fit function from the database.
Fit: asymmetric gaussian function.
- load_depth_ions_hist_fit_parameters(axis)[source]
Load depth ions histogram fit parameters from the database.
Fit: asymmetric gaussian function.
- load_recoil_energies_hist_fit_errors()[source]
Load recoil energies histogram fit errors from the database.
Fit: power law function.
- load_recoil_energies_hist_fit_function()[source]
Load recoil energies histogram fit function from the database.
Fit: power law function.
- Returns:
A function representing the fit.
- Return type:
- load_recoil_energies_hist_fit_parameters()[source]
Load recoil energies histogram fit parameters from the database.
Fit: power law function.
- save_cluster_size_hist(vacancies, size_centers, hist)[source]
Save cluster size histogram into the database.
- save_cluster_size_hist_fit_errors(vacancies, small, a, k)[source]
Save cluster size histogram fit errors into the database.
Fit: power law function.
- save_cluster_size_hist_fit_params(vacancies, small, a, k)[source]
Save cluster size histogram fit parameters into the database.
Fit: power law function.
- save_clustering_fraction_hist(axis, min_size, depth_centers, ifraction, vfraction)[source]
Save clustering fraction histogram into the database.
- Parameters:
axis (
str) – Axis along which the clustering fraction data is calculated (‘x’, ‘y’, or ‘z’).min_size (
int) – Minimum cluster size to be considered clustered.depth_centers (
GenericAlias[double]) – Centers of the depth bins.ifraction (
GenericAlias[double]) – SIA clustering fraction values.vfraction (
GenericAlias[double]) – Vacancy clustering fraction values.
- Return type:
- save_depth_dpa_hist(axis, model, depth_centers, hist)[source]
Save depth-dpa histogram into the database.
- save_depth_dpa_hist_fit_errors(axis, model, x0, sigma, amplitude, asymmetry)[source]
Save depth-dpa histogram fit errors into the database.
Fit: asymmetric lorentzian function.
- save_depth_dpa_hist_fit_params(axis, model, x0, sigma, amplitude, asymmetry)[source]
Save depth-dpa histogram fit parameters into the database.
Fit: asymmetric lorentzian function.
- save_depth_ions_hist(axis, depth_centers, hist)[source]
Save depth ions histogram into the database.
- save_depth_ions_hist_fit_errors(axis, x0, sigma, amplitude, asymmetry)[source]
Save depth ions histogram fit errors into the database.
Fit: asymmetric gaussian function.
- save_depth_ions_hist_fit_params(axis, x0, sigma, amplitude, asymmetry)[source]
Save depth ions histogram fit parameters into the database.
Fit: asymmetric gaussian function.
- save_recoil_energies_hist(energy_centers, hist)[source]
Save recoil energies histogram into the database.