IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 7, 2022, 4:38:07 PM (5 years ago)
Author:
eugene
Message:

gracefully handle certain errors; less verbosity on gauss fits

File:
1 edited

Legend:

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

    r41975 r41981  
    1 # this
    2 
    31# load.camstats (glob) : load data from a set of stf files and calculate detection histograms
    42# plot.camstats.resid  : plot photometric and astrometric residuals
     
    2422
    2523 list name -glob $1
     24 if ($name:n == 0)
     25   echo "ERROR: no files found matching $1"
     26   break
     27 end
     28
    2629 for i 0 $name:n
    2730
     
    106109  $C3 = 0.0
    107110
    108   peak -q dx NdRs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss dx NdRs con NdRf; $SigmaRA  = abs($C1)
    109   peak -q dx NdDs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss dx NdDs con NdDf; $SigmaDec = abs($C1)
    110   peak -q dx NdMs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss dx NdMs con NdMf; $SigmaMag = abs($C1)
     111  peak -q dx NdRs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss -q dx NdRs con NdRf; $SigmaRA  = abs($C1)
     112  peak -q dx NdDs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss -q dx NdDs con NdDf; $SigmaDec = abs($C1)
     113  peak -q dx NdMs; $C0 = $peakpos; $C2 = $peaknum; $C1 = 2*$HISTBIN; vgauss -q dx NdMs con NdMf; $SigmaMag = abs($C1)
    111114
    112115  section aM; lim 13 23 {-50*$HISTBIN} {50*$HISTBIN}; box $BST1
Note: See TracChangeset for help on using the changeset viewer.