Resilience indices from a family of recovery functions | Synapse