Topological Material Analysis 0.5
Analyse the structures of materials using tools from TDA
|
Functions | |
get_representative_loops (pandas.DataFrame dgm, R, filt) | |
Get representative of each homology class in dimension 1. | |
get_0_and_1_cycles (loop, filt) | |
Get the vertices and edges of a loop. | |
loop_composition (verts, filt, points, atom_types) | |
Get the composition of a given representative. | |
generate_visulisation_df (pandas.DataFrame dgm, R, filt, points, atom_types) | |
generate the pandas.DataFrame containing the information about the points so we can display it | |
get_neighbour_cells (pandas.DataFrame points, list cycle_vertices, filt) | |
Get the neighbouring cells of a given cycle. | |
generate_display (pandas.DataFrame points, pandas.DataFrame dgm, int id, filt, neighbours=False) | |
Display a representative of a cycle. | |
visualisation.generate_display | ( | pandas.DataFrame | points, |
pandas.DataFrame | dgm, | ||
int | id, | ||
filt, | |||
neighbours = False ) |
Display a representative of a cycle.
points | pandas.DataFrame of the atoms |
dgm | pandas.DataFrame of the representatives of cycles |
id | int corresponding to the id of the cycle you want to visualise |
visualisation.generate_visulisation_df | ( | pandas.DataFrame | dgm, |
R, | |||
filt, | |||
points, | |||
atom_types ) |
generate the pandas.DataFrame containing the information about the points so we can display it
dgm | pandas.DataFrame of the diagram, with columns birth , death , birth simplex , death simplex , cycle rep |
visualisation.get_0_and_1_cycles | ( | loop, | |
filt ) |
Get the vertices and edges of a loop.
loop | list containing the ids of the edges in the loop |
filt | oineus filtration |
visualisation.get_neighbour_cells | ( | pandas.DataFrame | points, |
list | cycle_vertices, | ||
filt ) |
Get the neighbouring cells of a given cycle.
points | pandas.DataFrame of the points (atoms) in the structure |
cycle_vertices | list of the vertices in the cycle |
filt | oineus filtration |
visualisation.get_representative_loops | ( | pandas.DataFrame | dgm, |
R, | |||
filt ) |
Get representative of each homology class in dimension 1.
dgm | pandas.DataFrame containing the diagram and the birth and death simplex id |
filt | oineus filtration |
cycle rep
visualisation.loop_composition | ( | verts, | |
filt, | |||
points, | |||
atom_types ) |
Get the composition of a given representative.
loop | list containing the ids of the edges in the loop |
points | pandas.DataFrame of the points (atoms) in the structure |
atom_types | list of the atom types we are considering (restricting to) |