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/lib/noisedef.h | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/digiphot/apphot/lib/noisedef.h')
-rw-r--r-- | noao/digiphot/apphot/lib/noisedef.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noao/digiphot/apphot/lib/noisedef.h b/noao/digiphot/apphot/lib/noisedef.h new file mode 100644 index 00000000..3d67f5ec --- /dev/null +++ b/noao/digiphot/apphot/lib/noisedef.h @@ -0,0 +1,21 @@ +# APPHOT header file + +define LEN_APNOISE (10 + 3 * SZ_FNAME + 3) + +# noise model parameters + +define AP_NOISEFUNCTION Memi[$1] # Noise function +define AP_SKYSIGMA Memr[P2R($1+2)] # Sky sigma in counts +define AP_EPADU Memr[P2R($1+3)] # Photons per adu +define AP_READNOISE Memr[P2R($1+4)] # CCD readnoise in adu +define AP_GAIN Memc[P2C($1+6)] # Gain keyword +define AP_NSTRING Memc[P2C($1+6+SZ_FNAME+1)] # Noise model +define AP_CCDREAD Memc[P2C($1+6+2*SZ_FNAME+2)] # Readnoise + +# noise model defaults + +define DEF_SKYSIGMA INDEFR +define DEF_EPADU 1.0 +define DEF_CCDREAD "" +define DEF_GAIN "" +define DEF_READNOISE INDEFR |