Install
Learn
Functions
Gallery
Publications
Movies
Other
compute_connection_data
Function reference
Compute
Recommended
add_best_optuna_trial_to_rag_serial
add_env_cluster_pocket_types_to_rag
add_pocket_types_to_rag
compute_surface_area_mc_winding
compute_surface_area_mesh_winding
compute_void_volume_from_results_winding
connections_from_regions_and_dgrid
detect_periodic_maxima_direct
get_connections_for_rag
get_energy_interpolator_tricubic
get_percolated_paths_on_rag
pbc_groups_from_segmentation
rag_from_connections
regions_from_dgrid
select_percolation_threshold
Alternate
add_best_optuna_trial_to_rag
add_pocket_psd_to_rag_with_pbc
add_pocket_psds_to_rag_from_segmentation
add_vdw_hist_to_rag
check_percolation_periodic2
compute_percolation_history
compute_percolation_history2
compute_percolation_history_from_results
compute_percolation_history_from_results2
compute_percolation_history_from_results_lattice
compute_point_probe_reference
compute_surface_area_mc_lattice
compute_surface_area_mesh
compute_surface_area_mesh_lattice
compute_void_volume_from_results
compute_void_volume_from_results_lattice
detect_periodic_maxima_enhanced
dgrid_from_atoms_cpu_hybrid
dgrid_from_atoms_gpu
get_energy_interpolator
get_pld_for_rag
get_pore_dia_lattice
get_pore_dia_mgr
get_pore_dia_mgr2
get_psd_on_rag
get_rag_from_regions_and_grid
gpd_aabb_hybrid
gpe_aabb
setup_poisson_spectral_gpu
solve_poisson_spectral_gpu
Other
AABB_on_atoms
add_centroids_to_rag_with_pbc
add_maxima_to_rag
add_pbc_to_rag
add_props_to_graph
add_props_to_rag
add_window_info_to_rag
apply_pbc
apply_periodic_map
calc_path_components
calculate_padding_thickness
clustering_grid_from_regions
compare_two_paths
dask_grid_over_atoms
filter_percolated_paths
get_diametrically_opposite_points
get_distances_for_path
get_pbc_groups
get_periodic_map
get_region_props_for_regions
get_repetitions_to_meet_cutoff
get_sampling_paths_for_region
get_wall_windows2
gpd_aabb
gpe_aabb2
interpolate_dgrid
mark_points_with_largest_including_dia
normalize_pbc_groups_by_regions_pbc
pad_periodic
percolation_all_axes_periodic
repeat_to_meet_cutoff
sample_path
setup_poisson_spectral
solve_poisson_spectral
Experimental
compute_surface_area_mc
find_isomorphic_path_groups
find_paths
optimize_molecule_at_node
Legacy
add_clustering_to_rag
add_clustering_to_rag_energy
add_clustering_to_rag_energy_js
add_clustering_to_rag_geometry_js
add_csd_to_rag
add_csd_to_rag_with_pbc
check_percolation_periodic
compute_pld
compute_surface_area
compute_void_volume
dgrid_from_atoms
dgrid_from_atoms_cpu
dgrid_from_atoms_cpu_no_aabb
egrid_from_atoms2
find_pore_limiting_radius
find_pore_limiting_radius2
get_energies_for_group
get_energies_for_group2
Deprecated
add_clustering_to_rag_pca
do_periodic_segmentation
do_periodic_segmentation_basic
get_pld_from_percolated_paths_path_windows
get_wall_windows3
add_psd_to_rag
add_psd_to_rag_with_pbc
compute_surface_area_from_results
compute_surface_area_from_results_lattice
compute_surface_area_from_results_mc
compute_surface_area_from_results_mc_lattice
compute_surface_area_from_results_mc_winding
compute_surface_area_from_results_winding
Plotly visualization
Recommended
plot_aromatic_rings
plot_blocking_spheres
plot_cell
plot_connections_as_it_is
plot_csds
plot_framework_as_mesh
plot_maxima
plot_percolated_cluster_meshes
plot_percolation_windows
plot_pocket_psds_from_grid
plot_pocket_psds_on_rag
plot_surface_dgrid
plot_windows_from_results
Alternate
draw_framework
get_pore_size_distribution_trace
make_pore_size_distribution_fig_from_rag
plot_dgrid_as_volume
plot_electrostatic_isosurfaces
plot_electrostatic_volume
plot_paths
plot_pld_locations
plot_pocket_psds
plot_rag
plot_rag_separate_traces
plot_snapshot_raspa_pdb
plot_vdw_hists
Other
add_hoverdata_to_atoms_traces
add_traces_plotly
batched_mesh_for_atoms
cylinders_for_bonds
get_default_colors
get_isosurface_mesh
get_isosurface_submeshes
get_potential_near_atoms
make_bg_image
make_fig_orthographic
make_fig_orthographic_all_subplots
mesh_for_atoms
plot_blocking_spheres_styled
plot_cycle_highlights
plot_mesh
plot_subset_of_atoms
scatter3d
spheres_for_atoms
spheres_for_positions
trimesh_from_pyvista
Experimental
plot_molecule_at_best_optuna_trials
Legacy
plot_connections
plot_everything
plot_pore_graph
plot_windows
Deprecated
plot_psds
Analyze
Recommended
compute_aromatic_cycles
find_functional_groups
get_bond_types
sgraph_from_atoms
update_with_covalent_bonds
Alternate
ase_to_rdkit
find_aromatic_cycles_in_sgraph
find_cycles_in_sgraph
find_rings_in_ase_atoms
rings_by_size_rdkit
Other
aabb_neighbors_on_atoms
detect_smiles_in_mol
find_chemically_unique_cycles
find_pattern_in_sgraph
find_smiles_in_mofid
get_atoms_from_smiles
get_bonds_and_orders_without_replication
get_subset_atoms
voronoi_on_atoms
Experimental
find_unique_sgraphs
Data
Recommended
atoms_from_mofdb_df
get_data_from_mofdb
sample_representative_mofdb
Alternate
get_atoms_from_mofdb_df_parallel
read_cif_string
Other
add_graph_to_db
bound_fetch
create_db_from_pickled_graphs
fetch
get_graph
get_mofdb_data
get_num_graphs
get_number_of_pages
mix_lorentz_berthelot
plot_representative_sample_subplots
read_raspa_pdb
show_percolated_paths_as_df
write_cifs_from_mofdb_df
Helper
Alternate
compute_psds_from_points_pocketwise
estimate_h_from_percolation_history
merge_small_regions_pbc
Other
ase_frac_to_egrid_query
check_wall
check_wall_per_dim
compare_psd_peaks
compute_wall_cells
convert_to_cygwin_path
find_coord_from_indices
find_end_channel_pairs
find_psd_peaks
find_touching_region_pairs
get_fractional_coordinates
get_min_distance
get_perpendicular_voxel_lengths
interpolate_labels
is_inside_or_close_to_boundary
make_command
merge_small_regions
move_maximum_to_peak
periodic_gaussian_filter
process_wall_maxima
run_cygwin_from_jupyter
run_cygwin_from_jupyter_rt
spectral_smooth_3d
trim_connections_to_unique_regions
zoom_grid
Rust backend
Recommended
compute_accessible_psd_from_results
compute_pocket_psds_for_segmentation
compute_psd_global_accessible
compute_psds_pocketwise_rust
dgrid_from_atoms_rust
do_periodic_segmentation_rust
egrid_tricubic_from_atoms_rust
Alternate
compute_psd_uniform_rust
compute_psds_pocketwise_accessible
egrid_from_atoms_rust
seeded_watershed_det_parallel_rust
seeded_watershed_det_rust
dgrid_from_atoms_rtree_interp_rust
dgrid_from_atoms_rtree_rust
Other
compute_pore_sizes_pocketwise_rust
compute_pore_sizes_uniform_rust
egrid_query_extent_from_atoms
tricubic_interpolator_from_grid
Deprecated
dgrid_from_atoms_aabb_interp_rust
dgrid_from_atoms_aabb_rust
dgrid_from_atoms_exp_rust
Workflows
Recommended
add_percolation_windows_to_fig
assign_pocket_types
enrich_segmentation_with_pocket_psds
pocket_regions_cluster
show_mof_plotly
show_mof_threejs
show_percolation_threejs
Alternate
build_padded_threejs_scene
Legacy
quick_cluster
Three.js visualization
Recommended
Figure3D
Figure3js
MovieFigure
draw_framework
plot_cell
plot_connections
plot_connections_as_it_is
plot_connections_as_it_is_3js
plot_framework_as_mesh_3js
plot_maxima
plot_maxima_from_grid
plot_percolated_cluster_meshes
plot_percolation_windows
plot_surface_dgrid
plot_windows
plot_windows_from_results
Alternate
draw_framework_3js
plot_cell_3js
plot_connections_3js
plot_maxima_3js
plot_maxima_from_grid_3js
plot_percolated_cluster_meshes_3js
plot_percolation_windows_3js
plot_surface_dgrid_3js
plot_windows_3js
plot_windows_from_results_3js
Other
add_trace
add_traces
prepare_seg_threejs
qualitative_colorscale
seg_from_connections
Three.js plotting
Recommended
show_percolation_threejs
Viz backend
Other
ensure_plotly_figure
ensure_plotly_trace
ensure_threejs_figure
ensure_threejs_trace
is_plotly_figure
is_plotly_trace
is_threejs_figure
is_threejs_trace
iter_leaf_traces
tag_threejs_trace
validate_plotly_traces
validate_threejs_traces
Movies
Recommended
build_fixed_framework_movie
build_static_scene
compute_segmentation_for_snapshot
make_aromatic_rings_trace
make_framework_instanced_trace
make_movie_from_trajectory
make_percolation_clusters_trace
make_percolation_windows_trace
read_movie_snapshots
Alternate
embedded_movie_dict_from_path
make_framework_scatter_trace
make_framework_trace
make_movie_from_raspa_pdb
make_sparse_multicomponent_movie
read_raspa_pdb_movie
Other
compute_cell_lines
compute_connection_data
compute_framework_mesh
compute_maxima_data
compute_sparse_segmentation_series
compute_surface_mesh
compute_windows_data
make_cell_trace
make_connections_trace
make_guest_bonds_trace
make_guest_trace
make_maxima_trace
make_surface_trace
make_windows_trace
Legacy
embedded_movie_dict_from_snapshots
Winding percolation
Recommended
collect_periodic_edges_canonical
compute_percolation_history_winding
find_pore_limiting_radius_winding
get_pore_dia_mgr_winding
make_directed_graph_from_segmentation_results
percolating_region_labels_at_probe_winding
percolation_all_axes_winding
update_results_with_percolation_history_winding
Alternate
annotate_graph_edges_with_window_fingerprints
get_pore_dia_mgr_winding2
get_pore_dia_mgr_winding3
make_periodic_graph_from_binary_grid
percolation_winding_on_binary_grid
Other
annotate_clusters
build_base_region_labels
build_base_region_labels_from_results
check_percolation_winding
detect_percolation_with_threshold
percolation_winding_multidigraph
Legacy
collect_periodic_edges
Pocket typing
Recommended
assign_pocket_types_env_cluster
assign_pocket_types_from_segmentation
regions_cluster_from_rep_types
Alternate
assign_pocket_types_shape_refined
Other
build_fragment_label_to_rep
build_fragment_label_to_type
build_pockets_from_segmentation
build_rep_to_fragment_group
compute_pocket_fingerprints
compute_typing_dgrid
fingerprints_similar_adjacent_bands
group_pockets_by_d1_coarse
merge_adjacent_groups_by_fingerprint
merge_singleton_max_r_bands
pocket_typing_result_for_app
psd_bins
resolve_typing_vdw_radii
split_band_by_max_r_subpeaks
summarize_types
Legacy
regions_cluster_from_rag
Pocket framework env
Other
adaptive_shell_radius
assign_pocket_types_by_max_probe_radius
bond_type_from_order
compute_connectivity_fingerprints
compute_pocket_fingerprint
expand_bond_closure
fingerprint_cosine_similarity
framework_atom_indices_near_void
framework_indices_adaptive_shell
max_probe_radius_at_peak
max_probe_radius_for_fragment_group
mic_vectors_from_centroid
peak_cart_for_fragment_group
pocket_centroid
radial_histogram_normalized
sh_power_spectrum_unit_dirs
void_cart_for_pocket
void_cart_mic_for_fragment_group
void_cart_near_dgrid_peak
void_cart_surface_pocket
Widest-path resegment
Other
marker_padded_position
neighbor_offsets_26
widest_path_bottleneck_between_seeds
widest_path_bottleneck_from_seed
Experimental
apply_widest_path_fix_to_pair
find_all_pbc_wrap_marker_pairs
find_pbc_wrap_marker_pair
repartition_pair_widest_path
Window refinement
Deprecated
refine_windows_via_morph_opening
Export MP4
Recommended
export_staged_figure_to_mp4
Alternate
export_plotly_frames_to_mp4
Other
kaleido_persistent_session
set_traces_visible
Percolation results
Recommended
get_percolation_history
get_pore_dia
has_percolation_history
store_percolation_history
store_pore_dia
VDW radii
Recommended
default_vdw_radii_angstrom
typing_vdw_radii_angstrom
Other
vdw_radii_input_metadata
Legacy
mendeleev_vdw_radii_angstrom
CIF I/O
Recommended
read_cif_to_ase
RASPA helper
Recommended
blocking_spheres_for_probe_radius
blocking_spheres_largest_including
percolated_region_labels_winding
Alternate
blocking_spheres_greedy
Other
accessible_interface_voxel_mask
apply_region_map_to_raspa_pdb
apply_region_map_to_raspa_pdb_wrapped
blocking_spheres_overlap_accessible_coarse_sample
blocking_spheres_overlap_into_accessible_near_interface
blocking_spheres_overlap_into_accessible_regions
blocking_spheres_overlap_leakage
blocking_spheres_overlap_leakage_pair
get_atoms_list_for_pdb
get_isos_fit_for_multiple_raspa_folders
get_isos_fit_for_raspa_folder
get_isotherm_df_for_raspa_folder
get_isotherms_dict_for_multiple_raspa_folders
labels_accessible_adjacent_to_inaccessible_via_rag
make_raspa_input_for_cif
percolation_region_labels_union_winding
print_blocking_accessible_coarse_overlap_comparison
print_blocking_spheres_overlap_pair_report
print_blocking_spheres_overlap_report
segmentation_spacing_from_results
write_blocking_spheres_file
Legacy
block_pockets_at_random_and_write
block_specific_pockets_and_write
Deprecated
print_blocking_accessible_coarse_overlap_report
print_blocking_interface_overlap_stats
print_blocking_overlap_stats
On this page
compute_connection_data
Edit this page
Report an issue
Movies
Other
compute_connection_data
compute_connection_data
movies.compute_connection_data(seg, atoms)
Compute connection line-segment + node-point data.
compute_cell_lines
compute_framework_mesh