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/fitsky/apgspars.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/apphot/fitsky/apgspars.x')
-rw-r--r-- | noao/digiphot/apphot/fitsky/apgspars.x | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/fitsky/apgspars.x b/noao/digiphot/apphot/fitsky/apgspars.x new file mode 100644 index 00000000..8ca7f52c --- /dev/null +++ b/noao/digiphot/apphot/fitsky/apgspars.x @@ -0,0 +1,26 @@ +include "../lib/display.h" +include "../lib/noise.h" +include "../lib/fitsky.h" + +# AP_SGPARS -- Procedure to fetch the parameters for the fitsky task. + +procedure ap_sgpars (ap) + +pointer ap # pointer to apphot structure + +bool clgetb() +int btoi() + +begin + # Open the apphot structure. + call apsinit (ap, AP_MODE, 10.0, 10.0, 2.0, AP_NPOISSON) + + # Get the data dependent parameters. + call ap_gdapars (ap) + + # Get the sky fitting parameters. + call ap_gsapars (ap) + + # Get radial plots. + call apseti (ap, RADPLOTS, btoi (clgetb ("radplots"))) +end |