generic sensor array class