Changeset 37924
- Timestamp:
- Feb 20, 2015, 3:57:48 PM (11 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 2 edited
-
dvopsps/src/insert_diffobj_dvopsps_catalog.c (modified) (3 diffs)
-
relphot/src/setMrelCatalog.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvopsps/src/insert_diffobj_dvopsps_catalog.c
r37923 r37924 124 124 "NUSED_KRON_WRP SMALLINT, " 125 125 "NUSED_AP_WRP SMALLINT, " 126 "PSF_QF_PERF_MAX FLOAT, " 126 127 127 128 "FLUX_PSF_WRP FLOAT, " … … 178 179 "NUSED_KRON_WRP, " 179 180 "NUSED_AP_WRP, " 181 "PSF_QF_PERF_MAX, " 180 182 181 183 "FLUX_PSF_WRP, " … … 253 255 PrintIOBuffer (sec_buffer, "%hd, ", secfilt->NusedKronWrp); 254 256 PrintIOBuffer (sec_buffer, "%hd, ", secfilt->NusedApWrp); 257 PRINT_FLOAT(sec_buffer, secfilt->psfQfPerfMax, "%.6f,"); 255 258 256 259 // use %e? -
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.
