block_pockets_at_random_and_write

legacy Old RAG-centroid blocking file writer; superseded by segmentation-based spheres. Use blocking_spheres_for_probe_radius instead.

raspa_helper.block_pockets_at_random_and_write(
    file_path,
    rag,
    ase_atoms,
    random_seed=123,
)

Write RASPA blocking spheres for a random fraction of each RAG pocket type.

Parameters

Name Type Description Default
file_path the path to the file you want to write the blocking information to required
rag the networkx graph object required
ase_atoms ASE atoms object required
random_seed the random seed to use for the random number generator, defaults to 123 (optional) 123

Returns

Name Type Description
The blocking_fractions and _ are being returned.