diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /noao/digiphot/apphot/daofind/apimset.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/apphot/daofind/apimset.x')
-rw-r--r-- | noao/digiphot/apphot/daofind/apimset.x | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/daofind/apimset.x b/noao/digiphot/apphot/daofind/apimset.x new file mode 100644 index 00000000..6f1e8cdc --- /dev/null +++ b/noao/digiphot/apphot/daofind/apimset.x @@ -0,0 +1,17 @@ +include <imset.h> + +# AP_IMSET -- Setup image boundary extension charactersitics. + +procedure ap_imset (im, boundary, npix, constant) + +pointer im # pointer to the image +int boundary # type of boundary condition +int npix # number of pixels of boundary entension +real constant # constant for constant boundary extension + +begin + call imseti (im, IM_TYBNDRY, boundary) + call imseti (im, IM_NBNDRYPIX, npix) + if (boundary == BT_CONSTANT) + call imsetr (im, IM_BNDRYPIXVAL, constant) +end |