IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36053


Ignore:
Timestamp:
Aug 29, 2013, 1:27:36 PM (13 years ago)
Author:
eugene
Message:

update galaxy tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130711/psphot/test/tap_psphot_galaxygrid.pro

    r36033 r36053  
    392392
    393393macro grid.plots.sersic
     394  if ($0 != 2)
     395    echo "USAGE: grid.plot.devexp (version)"
     396    break
     397  end
    394398  # things to examine: theta, Rmajor, AR
    395399
     
    403407  subset dTx = dT if (ARin < 0.95)
    404408  histogram dTx NdT -8 8 0.1 -range dTi
    405   lim -n 0 dTi NdT; clear; box; plot -x 1 dTi NdT
     409  lim -n 0$1 dTi NdT; clear; box; plot -x 1 dTi NdT
    406410  label -x "angle offset (degrees, only non-circular)" -y "number count"
    407411
     
    413417  create n 0 dR[]
    414418  set dRf = dR / Rin_s
    415   lim -n 1 n dRf; clear; box; plot n dRf
     419  lim -n 1$1 n dRf; clear; box; plot n dRf
    416420  label -x sequence -y "1 - R_out| / R_in|"
    417421
     
    420424  # lim ARin ARot; clear; box; plot ARin ARot
    421425  set fAR = ARot / ARin
    422   lim -n 2 n fAR; clear; box; plot n fAR
     426  lim -n 2$1 n fAR; clear; box; plot n fAR
    423427  label -x sequence -y "AR_out| / AR_in|"
     428
     429  # check on magnitude
     430  set dM = Mot_s - Min_s
     431  lim -n 3$1 n dM; clear; box; plot n dM   
     432  label -x sequence -y "M_out| - M_in|"
     433
     434  # check on index
     435  set dI = Iot_s - Iin_s
     436  lim -n 4$1 n dI; clear; box; plot n dI   
     437  label -x sequence -y "I_out| - I_in|"
    424438end
    425439
     
    486500
    487501  # ppImage / psphot on the output
     502  break -auto off
    488503  echo ppImage $ppImageConfig $psphotConfig -file $basename.fits $outname
    489   exec ppImage $ppImageConfig $psphotConfig -file $basename.fits $outname
     504  exec echo ppImage $ppImageConfig $psphotConfig -file $basename.fits $outname >& $outname.log
     505  exec ppImage $ppImageConfig $psphotConfig -file $basename.fits $outname >>& $outname.log
     506  break -auto on
    490507end
    491508
Note: See TracChangeset for help on using the changeset viewer.