IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30721


Ignore:
Timestamp:
Feb 21, 2011, 9:02:51 AM (15 years ago)
Author:
eugene
Message:

add tests for radial apertures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psphot/test/tap_psphot_stackphot.pro

    r30706 r30721  
    763763end
    764764
     765macro ckradialflux
     766 data $1
     767 read -fits Chip.xrad X_APER Y_APER PSF_FWHM APER_FLUX APER_FLUX_ERR APER_FLUX_STDEV APER_FILL
     768 read -fits Chip.psf X_PSF Y_PSF PSF_INST_MAG
     769 set mag = PSF_INST_MAG
     770 # XXX include nradii in header
     771 for i 0 11
     772   set mA$i = -2.5*log(APER_FLUX:$i)
     773   set dM$i = mA$i - PSF_INST_MAG
     774   vstat dM$i
     775   $DM$i = $MEDIAN
     776 end
     777 for i 1 11
     778   $j = $i - 1
     779   echo {$DM$i - $DM$j}
     780 end
     781
     782 lim mag -2 2; clear; box
     783 for i 0 11
     784   plot mag dM$i -c black
     785 end
     786end
     787
    765788if ($SCRIPT)
    766789  fulltest 4
Note: See TracChangeset for help on using the changeset viewer.