aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aavgl.x
blob: 3c0152461a2c9f6cda35bd57d4dabf1d5d338fb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AAVG -- Compute the mean and standard deviation (sigma) of a sample.
# All pixels are used.

procedure aavgl (a, npix, mean, sigma)

long	a[ARB]
int	npix
double	mean, sigma, lcut, hcut
int	junk, awvgl()
data	lcut /0./, hcut /0./

begin
	junk = awvgl (a, npix, mean, sigma, lcut, hcut)
end