DataStructure ========================= ========================= **Description** ========================= The data structures used in the Austenite Calculator are shown below. This document **SUPERSEEDS README-Developer.txt**. Data structures are described as a bulleted list using the structure: **Key Name** *(Datatype)* Explanation **Open Question**. Indentation implies the data structure is contained as part of the less indented item listed above. *DataFrame* and *Series* are pandas objects. *Array* is a numpy array. All other datatypes are python objects. < > characters indicate a variable that is set by the dataset. ========================= **Submission** ========================= **Submission** *(Dictionary)* Container for all the items computed * **Phase_Info** *(Dictionary)* Container for phase information * **Interaction_Parameters** *(Dictionary)* Values from Crystallites Illumininated json file. Keys of: * **** from the entered CIF file names with a (List) of values of particulate size *(Float)*, number of crystallites per particulate *(Float)*, rocking angle *(Float)*, texture corrections *(List)* (optional) * **beam_shape** *(String)* * **beam_size** *(Float)* * **raster_x** *(Float)* * **raster_y** *(Float)* * **sample_displacement** *(Float)* * **L** *(Float)* * **W_F** *(Float)* * **H_F** *(Float)* * **H_R** *(Float)* * **Atomic_Masses** *(Series)* Values from 'atomic_masses_dict' for rows of elements listed **Shouldn't there be two lists?** * **Unit_Cell** *(DataFrame)* Rows for each cif file names with the following columns: * **scattering_dict** *(Nested List)* List for each element given in the cif file with list containing element symbol *(String)*, f' value *(Float)*, f'' value *(Float)*, mu value *(Float)*, and number of atoms per cell *(Float)*. These values come from GSAS-II [GSAS-II-github]_ * **elem_fractions_dict** *(List)* Atomic fractions of each element *(Float)* (site occupancy). Order of list is the same as in *scattering_dict* * **average_scattering_dict** *(List)* Weighted summation of f' value *(Float)*, f'' value *(Float)*, and mu value *(Float)* for all elements in the phase based on atomic fraction. * **unit_cell_volume_CIF** *(Float)* The volume of each unit cell, from the CIF file. Units of cubic angstroms. **Should we use the fitted value or compare?** * **unit_cell_mass_CIF** *(Float)* Weighted summation of atomic mass for all elements in the phase based on atomic fraction. * **Phase_list** *(Array)* Array of phases, without the .cif file extension **From CIF filename or CIF file header?** * **Calculation_Type** *(String)* Description of the type of calculation: "Single" for a single data set, "Summed" for a series of data sets and the summation of all the data sets (treated as a separate single data set), "Multi" for a series of data sets and uncertainty metrics for the variation between data sets. * **File_Paths** *(Dictionary)* Container for folder paths and file names. Keys of: * **Data_Directory** *(String)* * **Working_Directory** *(String)* * **Cif_Filenames** *(List)* * **Diffraction_Filenames** *(List)* * **Instrument_Filename** *(String)* * **JSON_Filename** *(String)* * **Dataset_name** *(List)* * **Version** *(DataFrame)* Container for version information for the Austenite Calculator. Rows of: * **Git URL** *(String)* Austenite Calculator Git URL * **Git Branch** *(String)* Austenite Calculator Git Branch name * **Git Commit Hash** *(String)* Austenite Calculator Git commit ID * **Git Commit Oneline** *(String)* Austenite Calculator Git short commit ID and commit comment * **GSAS_version** *(String)* GSAS-II version number * **Dataset_<#>** *(Dictionary)* Container for each diffraction dataset provided and analyzed. Keys of: * **X_Range** *(List)* List of the 2-theta min and max values. * **Flags** *(DataFrame)* Collected comments and flags for the user to consider. Columns of: * **Value** *(object)* Numeric or string value extracted to flag. * **Unit** *(String)* Units for the value, or NaN if not applicable. * **Source** *(String)* Location in the code the flag was raised. * **Flags** *(String)* Text describing the concern flagged. * **Suggestions** *(String)* Suggested mitigation options. * **Le_Bail_Data** *(Dictionary)* Diffraction dataset fit data using Reitveld refinement with Le Bail extraction to allow for arbitrary intensities. This data is generated by GSAS-II and uses their data conventions, see [GSAS-II-DevDoc]_ for more information. Keys of: * **Reflection Lists** * **Limits** * **data** * **Index Peak List** * **Comments** * **Unit Cells List** * **Sample Parameters** * **Peak List** * **Background** * **Instrument Parameters** * **Le_Bail_Scale** *(Float)* Histogram (GSAS-II name for diffraction data) scale value from LeBail fit, used for calculating theoretical intensities to get approximatly similar scales for intensity. * **Theoretical_Intensities** *(DataFrame)* Calculated theoretical intenisities with rows for each peak in the dataset and phase. Columns of: * **h_TI** *(Float)* 'h' from crystal plane 'hkl' * **k_TI** *(Float)* 'k' from crystal plane 'hkl' * **l_TI** *(Float)* 'l' from crystal plane 'hkl' * **mul_TI** *(Float)* Multiplicity for crystal plane 'hkl' * **pos_TI** *(Float)* 2-theta position for crystal plane 'hkl' * **F_calc_sq_TI** *(Float)* Caculated scattering factor F^2 for crystal plane 'hkl' and elemental composition provided in CIF file. * **I_corr_TI** *(Float)* Aggregated intensity correction values for crystal plane 'hkl'. * **R_TI** *(Float)* Caculated theoretical intensity for crystal plane 'hkl' * **Phase_TI** *(Float)* Cif file name for each crystal plane 'hkl'. * **Texture Correction** *(Float)* Texture correction value if applied to theoretical intensity. Default value of 1 (no texture correction) if none are provied in crystallites illuminated JSON file. * **Peak_Fit_Data** *(Dictionary)* Diffraction dataset fit data using individual peak fit extractions for each peak using the GSAS-II Peak Fit function. This data is generated by GSAS-II and uses their data conventions, see [GSAS-II-DevDoc]_ for more information. Keys of: * **Reflection Lists** * **Limits** * **data** * **Index Peak List** * **Comments** * **Unit Cells List** * **Sample Parameters** * **Peak List** * **Background** * **Instrument Parameters** * **Peak Fit Result** * **Peak Fit Sig** * **Peak Fit Rvals** * **Gaussian_Data** *(Dictionary)* Diffraction dataset fit data using individual peak fit with a single Gaussian peak. Dictionary has a single key 'data' that containts a *(Nested List)* with the first column [0] the 2-theta position and second column [1] the fitted intensity. **Still in development**. * **Gaussian_Peaks** *(DataFrame)* Calculated Gaussian peak intenisities with rows for each peak in the dataset and phase. Also includes some of the Le Bail fitting values for reference and comparision. Columns of: * **pos_LB** *(Float)* 2-theta position value for crystal plane 'hkl' from Le Bail fit. * **sig_LB** *(Float)* Gaussian width (sigma in GSAS-II) peak fit component value from the Le Bail fit. Described in centi-degrees. * **int_LB** *(Float)* Integrated intensity value from the Le Bail fit. * **pos_G** *(Float)* 2-theta position for crystal plane 'hkl' from the Gaussian fit. * **sig_G** *(Float)* Gaussian width from the Gaussian fit. Described in centi-degrees. * **int_G** *(Float)* Integrated intensity value from the Gaussian fit. * **int_G_total** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. Uses the total number of counts. * **int_G_bg** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. Fits only the background over the window. * **int_G_TR** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. This value is the total - background, and should only represent peak height. * **fit_success_G** *(Boolean)* True if the Gaussian peak fit function was able to complete successfully. If False, all _G columms are set to NaN. **A 'True' value does not currently imply the values are reasonable** * **Merged_Peaks** *(DataFrame)* Container for aggregated peak data * **pos_fix** *(Float)* 2-theta position value for crystal plane 'hkl' from the Peak Fit fit. * **int_fit** *(Float)* Integrated intensity value from the from the Peak Fit fit. * **sig_fit** *(Float)* Gaussian width (sigma in GSAS-II) peak fit component value from the Peak Fit fit. Described in centi-degrees. * **gam_fit** *(Float)* Lorentzian width (gamma in GSAS-II) peak fit component value from the Peak Fit fit. Described in centi-degrees. * **Peak_Fit_Success** * **u_pos_fit** *(Float)* Uncertainty in the 2-theta position value for crystal plane 'hkl' based on the Peak Fit fit. * **u_int_fit** *(Float)* Uncertainty in the integrated intensity value for crystal plane 'hkl' based on the Peak Fit fit. * **back_int_bound** * **signal_to_noise** * **u_int_count** *(Float)* Uncertainty in the integrated intensity value for crystal plane 'hkl' based on the number of diffracted counts **??? Peak Fit fit***. * **rel_int_fit** * **rel_int_count** * **h_TI** *(Float)* 'h' from crystal plane 'hkl' * **k_TI** *(Float)* 'k' from crystal plane 'hkl' * **l_TI** *(Float)* 'l' from crystal plane 'hkl' * **mul_TI** *(Float)* Multiplicity for crystal plane 'hkl' * **pos_TI** *(Float)* 2-theta position for crystal plane 'hkl' * **F_calc_sq_TI** *(Float)* Caculated scattering factor F^2 for crystal plane 'hkl' and elemental composition provided in CIF file. * **I_corr_TI** *(Float)* Aggregated intensity correction values for crystal plane 'hkl'. * **R_TI** *(Float)* Caculated theoretical intensity for crystal plane 'hkl' * **Phase_TI** *(Float)* Cif file name for each crystal plane 'hkl'. * **Texture Correction** *(Float)* Texture correction value if applied to theoretical intensity. Default value of 1 (no texture correction) if none are provied in crystallites illuminated JSON file. * **h_LB** *(Float)* 'h' from crystal plane 'hkl' * **k_LB** *(Float)* 'k' from crystal plane 'hkl' * **l_LB** *(Float)* 'l' from crystal plane 'hkl' * **mul_LB** *(Float)* Multiplicity for crystal plane 'hkl' * **d_LB** *(Float)* d spacing value for crystal plane 'hkl'. Units of angstroms * **pos_LB** *(Float)* 2-theta position value for crystal plane 'hkl' from Le Bail fit. * **sig_LB** *(Float)* Gaussian width (sigma in GSAS-II) peak fit component value from the Le Bail fit. Described in centi-degrees. * **gam_LB** *(Float)* Lorentzian width (gamma in GSAS-II) peak fit component value from the Le Bail fit. Described in centi-degrees. * **F_obs_sq_LB** *(Float)* Observed scattering factor F^2 for crystal plane 'hkl' and elemental composition provided in CIF file determined during the Le Bail fit. * **F_calc_sq_LB** *(Float)* Caculated scattering factor F^2 for crystal plane 'hkl' and elemental composition provided in CIF file determined during the Le Bail fit. * **phase_LB** **??? all zeros in example** * **I_corr_LB** *(Float)* Aggregated intensity correction values for crystal plane 'hkl'. * **Prfo_LB** *(Float)* Preferred orientation correction values for crystal plane 'hkl'. * **Trans_LB** *(Float)* **Transmission?** correction values for crystal plane 'hkl'. * **ExtP_LB** *(Float)* **???** correction values for crystal plane 'hkl'. * **Phase** *(String)* Phase name (not CIF file name) * **int_LB** *(Float)* Integrated intensity value from the Le Bail fit. * **u_int_LB** *(Float)* Uncertainty in the 2-theta position value for crystal plane 'hkl' based on the Le Bail fit. * **n_int_fit** *(Float)* Normalized intensity based on the Peak Fit fit. * **n_int_LB** *(Float)* Normalized intensity based on the Le Bail fit. * **n_u_int_fit** *(Float)* Uncertainty in the integrated intensity value for crystal plane 'hkl' based on the Peak Fit fit, scaled to the normalized intensity value. * **n_u_count_fit** *(Float)* Uncertainty in the integrated intensity value for crystal plane 'hkl' based on the number of diffracted counts (Peak Fit fit), scaled to the normalized intensity value. * **n_u_int_LB** *(Float)* Uncertainty in the integrated intensity value for crystal plane 'hkl' based on the Le Bail fit, scaled to the normalized intensity value. * **pos_diff_fit_TI** *(Float)* Difference in the 2-theta position value for crystal plane 'hkl' between the Peak Fit fit and theoretical intensities. * **pos_diff_LB_TI** *(Float)* Difference in the 2-theta position value for crystal plane 'hkl' between the Le Bail fit and theoretical intensities. * **pos_diff_fit_LB** *(Float)* Difference in the 2-theta position value for crystal plane 'hkl' between the Peak Fit fit and Le Bail fit. * **hkl** *(String)* Space delimited string of the hkl crystal plane. * **pos_G** *(Float)* 2-theta position for crystal plane 'hkl' from the Gaussian fit. * **sig_G** *(Float)* Gaussian width from the Gaussian fit. Described in centi-degrees. * **int_G** *(Float)* Integrated intensity value from the Gaussian fit. * **int_G_total** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. Uses the total number of counts. * **int_G_bg** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. Fits only the background over the window. * **int_G_TR** *(Float)* Integrated intensity value from a trapezoidal rule integration over a window of the peak width. This value is the total - background, and should only represent peak height. * **fit_success_G** *(Boolean)* True if the Gaussian peak fit function was able to complete successfully. If False, all _G columms are set to NaN. **A 'True' value does not currently imply the values are reasonable** * **Peak_Fit_Success_n_u_int** * **n_int_LB/fit** * **Peak_Fit_Success_n_int** * **sig_LB/fit** * **Peak_Fit_Success_sig** * **gam_LB/fit** * **Peak_Fit_Success_gam** * **int_LB/fit** * **Peak_Fit_Success_int** * **Peak_Fit_Success2** * **Theta** Theta position for crystal plane 'hkl' from **???**. * **Agg_f_prime** * **Agg_f_doubleprime** * **Atoms_Per_Cell** * **f_0_Peak** * **f_Total_Peak** * **Phase_Fraction_fit_mass** * **Phase_Fraction_fit_volume** * **Powder_Size_um** * **Crystals_Per_Particle** * **Rocking_Angle_deg** * **Scatter_Fraction** * **Anomalous_Fraction** * **Absorb_Fraction** * **Z_Centroid_Depth_um** * **50pct_Escaped_Depth_um** * **68pct_Escaped_Depth_um** * **95pct_Escaped_Depth_um** * **D_bar_mm** * **l_bar_mm** * **l_bar_um** * **A_bar_mm2** * **N_bar_mm2** * **Rocking_Angle_rad** * **N_Layers_50pct** * **N_Layers_95pct** * **N_illuminated_50pct** * **N_illuminated_95pct** * **Diffracting_Fraction** * **N_Diffracting_50pct** * **N_Diffracting_95pct** * **u_N_Diffracting_50pct** * **u_N_Diffracting_95pct** * **n_u_N_Diffracting_95pct** * **n_u_N_Diffracting_50pct** * **Prelim_Phase_Fraction** *(DataFrame)* Estimated phase fraction from **???** Columns of: * **Phase** * **Mean_n_int_fit** * **Mean_n_int_fit_mass** * **Mean_n_int_fit_volume** * **StDev_n_int_fit** * **Number_hkls_fit** * **Mean_n_int_LB** * **StDev_n_int_LB** * **Number_hkls_LB** * **Phase_Fraction_fit** * **Phase_Fraction_StDev_fit** * **Phase_Fraction_fit_mass** * **Phase_Fraction_fit_volume** * **Phase_Fraction_LB** * **Phase_Fraction_StDev_LB** * **Prelim_Aggregate_Data** *(Dictionary)* Preliminary aggregated data over all phases. Keys of: * **agg_phase_fraction_cell** *(float)* Should be equal to 1.0 * **agg_phase_fraction_vol** *(float)* Should be equal to 1.0 * **agg_phase_fraction_mass** *(float)* Should be equal to 1.0 * **agg_f_prime** * **agg_f_doubleprime** * **agg_mu_cm** *(float)* Aggregated absobtion, in units of cm^-1 * **Interaction_Calc** *(DataFrame)* Container for interaction calculation values. Columns of: * **pos_TI** * **mul_TI** * **Phase_TI** * **F_calc_sq_TI** * **hkl** * **Theta** * **Agg_f_prime** * **Agg_f_doubleprime** * **Atoms_Per_Cell** * **f_0_Peak** * **f_Total_Peak** * **Phase_Fraction_fit_mass** * **Phase_Fraction_fit_volume** * **Powder_Size_um** * **Crystals_Per_Particle** * **Rocking_Angle_deg** * **Scatter_Fraction** * **Anomalous_Fraction** * **Absorb_Fraction** * **Z_Centroid_Depth_um** * **50pct_Escaped_Depth_um** * **68pct_Escaped_Depth_um** * **95pct_Escaped_Depth_um** * **D_bar_mm** * **l_bar_mm** * **l_bar_um** * **A_bar_mm2** * **N_bar_mm2** * **Rocking_Angle_rad** * **N_Layers_50pct** * **N_Layers_95pct** * **N_illuminated_50pct** * **N_illuminated_95pct** * **Diffracting_Fraction** * **N_Diffracting_50pct** * **N_Diffracting_95pct** * **u_N_Diffracting_50pct** * **u_N_Diffracting_95pct** * **Interaction_Plots** *(Dictionary)* Container for data used to create 'Z Depth Histogram Plot' and 'Incident Angle Plot'. Each key contains a *(Array)* with indicies of [peak][step]. Keys of: * **X_Endpoints** * **Z_Endpoints** * **Path_Length_Endpoints** * **I_Endpoints** * **X_Midpoints** * **Z_Midpoints** * **Path_Length_Midpoints** * **Delta_I_Midpoints** * **Est_Absorbed** * **Est_Anomalous** * **Est_Scattered** * **Est_Escaped** * **Escaped Index Sum** * **Incident_Angle_plot_data** *(Dictionary)* Container for Incident Angle Plot. Keys that end in "Endpoints" contain a *(List of Lists)* with indicies of [peak][step]. Keys that end in "Bounds" contain a *List* that has the range to use in the plot. Keys of: **Is the description of Interaction_Plots wrong?** * **I_X_Endpoints** * **I_Z_Endpoints** * **P_X_Endpoints** * **P_Z_Endpoints** * **D_X_Endpoints** * **D_Z_Endpoints** * **X_Bounds** * **Z_Bounds** * **Z_Depth_plot_data** *(Dictionary)* Container for Z Depth Plot. Each key contains a *(List of Lists)* with indicies of [peak][step]. Keys of: * **Escaped** * **Z_Depth** * **Count_Bound** * **95pct_Bound** * **68pct_Bound** * **50pct_Bound** * **MCMC_Calc** *(DataFrame)* MCMC Uncertainty Inputs, values copied from Merged_Peaks. Rows of peaks. Columns of: **Check for summed and multiple samples as well** * **int_fit** * **R_TI** * **n_int_fit** * **n_u_int_fit** * **n_u_count_fit** * **n_u_N_Diffracting_95pct** * **Phase** * **pos_fit** * **hkl** * **Peak_Fit_Success2** * **pos_TI** * **n_int_LB** * **sample_id** * **phase_id** * **Stan_Data** *(Dictionary)* Container for values sent to stan calculation. For one_sample, keys of: * **N** *(Int)* one_sample: number of peaks in the datasets; multiple_samples: number of peaks in all the datasets * **N_phases** *(Int)* number of phases analyzed * **Y** *(List of length N)* Normalized Intensity of each peak * **phase** *(List of length N)* Numeric phase ID for each peak * **prior_scale** *(Float)* Bayesian prior estimate of **WHAT**. In Stan *real* lower bound equal to 0. * **prior_exp_scale** *(Float)* Bayesian prior estimate of normalized intensity variation by peak ('experiment' variation). In Stan *real* lower bound equal to 0. * **prior_location** *(Float)* Bayesian prior estimate of normalized intensity. In Stan *real* lower bound equal to 0. * **u_int_fit** *(List of length N)* Uncertainty based on the fit uncertainty for each peak, scaled to normalized intensity **NOTE: variable name mismatch, but is normalized** * **u_int_count** *(List of length N)* Uncertainty based on the counting statistics for each peak, scaled to normalized intensity **NOTE: variable name mismatch, but is normalized** * **u_cryst_diff** *(List of length N)* Uncertainty based on the number of crystallites illuminated for each peak, scaled to normalized intensity **NOTE: variable name mismatch, but is normalized** For multiple_samples, the following keys are also included: * **N_samples** *(Int)* number of datasets (XRD files) analyzed * **N_phase_samples** *(Int)* number of concatenated of phase and sample IDs * **group** *(List of length N)* Numeric dataset ID for each peak * **phase_sample_id** *(List of length N)* Numeric concatenated of phase and sample ID for each peak * **prior_sample_scale** *(Float)* Bayesian prior estimate of normalized intensity variation by dataset . In Stan *real* lower bound equal to 0. * **MCMC_Data** *(DataFrame)* Container for Stan calculation. Rows of draws from the distribution, set at 8000. Columns of: * **lp__** * **accept_stat__** * **stepsize__** * **treedepth__** * **n_leapfrog__** * **divergent__** * **energy__** * **sigma_exp[]** Estimated uncertainty due to variation in normalized intensity by peak. Columns for each of the n phases * **phase_mu[]** Estimated normalized intensity. Columns for each of the n phases **For multiple_samples, the following keys are also included:** * **sigma_sample** Estimated uncertainty due to variation between datasets. This value is shared for all phases. * **sample_effect[,]** Variation noted between dataset and phase . * **MCMC_Result_Number** *(DataFrame)* Columns for phase_mu[], scaled to be the estimated phase fraction by number of unit cells * **MCMC_Result_Mass** *(DataFrame)* Columns for phase_mu[], scaled to be the estimated phase fraction by mass of unit cells * **MCMC_Result_Volume** *(DataFrame)* Columns for phase_mu[], scaled to be the estimated phase fraction by volume of unit cells * **Uncert_Source_Summary** *(DataFrame)* rows for each phase, with aggregate uncertainties * **Phase** *(String)* Phase name (not CIF file name) * **Mean_n_int_fit** *(Float)* Mean value of the normalized intensities **from the MCMC calculation?** * **Mean_sigma_exp** *(Float)* Mean value of the estimated uncertainty due to variation in normalized intensity by peak. **from the MCMC calculation?** * **Median_n_u_count_fit** *(Float)* Median value of the estimated uncertainty due to counting statistics. **from the MCMC calculation?** * **Median_n_u_int_fit** *(Float)* Median value of the estimated uncertainty due to fitting uncertainty. **from the MCMC calculation?** * **Median_n_u_N_Diffracting_95pct** *(Float)* Median value of the estimated uncertainty due to number of diffracting crystallites. **from the MCMC calculation?** * **Phase_Fraction_Result_Number** *(DataFrame)* Container for phase fraction result by number of unit cells. Rows for each phase. Columns for: * **Phase** *(String)* Phase name (not CIF file name) * **Neg_2sigma** *(Float)* -2 sigma bound value of the phase fraction from the MCMC calculation. * **Neg_1sigma** *(Float)* -1 sigma bound value of the phase fraction from the MCMC calculation. * **Mean** *(Float)* Mean value of the phase fraction from the MCMC calculation. * **Pos_1sigma** *(Float)* +1 sigma bound value of the phase fraction from the MCMC calculation. * **Pos_2sigma** *(Float)* +2 sigma bound value of the phase fraction from the MCMC calculation. * **Median** *(Float)* Median value of the phase fraction from the MCMC calculation. * **Phase_Fraction_Result_Mass** *(DataFrame)* Container for phase fraction result by mass of unit cells. Rows for each phase. Columns for: * **Phase** *(String)* Phase name (not CIF file name) * **Neg_2sigma** *(Float)* -2 sigma bound value of the phase fraction from the MCMC calculation. * **Neg_1sigma** *(Float)* -1 sigma bound value of the phase fraction from the MCMC calculation. * **Mean** *(Float)* Mean value of the phase fraction from the MCMC calculation. * **Pos_1sigma** *(Float)* +1 sigma bound value of the phase fraction from the MCMC calculation. * **Pos_2sigma** *(Float)* +2 sigma bound value of the phase fraction from the MCMC calculation. * **Median** *(Float)* Median value of the phase fraction from the MCMC calculation. * **Phase_Fraction_Result_Volume** *(DataFrame)* Container for phase fraction result by volume of unit cells. Rows for each phase. Columns for: * **Phase** *(String)* Phase name (not CIF file name) * **Neg_2sigma** *(Float)* -2 sigma bound value of the phase fraction from the MCMC calculation. * **Neg_1sigma** *(Float)* -1 sigma bound value of the phase fraction from the MCMC calculation. * **Mean** *(Float)* Mean value of the phase fraction from the MCMC calculation. * **Pos_1sigma** *(Float)* +1 sigma bound value of the phase fraction from the MCMC calculation. * **Pos_2sigma** *(Float)* +2 sigma bound value of the phase fraction from the MCMC calculation. * **Median** *(Float)* Median value of the phase fraction from the MCMC calculation. ========================= **all_results** ========================= Many of the values are stored as HTML formatted strings, using the 'to_html' function of pandas dataframes. **all_results** *(Dictionary)* Container key results that are plotted. All data structures stored in this dictionary are JSON-ifiable. * **version_html** *(String - HTML)* Version information. * **unique_phases** *(List)* Phase names (not CIF file names) * **fit_types** *(List)* List of fit types included in analysis * **n_datasets** *(Int)* Number of datasets * **n_phases** *(Int)* Number of phases * **dataset_names** *(List)* List dataset names * **n_peaks** *(Int)* Number of peaks **How does this work on multiple samples?** * **Dataset_** *(Dictionary)* Keys of: * **two_thetas** * **raw_intensity_data** * **Le_Bail_fit** * **Peak_fit** * **Gaussian_fit_two_thetas** * **Gaussian_fit** * **flags_html** * **n_int_plot_data** * **pos_diff_plot_data** * **Fit_n_int_html** * **Theo_n_int_html** * **phase_fraction_number_plot_data** * **phase_fraction_mass_plot_data** * **phase_fraction_volume_plot_data** * **phase_fraction_number_html** * **phase_fraction_mass_html** * **phase_fraction_volume_html** * **uncertainty_summary_html** * **Uncertainties_n_int_html** * **Interaction_Volume_html** * **Peak_index_list** * **Incident_Angle_plot_data** * **Z_Depth_plot_data** * **Z_Depth_plot_min** * **errors** *(Boolean)* Reports if errors or execeptions were found during analysis. * **error_dict** *(Dictionary)* Container for locations where errors can be found during analysis. Values for each key are *(Boolean)* values. Keys of: * **file_upload** * **interaction_param_data** * **Version** * **cell_density** * **peak_fitting** * **peak_dict** * **phase_info** * **crystallites_illuminated** * **conversions** * **mcmc** * **logs** *(String)* Console log of analysis **Does not look complete** .. automodule:: user_guide :members: