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