IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41975


Ignore:
Timestamp:
Jan 4, 2022, 6:25:40 AM (5 years ago)
Author:
eugene
Message:

adding comments, new smf option

Location:
branches/eam_branches/ipp-20211108/ippTests/ippCheck
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/ippTests/ippCheck/cammask.pro

    r41941 r41975  
    11#!/usr/bin/env dvo
     2
     3# this module generates a table of mask fractions and matched detections for known sources
     4# in the field of an exposure.  mask fractions are measured on the chip (or camera?) mask files
     5# while the detections are derived from the camera-stage smf file
     6
     7# this module provides the following functions
     8# get.camera.eff (camera) (expname) (camLabel) (refsrcs.fits) :
     9# get.chip.detect.stats (chipname) (chipnseq)
     10# get.chip.mask.stats (cammask)
     11# get.chip.mask.files (camPath)
     12# get.chip.metadata (camera) (chipID)
     13# get.camera.metadata (camera) (expname) (camLabel)
     14
     15# init.radec.range
     16# set.radec.range
    217
    318$VERBOSE    = 1       
  • branches/eam_branches/ipp-20211108/ippTests/ippCheck/camstats.pro

    r41941 r41975  
     1# this
     2
     3# load.camstats (glob) : load data from a set of stf files and calculate detection histograms
     4# plot.camstats.resid  : plot photometric and astrometric residuals
     5# plot.camstats.fracs  : plot detection fraction histograms vs magnitude
     6
     7# calc.camstats : calculate detection histograms for a single set of data
     8
     9# UTILITIES:
     10# legend.init
     11# legend.line
    112
    213macro load.camstats
     
    270281end
    271282
     283############ macros used to test mpcorb_predict
     284
    272285macro plot.camsky
    273286
     
    290303  cplot -c red  -op 1.0 -pt box -sz 2.5 RrefCam DrefCam where (not(isnan(Xpsf)) && (Q1psf > 0.85))
    291304end
    292 
    293 ############ macros used to test mpcorb_predict
    294305
    295306macro test.mpcfine
  • branches/eam_branches/ipp-20211108/ippTests/ippCheck/ippCheck

    r41973 r41975  
    2525    break
    2626  end
     27
     28  # XXX Can I add flags to turn on/off certain stages?
     29  # -no-warp, -no-diff, -no-cam
     30
     31  args.options -no-cam  BOOL SKIP_CAM
     32  args.options -no-warp BOOL SKIP_WARP
     33  args.options -no-diff BOOL SKIP_DIFF
    2734
    2835  local expname camlabel
     
    124131  if ("$argv:0" == "mpc")
    125132    if ($argv:n != 4)
    126       echo "USAGE: teleff.pro mpc (expname) (label) (mpcfile)"
     133      echo "USAGE: ippCheck mpc (expname) (label) (mpcfile)"
    127134      break
    128135    end
     
    134141  if ("$argv:0" == "dvo")
    135142    if ($argv:n != 3)
    136       echo "USAGE: teleff.pro dvo (expname) (label)"
     143      echo "USAGE: ippCheck dvo (expname) (label)"
    137144      break
    138145    end
     
    142149  end
    143150
    144   echo "USAGE: teleff.pro (mode) (expname) (label) [mpcfile]"
     151  if ("$argv:0" == "smf")
     152    if ($argv:n != 4)
     153      echo "USAGE: ippCheck smf (expname) (label) (smffile)"
     154      break
     155    end
     156
     157    example.full.dvo $argv:1 $argv:2
     158    exit 0
     159  end
     160
     161  echo "USAGE: ippCheck (mode) (expname) (label) [mpcfile]"
    145162  echo "  mode may be 'dvo' or 'mpc'"
    146163  exit 2
    147164end
     165
Note: See TracChangeset for help on using the changeset viewer.