blob: 3b419556d0e28549df58774bb5bf0ee2d39367d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# ARLT -- Replace if less than. If A[i] is less than FLOOR replace by NEWVAL.
procedure arltr (a, npix, floor, newval)
real a[ARB]
int npix
real floor, newval
int i
begin
do i = 1, npix
if (a[i] < floor)
a[i] = newval
end
|