IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2021, 3:30:26 PM (5 years ago)
Author:
eugene
Message:

improved plots, option to restrict to camera-confirmed sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/teleff/diffmask.pro

    r41719 r41720  
    1313if (not($?MATCH_RADIUS)) set MATCH_RADIUS = 2.0
    1414
     15if (not($?USE_CAMSOURCE)) set USE_CAMSOURCE = 0
     16
    1517$SMF_FIELDS_DIF = X_PSF Y_PSF RA_PSF DEC_PSF CAL_PSF_MAG PSF_QF PSF_QF_PERFECT
    1618$REF_FIELDS_DIF = Rref Dref Mref
     
    5052  # load the reference source table
    5153  # how to choose the name of the filter?
    52   data $refsrcs; read -fits DATA $REF_FIELDS_DIF
     54  data $refsrcs;
     55  if ($USE_CAMSOURCE)
     56   read -fits DATA Rref_out Dref_out Mref_out
     57   set Rref = Rref_out
     58   set Dref = Dref_out
     59   set Mref = Mref_out
     60  else
     61    read -fits DATA $REF_FIELDS_DIF
     62  end
     63
    5364  set Nref = ramp(Rref)
    5465  if ($VERBOSE) echo "loaded Rref[] sources from reference $refsrcs"
Note: See TracChangeset for help on using the changeset viewer.