Changeset 4689 for trunk/Ohana/src/opihi/cmd.astro
- Timestamp:
- Jul 31, 2005, 1:04:22 PM (21 years ago)
- Location:
- trunk/Ohana/src/opihi/cmd.astro
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/biassub.c
r2843 r4689 9 9 Buffer *buf; 10 10 11 xvec = yvec = NULL; 11 12 NoVector = TRUE; 12 13 if ((N = get_argument (argc, argv, "-v"))) { -
trunk/Ohana/src/opihi/cmd.astro/drizzle.c
r3404 r4689 175 175 double N, r, d; 176 176 177 Xin = Yin = 0; 177 178 N = x = y = x2 = y2 = xy = X = Y = Xx = Xy = Yx = Yy = 0; 178 179 -
trunk/Ohana/src/opihi/cmd.astro/getvel.c
r2598 r4689 3 3 int getvel (int argc, char **argv) { 4 4 5 int i, X,n, Ncurve;5 int i, n, Ncurve; 6 6 int nx, ny; 7 7 double L, V, Vo, dV, Bo, dB; … … 45 45 while (L >= 360) {L -= 360.0;} 46 46 while (L < 0.0) {L += 360.0;} 47 fprintf (stderr, "L: %f (%d)\n", L, X);47 fprintf (stderr, "L: %f\n", L); 48 48 49 49 cl = cos (L*RAD_DEG); -
trunk/Ohana/src/opihi/cmd.astro/imfit-Sgauss.c
r3144 r4689 46 46 47 47 float X, Y, px1, py1, px2, py2; 48 float z1, z2, r, q1, q2, f , f1, f2;48 float z1, z2, r, q1, q2, f; 49 49 50 50 X = x - par[0]; -
trunk/Ohana/src/opihi/cmd.astro/imfit.c
r3144 r4689 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, *parmin, *parmax; 9 char line[64]; 8 float *x, *y, *z, *dz, *V; 10 9 Buffer *buf; 11 10 … … 123 122 ochisq = mrq2dinit (x, y, z, dz, Npts, par, Npar, fitfunc, VERBOSE); 124 123 dchisq = ochisq; 124 chisq = ochisq; 125 125 for (i = 0; (i < 25) && ((dchisq <= 0.0) || (dchisq > 0.01*(Npts - Npar))); i++) { 126 126 chisq = mrq2dmin (x, y, z, dz, Npts, par, Npar, fitfunc, VERBOSE); -
trunk/Ohana/src/opihi/cmd.astro/medianmap.c
r2843 r4689 11 11 Buffer *in, *out; 12 12 13 IgnoreValue = 0; 13 14 Ignore = FALSE; 14 15 if ((N = get_argument (argc, argv, "-ignore"))) { -
trunk/Ohana/src/opihi/cmd.astro/region.c
r3692 r4689 3 3 int region (int argc, char **argv) { 4 4 5 char buffer[65], buffer2[35],string[256];5 char buffer[65], string[256]; 6 6 double Ra, Dec, Radius; 7 7 double dx, dy; 8 int status, N;8 int N, Ngraph, Xgraph; 9 9 Graphdata graphmode; 10 int Ngraph, Xgraph;11 10 12 11 Ngraph = 0; -
trunk/Ohana/src/opihi/cmd.astro/spec.c
r2843 r4689 91 91 } 92 92 fsort (buffer, Nring); 93 for (Npts = sky = 0, i = 0.25*Nring; i < 0.75*Nring; i++, Npts += 1.0) {93 for (Npts = sky = sky2 = 0, i = 0.25*Nring; i < 0.75*Nring; i++, Npts += 1.0) { 94 94 sky += buffer[i]; 95 95 sky2 += buffer[i]*buffer[i];
Note:
See TracChangeset
for help on using the changeset viewer.
