spheropack.analysis.rattlers#
- spheropack.analysis.rattlers(packing, tol=1e-05, method='auto', force_threshold=0.001)#
Boolean mask of rattlers: spheres that carry no force in a jammed packing.
- Parameters:
method (str) –
"force": a sphere is a rattler when its time-averaged collision pressure in the last measurement window (Packing.sphere_pressure) is belowforce_thresholdtimes the median. This is the physical definition: the collision impulses of an event-driven simulation are the contact forces."contacts": spheres with fewer thandim + 1contacts (seecontacts()fortol) are removed together with their contacts, repeatedly, until all remaining spheres have at leastdim + 1. It needs no dynamics but cannot detect spheres whose contacts do not balance."auto":"force"when per-sphere pressures are available.packing (Packing)
tol (float)
force_threshold (float)
- Return type: