Changeset 42125 for trunk/ippTests/ippCheck/camstats.pro
- Timestamp:
- Mar 17, 2022, 1:54:21 PM (4 years ago)
- Location:
- trunk/ippTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTests
-
Property svn:mergeinfo
set to
/tags/ipp-ops-20220303-rc/ippTests merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ippTests/ippCheck
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/eam_branches/ipp-20211108/ippTests/ippCheck merged eligible /tags/ipp-ops-20220303-rc/ippTests/ippCheck merged eligible /branches/IPP-308_move_backups_folder/ippTests/ippCheck 40969-40970 /branches/czw_branch/20160809/ippTests/ippCheck 39651-39924 /branches/czw_branch/20170908/ippTests/ippCheck 40128-40486 /branches/eam_branches/ipp-20191011/ippTests/ippCheck 40935-41170 /branches/eam_branches/ipp-dev-20210817/ippTests/ippCheck 41797-41890 /branches/ipp-259_genericise_backups/ippTests/ippCheck 40910-40966 /tags/ipp-ps1-20210510/ippTests/ippCheck 41576-41704 /tags/ipp-ps1-20210708/ippTests/ippCheck 41709-41749
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/ippTests/ippCheck/camstats.pro
r41981 r42125 38 38 # results in magFound, fracFound, numFound 39 39 calc.camstats 40 if ( $i== 0)40 if (numTotal_sum?[] == 0) 41 41 set numTotal_sum = numTotal 42 42 set numFound_sum = numFound … … 57 57 end 58 58 59 set numTotal = numTotal_sum 60 set numFound = numFound_sum 61 set numPoss = numPoss_sum 62 set numGood = numGood_sum 63 delete numTotal_sum numFound_sum numPoss_sum numGood_sum 59 if (numTotal_sum?[] == 0) 60 calc.camstats 61 else 62 set numTotal = numTotal_sum 63 set numFound = numFound_sum 64 set numPoss = numPoss_sum 65 set numGood = numGood_sum 66 delete numTotal_sum numFound_sum numPoss_sum numGood_sum 67 end 64 68 65 69 set fracFound = (numTotal > 0) ? numFound / numTotal : zero(numTotal) … … 79 83 $BST2 = -tickpad 0.2 -xpad 3.5 -labelpadx 3.0 -ypad 0.5 -labelpady 0.0 +ypad 4.5 +labelpady 4.0 -labels 1001 80 84 81 section aM 0.00 0.66 0.65 0.33 82 section aR 0.00 0.33 0.65 0.33 83 section aD 0.00 0.00 0.65 0.33 84 85 section bM 0.65 0.66 0.35 0.33 86 section bR 0.65 0.33 0.35 0.33 87 section bD 0.65 0.00 0.35 0.33 85 section aM 0.00 0.66 0.65 0.33; label -x mag -y "&sd&h mag" 86 section aR 0.00 0.33 0.65 0.33; label -x mag -y "&sd&h R.A." 87 section aD 0.00 0.00 0.65 0.33; label -x mag -y "&sd&h Dec" 88 89 section bM 0.65 0.66 0.35 0.33; label -x mag -y "&sd&h mag" 90 section bR 0.65 0.33 0.35 0.33; label -x mag -y "&sd&h R.A." 91 section bD 0.65 0.00 0.35 0.33; label -x mag -y "&sd&h Dec" 92 93 if (RA_PSF?[] == 0) 94 echo "no sources in datafile" 95 return 96 end 88 97 89 98 set dR = 3600*(RA_PSF - Rref)*dcos(Dref) … … 256 265 $Mdel = 0.25 257 266 267 if (Mref_out?[] == 0) 268 create magBin $Mmin $Mmax $Mdel 269 set numTotal = zero(magBin) 270 set numFound = zero(magBin) 271 set numPoss = zero(magBin) 272 set numGood = zero(magBin) 273 return 274 end 275 258 276 delete -q magBin numTotal numPoss numFound numGood 259 277 for mag $Mmin $Mmax $Mdel
Note:
See TracChangeset
for help on using the changeset viewer.
