Changeset 42554
- Timestamp:
- Dec 3, 2023, 2:49:08 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/dvoTools/src/dvoMakeCorrUnbin.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvoTools/src/dvoMakeCorrUnbin.c
r41660 r42554 64 64 65 65 // the input image is in magnitudes. convert here to a multiplicative factor... 66 // the calculation here must be consistent with the calculation of the grid correction 67 // in relphot GridOps.c:259 (setMgrid) 66 68 for (int j = 0; j < outData->image->numRows; j++) { 67 69 for (int i = 0; i < outData->image->numCols; i++) { 68 70 float value = outData->image->data.F32[j][i]; 69 71 outData->image->data.F32[j][i] = pow(10.0, -0.4*value); 72 // outData->image->data.F32[j][i] = pow(10.0, 0.4*value); 70 73 } 71 74 }
Note:
See TracChangeset
for help on using the changeset viewer.
