blob: dffdce170270e3984f8b6ae7449d735b46cd0e43 (
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 argti (a, npix, ceil, newval)
int a[ARB]
int npix
int ceil, newval
int i
begin
do i = 1, npix
if (a[i] > ceil)
a[i] = newval
end
|