Routine to introduce vacancies in a system, i.e. to remove atoms. It is a
statistical method, meaning that each atom in the motif has a probability of being removed
or not. Thus each call to this method would generate a different structure.
- Parameters:
system (System) – Instance of System class or subclass derived from it
NB: Strictly speaking, this can be used on Crystal class as well
probability (float) – Parameter to specify probability of removing an atom;
defaults to 0.5
- Return type:
System
- Returns:
Modified system