Bio-inspired sensing algorithms