Changeset 15424 for trunk/psModules/src/camera/pmReadoutFake.c
- Timestamp:
- Oct 31, 2007, 2:57:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmReadoutFake.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmReadoutFake.c
r15362 r15424 35 35 pmReadout *readout = pmReadoutAlloc(NULL); // Output readout 36 36 readout->image = psImageAlloc(numCols, numRows, PS_TYPE_F32); 37 psImageInit(readout->image, 0); 37 38 38 39 int numSources = sources->n; // Number of stars … … 86 87 fakeModel->params->data.F32[PM_PAR_I0] = powf(10.0, -0.4 * source->psfMag) / flux0; 87 88 89 psTrace("psModules.camera", 10, "Adding source at %f,%f with flux %f\n", 90 fakeModel->params->data.F32[PM_PAR_XPOS], fakeModel->params->data.F32[PM_PAR_YPOS], 91 fakeModel->params->data.F32[PM_PAR_I0]); 92 88 93 pmSource *fakeSource = pmSourceAlloc(); // Fake source to generate 89 94 fakeSource->peak = pmPeakAlloc(x, y, fakeModel->params->data.F32[PM_PAR_I0], PM_PEAK_LONE);
Note:
See TracChangeset
for help on using the changeset viewer.
