blob: e776573c30dddad08bee8dd724e05c27aec81530 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# ARGT -- Replace if greater than. If A[i] is greater than CEIL replace by
# NEWVAL.
procedure argtl (a, npix, ceil, newval)
long a[ARB]
int npix
long ceil, newval
int i
begin
do i = 1, npix
if (a[i] > ceil)
a[i] = newval
end
|