aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/apphot/phot/apppars.x
diff options
context:
space:
mode:
Diffstat (limited to 'noao/digiphot/apphot/phot/apppars.x')
-rw-r--r--noao/digiphot/apphot/phot/apppars.x26
1 files changed, 26 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/phot/apppars.x b/noao/digiphot/apphot/phot/apppars.x
new file mode 100644
index 00000000..68e08aeb
--- /dev/null
+++ b/noao/digiphot/apphot/phot/apppars.x
@@ -0,0 +1,26 @@
+include "../lib/display.h"
+
+# AP_PPARS -- Procedure to write out the phot task parameters.
+
+procedure ap_ppars (ap)
+
+pointer ap # pointer to apphot structure
+
+bool itob()
+int apstati()
+
+begin
+ # Write the data dependent parameters.
+ call ap_dapars (ap)
+
+ # Write the centering parameters.
+ call ap_cepars (ap)
+
+ # Write the sky fitting paameters.
+ call ap_sapars (ap)
+
+ # Write the photometry parameters.
+ call ap_phpars (ap)
+
+ call clputb ("radplots", itob (apstati (ap, RADPLOTS)))
+end