IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41735


Ignore:
Timestamp:
Jul 30, 2021, 10:45:30 AM (5 years ago)
Author:
eugene
Message:

make bright-star mag range more flexible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/teleff/camstats.sh

    r41722 r41735  
    5555
    5656if (not($?HISTBIN)) set HISTBIN = 0.01
     57if (not($?BRIGHTMIN)) set BRIGHTMIN = 15.0
     58if (not($?BRIGHTMAX)) set BRIGHTMAX = 17.0
    5759macro plot.camstats.resid
    5860
     
    7678
    7779  set keepGood = (PSF_QF > 0.85)
    78   set keepBright = keepGood && (Mref > 15) && (Mref < 17)
     80  set keepBright = keepGood && (Mref > $BRIGHTMIN) && (Mref < $BRIGHTMAX)
    7981
    8082  subset dRs = dR where keepBright
     
    112114  plot dx NdMs -x hist -lw 3
    113115  plot dx NdMf -x line -c red -lw 2
    114   label -x "&sd&h mag" +y "N (15 < mag < 17)"
     116  label -x "&sd&h mag" +y "N ($BRIGHTMIN < mag < $BRIGHTMAX)"
    115117  sprintf line "&ss&h (mag) = %.0f mmag" {1000*$SigmaMag}; textline -frac 0.02 0.95 -justify 5 "$line"
    116118 
     
    118120  plot dx NdRs -x hist -lw 3
    119121  plot dx NdRf -x line -c red -lw 2
    120   label -x "&sd&h R.A" +y "N (15 < mag < 17)"
     122  label -x "&sd&h R.A" +y "N ($BRIGHTMIN < mag < $BRIGHTMAX)"
    121123  sprintf line "&ss&h (mag) = %.0f mas" {1000*$SigmaRA}; textline -frac 0.02 0.95 -justify 5 "$line"
    122124 
     
    124126  plot dx NdDs -x hist -lw 3
    125127  plot dx NdDf -x line -c red -lw 2
    126   label -x "&sd&h Dec" +y "N (15 < mag < 17)"
     128  label -x "&sd&h Dec" +y "N ($BRIGHTMIN < mag < $BRIGHTMAX)"
    127129  sprintf line "&ss&h (Dec) = %.0f mas" {1000*$SigmaDec}; textline -frac 0.02 0.95 -justify 5 "$line"
    128130end
Note: See TracChangeset for help on using the changeset viewer.