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 | |
params | |
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 | |
dimension | |
vis_dgm | |
dfVis | |
list | to_display = ["birth", "death", "lifetime"] |
viz = vis_tab.dataframe(st.session_state.dfVis[to_display], on_select="rerun") | |
batch_mode.compute | ( | ) |
batch_mode.display_plots | ( | ) |
batch_mode.generate_plots | ( | ) |
batch_mode.save_plots | ( | ) |
batch_mode.test | ( | ) |
define various functions needed for later
batch_mode.apf_checks = plot_tab.columns(3) |
batch_mode.atoms |
batch_mode.cokernel |
batch_mode.comp_file |
batch_mode.comp_name |
batch_mode.comp_tab |
batch_mode.config_file |
batch_mode.config_name |
batch_mode.dfVis |
batch_mode.dimension |
batch_mode.file_format = comp_tab.text_input("File format:", key="file_format",placeholder="Auto") |
batch_mode.file_path = comp_tab.text_input("Initial structure file:",key="file_path") |
lets set up the computation tab
batch_mode.image |
batch_mode.kernel |
batch_mode.key |
Set up visualisation tab.
batch_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") |
batch_mode.manual_config = comp_tab.checkbox("Manually specify configuration", key="manual_config") |
batch_mode.mode |
batch_mode.n_threads |
batch_mode.on_click |
batch_mode.params |
batch_mode.pd_checks = plot_tab.columns(3) |
Set up the plot tab.
batch_mode.placeholder |
batch_mode.plot_buttons = plot_tab.columns(3) |
batch_mode.plot_tab |
batch_mode.processed |
batch_mode.radii |
batch_mode.repeat_x |
batch_mode.repeat_y |
batch_mode.repeat_z |
batch_mode.same_config_file = comp_tab.checkbox("The computation settings are in the same configuration file.", key="same_config_file") |
batch_mode.sample_end |
batch_mode.sample_start |
batch_mode.sample_step |
batch_mode.selected_row |
batch_mode.thickness |
list batch_mode.to_display = ["birth", "death", "lifetime"] |
batch_mode.vis_dgm |
batch_mode.vis_tab |
batch_mode.viz = vis_tab.dataframe(st.session_state.dfVis[to_display], on_select="rerun") |