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

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

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