Changeset 20936 for trunk/Ohana/src/opihi/cmd.astro/imfit.c
- Timestamp:
- Dec 7, 2008, 3:31:01 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/imfit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/imfit.c
r12840 r20936 6 6 int sx, sy, nx, ny, Nx, Ny; 7 7 float chisq, ochisq, dchisq, Gain, RDnoise, SatThreshold; 8 float *x, *y, *z, *dz, *V; 8 opihi_flt *x, *y, *z, *dz; 9 float *V; 9 10 Buffer *buf; 10 11 … … 94 95 N = 0; 95 96 Npts = nx*ny; 96 ALLOCATE (x, float, 2*Npts);97 ALLOCATE (y, float, 2*Npts);98 ALLOCATE (z, float, 2*Npts);99 ALLOCATE (dz, float, 2*Npts);97 ALLOCATE (x, opihi_flt, 2*Npts); 98 ALLOCATE (y, opihi_flt, 2*Npts); 99 ALLOCATE (z, opihi_flt, 2*Npts); 100 ALLOCATE (dz, opihi_flt, 2*Npts); 100 101 for (j = 0; j < ny; j++) { 101 102 if (j + sy < 0) continue;
Note:
See TracChangeset
for help on using the changeset viewer.
