aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aavgr.x
blob: c4aaa0515e32ec082d9c14a4192ae021aa8ed511 (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 aavgr (a, npix, mean, sigma)

real	a[ARB]
int	npix
real	mean, sigma, lcut, hcut
int	junk, awvgr()
data	lcut /0./, hcut /0./

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