Changeset 37924 for trunk/Ohana/src/relphot
- Timestamp:
- Feb 20, 2015, 3:57:48 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relphot/src/setMrelCatalog.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/src/setMrelCatalog.c
r37907 r37924 729 729 } 730 730 731 float psfQfMax = 0.0; 732 float psfQfPerfMax = 0.0; 733 731 734 off_t meas = measureOffset; 732 735 … … 773 776 float Fcal = MagToFlux(-Mcal); 774 777 778 // these are only used below if IS_DIFF_DB 779 if (IS_DIFF_DB) { 780 if (measure[k].psfQF > psfQfMax) psfQfMax = measure[k].psfQF; 781 if (measure[k].psfQFperf > psfQfPerfMax) psfQfPerfMax = measure[k].psfQFperf; 782 } 783 775 784 // in the calculations below, 776 785 // ...list gives the error per measurement, wlist gives the weight … … 836 845 liststats (Fpsflist, dpsflist, wpsflist, Npsf, psfstats); 837 846 847 if (IS_DIFF_DB) { 848 // for non DIFF_DB, these are set in setMrelAverageExposure 849 secfilt[Nsec].psfQfMax = psfQfMax; 850 secfilt[Nsec].psfQfPerfMax = psfQfPerfMax; 851 } 852 838 853 secfilt[Nsec].FpsfWrp = psfstats->mean; 839 854 secfilt[Nsec].dFpsfWrp = psfstats->error;
Note:
See TracChangeset
for help on using the changeset viewer.
