Growth Mechanism

Growth Mechanism#

%load_ext autoreload
%autoreload 2

import sys
import numpy as np
import os
import matplotlib.pyplot as plt
from matplotlib import colors
from sto_rheed.Dataset import RHEED_parameter_dataset, RHEED_spot_Dataset
from sto_rheed.Packed_functions import decay_curve_examples, compare_loss_difference, compare_growth_mechanism
from m3util.viz.style import set_style
set_style("printing")
printing set for seaborn
fit_settings = {'savgol_window_order': (15, 3), 'pca_component': 10, 'I_diff': 15000, 'unify':False, 'bounds':[0.001, 1], 'p_init':[0.1, 0.4, 0.1]}
path = 'D:/STO_STO-Data/RHEED/STO_STO_Berkeley/test6_gaussian_fit_parameters_all-04232023.h5'
D1_para = RHEED_parameter_dataset(path, camera_freq=500, sample_name='treated_213nm')
decay_curve_examples(D1_para, 'spot_2', 'img_sum', fit_settings, savefig=True, savepath='../Figures/3.Growth_mechanism/')
../_images/a7918154cca5556ee4cd21d05d708204bb2738996732b13e1eab172c25806d98.png
compare_loss_difference(align_time=True, normalize=True)
../_images/8a0b1874ae91155c07f8189290b82fafe403002867837aa6c3b3edbe0e0160f1.png
compare_growth_mechanism(align_time=True, normalize=True)
../_images/7f2b72753866ac7321a1ab136051508e253bfdd3488eb4c9f217af54dd34b386.png