Sonar analysis