Topological Material Analysis 1
Analyse the structures of materials using tools from TDA
|
Functions | |
test () | |
define various functions needed for later | |
compute () | |
generate_plots () | |
display_plots () | |
save_plots () | |
Variables | |
comp_tab | |
plot_tab | |
vis_tab | |
mode | |
file_path = comp_tab.text_input("Initial structure file:",key="file_path") | |
lets set up the computation tab | |
file_format = comp_tab.text_input("File format:", key="file_format",placeholder="Auto") | |
processed | |
manual_config = comp_tab.checkbox("Manually specify configuration", key="manual_config") | |
config_file | |
key | |
Set up visualisation tab. | |
config_name | |
atoms | |
radii | |
manual_compute = comp_tab.checkbox("Manually specify settings for the computations (i.e number of threds, and if you want to compute kernel/image/cokernel)", key="maual_comp_config") | |
same_config_file = comp_tab.checkbox("The computation settings are in the same configuration file.", key="same_config_file") | |
comp_file | |
comp_name | |
sample_start | |
sample_end | |
sample_step | |
repeat_x | |
repeat_y | |
repeat_z | |
kernel | |
image | |
cokernel | |
thickness | |
placeholder | |
n_threads | |
on_click | |
pd_checks = plot_tab.columns(3) | |
Set up the plot tab. | |
apf_checks = plot_tab.columns(3) | |
plot_buttons = plot_tab.columns(3) | |
selected_row | |
selected_sample = vis_tab.radio("Selection which sample you want to explore", st.session_state.sample_indices) | |
selected_sample_index | |
dimension | |
vis_dgm | |
dfVis | |
list | to_display = ["birth", "death", "lifetime"] |
viz = vis_tab.dataframe(st.session_state.dfVis[to_display], on_select="rerun") | |
multi_mode.compute | ( | ) |
multi_mode.display_plots | ( | ) |
multi_mode.generate_plots | ( | ) |
multi_mode.save_plots | ( | ) |
multi_mode.test | ( | ) |
define various functions needed for later
multi_mode.apf_checks = plot_tab.columns(3) |
multi_mode.atoms |
multi_mode.cokernel |
multi_mode.comp_file |
multi_mode.comp_name |
multi_mode.comp_tab |
multi_mode.config_file |
multi_mode.config_name |
multi_mode.dfVis |
multi_mode.dimension |
multi_mode.file_format = comp_tab.text_input("File format:", key="file_format",placeholder="Auto") |
multi_mode.file_path = comp_tab.text_input("Initial structure file:",key="file_path") |
lets set up the computation tab
multi_mode.image |
multi_mode.kernel |
multi_mode.key |
Set up visualisation tab.
multi_mode.manual_compute = comp_tab.checkbox("Manually specify settings for the computations (i.e number of threds, and if you want to compute kernel/image/cokernel)", key="maual_comp_config") |
multi_mode.manual_config = comp_tab.checkbox("Manually specify configuration", key="manual_config") |
multi_mode.mode |
multi_mode.n_threads |
multi_mode.on_click |
multi_mode.pd_checks = plot_tab.columns(3) |
Set up the plot tab.
multi_mode.placeholder |
multi_mode.plot_buttons = plot_tab.columns(3) |
multi_mode.plot_tab |
multi_mode.processed |
multi_mode.radii |
multi_mode.repeat_x |
multi_mode.repeat_y |
multi_mode.repeat_z |
multi_mode.same_config_file = comp_tab.checkbox("The computation settings are in the same configuration file.", key="same_config_file") |
multi_mode.sample_end |
multi_mode.sample_start |
multi_mode.sample_step |
multi_mode.selected_row |
multi_mode.selected_sample = vis_tab.radio("Selection which sample you want to explore", st.session_state.sample_indices) |
multi_mode.selected_sample_index |
multi_mode.thickness |
list multi_mode.to_display = ["birth", "death", "lifetime"] |
multi_mode.vis_dgm |
multi_mode.vis_tab |
multi_mode.viz = vis_tab.dataframe(st.session_state.dfVis[to_display], on_select="rerun") |