irradiapy.analysis.clusters

Cluster analysis module.

Functions

atom_to_object(aclusters)

Transform atom clusters into object clusters.

clusterize(defects, cutoff)

Identify atom clusters.

clusterize_file(path_defects, cutoff_sia, ...)

Finds defect clusters in the given file.

get_clusters_0d(path_oclusters, path_db[, scale])

Perform a cluster size histogram for interstitials and vacancies.

get_clusters_1d(path_oclusters, path_db[, ...])

Perform a cluster size histogram as a function of depth along a specified axis.

plot_clustering_fraction_1d(db_path[, ...])

Plot the clustering fraction as a function of depth.

plot_mddb_cluster_size(target_dir, ...[, ...])

Plot the cluster size distribution from a molecular dynamics database.

plot_size_1d(db_path[, path_sias, ...])

Plot the depth-size 1D histogram for interstitials and vacancies.

read_clusters_0d(path_db)

Read the 0D cluster size histogram from the database.

read_clusters_1d(path_db[, axis])

Read the 1D cluster size histogram from the database.