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/apfdshow.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/apphot/daofind/apfdshow.x')
-rw-r--r-- | noao/digiphot/apphot/daofind/apfdshow.x | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/daofind/apfdshow.x b/noao/digiphot/apphot/daofind/apfdshow.x new file mode 100644 index 00000000..61be95ca --- /dev/null +++ b/noao/digiphot/apphot/daofind/apfdshow.x @@ -0,0 +1,72 @@ +include "../lib/apphot.h" +include "../lib/noise.h" +include "../lib/find.h" + +# AP_FDSHOW -- Display the current find parameters. + +procedure ap_fdshow (ap) + +pointer ap # pointer to the apphot strucuture + +begin + call ap_nshow (ap) + call printf ("\n") + call ap_fshow (ap) +end + + +# AP_FSHOW -- Procedure to display the current data parameters. + +procedure ap_fshow (ap) + +pointer ap # pointer to the apphot strucuture + +pointer sp, str +bool itob() +int apstati() +real apstatr() + +begin + call smark (sp) + call salloc (str, SZ_LINE, TY_CHAR) + + # Set the object charactersitics. + call printf ("Kernel Parameters\n") + call printf (" %s = %g %s %s = %b\n") + call pargstr (KY_FWHMPSF) + call pargr (apstatr (ap, FWHMPSF)) + call pargstr (UN_ASCALEUNIT) + call pargstr (KY_POSITIVE) + call pargb (itob (apstati (ap, POSITIVE))) + + call printf (" %s = %g %s %s = %g %s = %g %s\n") + call pargstr (KY_NSIGMA) + call pargr (apstatr (ap, NSIGMA)) + call pargstr (UN_FSIGMA) + call pargstr (KY_RATIO) + call pargr (apstatr (ap, RATIO)) + call pargstr (KY_THETA) + call pargr (apstatr (ap, THETA)) + call pargstr (UN_FDEGREES) + + # Print the rest of the data dependent parameters. + call printf ("\nDetection Parameters\n") + call printf (" %s = %g %s\n") + call pargstr (KY_THRESHOLD) + call pargr (apstatr (ap, THRESHOLD)) + call pargstr (UN_FSIGMA) + + call printf (" %s = %g %s = %g\n") + call pargstr (KY_SHARPLO) + call pargr (apstatr (ap, SHARPLO)) + call pargstr (KY_SHARPHI) + call pargr (apstatr (ap, SHARPHI)) + + call printf (" %s = %g %s = %g\n") + call pargstr (KY_ROUNDLO) + call pargr (apstatr (ap, ROUNDLO)) + call pargstr (KY_ROUNDHI) + call pargr (apstatr (ap, ROUNDHI)) + + call sfree (sp) +end |