Changeset 27491
- Timestamp:
- Mar 27, 2010, 5:27:25 PM (16 years ago)
- Files:
-
- 24 edited
-
branches/eam_branches/relastro.20100326/src/initialize.c (modified) (1 diff)
-
trunk/Ohana/src/gastro2/src/lumfunc.c (modified) (1 diff)
-
trunk/Ohana/src/kapa2/src/DrawObjects.c (modified) (1 diff)
-
trunk/Ohana/src/kapa2/src/InterpretPresses.c (modified) (1 diff)
-
trunk/Ohana/src/libdvo/src/LoadPhotcodesFITS.c (modified) (1 diff)
-
trunk/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_3.c (modified) (1 diff)
-
trunk/Ohana/src/libohana/src/ohana_allocate.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.astro/coords.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.astro/galradius.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.astro/petrosian.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.basic/run_while.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.data/section.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/cmd.data/subset.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/dvo/ImageOps.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/dvo/dbCmdlineFields.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/lib.shell/expand_vectors.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/lib.shell/parse.c (modified) (1 diff)
-
trunk/Ohana/src/opihi/pantasks/ControllerOps.c (modified) (1 diff)
-
trunk/Ohana/src/skycalc/src/astro.c (modified) (1 diff)
-
trunk/Ohana/src/tools/src/csystem.c (modified) (1 diff)
-
trunk/Ohana/src/tools/src/fhead.c (modified) (1 diff)
-
trunk/Ohana/src/tools/src/fields.c (modified) (1 diff)
-
trunk/Ohana/src/tools/src/fits_insert.c (modified) (1 diff)
-
trunk/Ohana/src/tools/src/precess.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/src/initialize.c
r24308 r27491 5 5 int NPHOTCODES; 6 6 char *codename, *ptr, *list; 7 8 ptr = NULL; 7 9 8 10 ConfigInit (&argc, argv); -
trunk/Ohana/src/gastro2/src/lumfunc.c
r16058 r27491 46 46 } 47 47 } 48 Nb = MAX(1, Nb); 48 49 49 50 /* find max & min mag bins */ -
trunk/Ohana/src/kapa2/src/DrawObjects.c
r25919 r27491 244 244 245 245 /* continue with rest of points */ 246 sxo = syo = 0; 246 247 for (i++; i < object[0].Npts; i++) { 247 248 if (!(finite(x[i]) && finite(y[i]))) continue; -
trunk/Ohana/src/kapa2/src/InterpretPresses.c
r16256 r27491 24 24 25 25 sprintf (name, "Button%d", event[0].button); 26 Z = 0; 26 27 if (graph) { 27 28 X = (event[0].x - graph[0].axis[0].fx)*(graph[0].axis[0].max - graph[0].axis[0].min)/graph[0].axis[0].dfx + graph[0].axis[0].min; -
trunk/Ohana/src/libdvo/src/LoadPhotcodesFITS.c
r27435 r27491 7 7 8 8 PhotCodeData *table = NULL; 9 PhotCode *photcode ;9 PhotCode *photcode = NULL; 10 10 FITS_DB db; 11 11 char extname[80]; -
trunk/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_3.c
r27435 r27491 15 15 memcpy (&out[i].coords, &in[i].coords, sizeof(Coords)); 16 16 17 strncpy (out[i].name, in[i].name, 12 7); // out[128], in[128]18 out[i].name[12 7] = 0; // force termination17 strncpy (out[i].name, in[i].name, 120); // out[121], in[121] 18 out[i].name[120] = 0; // force termination 19 19 20 20 out[i].tzero = in[i].tzero; -
trunk/Ohana/src/libohana/src/ohana_allocate.c
r16883 r27491 254 254 void ohana_memdump_func (int allmemory) { 255 255 256 int i, Ns[ 3], N;257 char S[ 3];256 int i, Ns[4], N; 257 char S[4]; 258 258 259 259 if (Nmemlist == 0) { -
trunk/Ohana/src/opihi/cmd.astro/coords.c
r20936 r27491 10 10 Coords coords, moscoords; 11 11 Buffer *buf, *mosbuffer; 12 Vector *xvec, *yvec; 12 Vector *xvec = NULL; 13 Vector *yvec = NULL; 13 14 14 15 MOSAIC = NULL; -
trunk/Ohana/src/opihi/cmd.astro/galradius.c
r27435 r27491 99 99 100 100 above = TRUE; 101 Ro = 0; 101 102 for (i = 0; i < Nout; i++) { 102 103 -
trunk/Ohana/src/opihi/cmd.astro/petrosian.c
r27435 r27491 39 39 ResetVector (Avec, OPIHI_FLT, fvec[0].Nelements); 40 40 41 flux_90 = rad_90 = 0.0; 41 42 R_90 = 0.1; 42 43 above = TRUE; -
trunk/Ohana/src/opihi/cmd.basic/run_while.c
r16884 r27491 83 83 84 84 /* execute for loop */ 85 status = FALSE; 85 86 while (logic) { 86 87 status = exec_loop (&loop); -
trunk/Ohana/src/opihi/cmd.data/section.c
r13479 r27491 6 6 7 7 int N, action, kapa; 8 char *name, *location;9 8 Graphdata graphmode; 10 9 KapaSection section; 10 char *name = NULL; 11 char *location = NULL; 11 12 12 13 action = NONE; -
trunk/Ohana/src/opihi/cmd.data/subset.c
r25757 r27491 11 11 out = NULL; 12 12 ivec = ovec = tvec = NULL; 13 Npts = 0; 13 14 14 15 valid = TRUE; -
trunk/Ohana/src/opihi/dvo/ImageOps.c
r27435 r27491 26 26 } 27 27 28 patch.Rmin = 0; 29 patch.Rmax = 0; 30 patch.Dmin = 0; 31 patch.Dmax = 0; 28 32 if (selection->useSkyregion) { 29 33 double Rs, Re, Ds, De; -
trunk/Ohana/src/opihi/dvo/dbCmdlineFields.c
r20936 r27491 54 54 ALLOCATE (fields, dbField, NFIELDS); 55 55 dbInitField (&fields[0]); 56 57 status = FALSE; 56 58 57 59 // examine each argv[i] entry until we reach a 'where' or a 'matched' -
trunk/Ohana/src/opihi/lib.shell/expand_vectors.c
r20936 r27491 27 27 strncpy (newline, line, n); 28 28 N = newline + n; 29 J = 0; 29 30 while (1) { 30 31 /* find square-bracket pair [..] */ -
trunk/Ohana/src/opihi/lib.shell/parse.c
r20936 r27491 11 11 Buffer *buf; 12 12 13 Ny = 0; 13 14 val = V0 = NULL; 14 15 -
trunk/Ohana/src/opihi/pantasks/ControllerOps.c
r23558 r27491 624 624 InitIOBuffer (&buffer, 0x100); 625 625 626 status = TRUE; 627 626 628 // XXX lock the host table? no: that would risk a dead lock between client and controller threads: 627 629 gprint (GP_ERR, "pcontrol restarted, reloading hosts\n"); -
trunk/Ohana/src/skycalc/src/astro.c
r20936 r27491 148 148 short i; 149 149 150 delt = 0.0; 150 151 year = 1900. + (jd - 2415019.5) / 365.25; 151 152 -
trunk/Ohana/src/tools/src/csystem.c
r12333 r27491 10 10 double sin_x, sin_y, cos_x, cos_y; 11 11 12 phi = xo = Xo = 0.0; 13 12 14 if (((argc == 3) && ((argv[1][0] == 'E') || (argv[2][0] == 'E'))) || 13 15 ((argc == 4) && ((argv[1][0] != 'E') && (argv[2][0] != 'E'))) || -
trunk/Ohana/src/tools/src/fhead.c
r27435 r27491 11 11 12 12 Extend = FALSE; 13 Nextend = 0; 13 14 if ((N = get_argument (argc, argv, "-x"))) { 14 15 Extend = TRUE; -
trunk/Ohana/src/tools/src/fields.c
r27435 r27491 25 25 off_t Nbytes; 26 26 regex_t preg; 27 28 Nextend = 0; 29 GotExtension = FALSE; 27 30 28 31 if (get_argument (argc, argv, "-h")) usage(); -
trunk/Ohana/src/tools/src/fits_insert.c
r27435 r27491 15 15 int COMMENT, Cnumber; 16 16 char *Cline; 17 18 Cline = NULL; 19 Cnumber = 0; 20 DeleteStart = DeleteStop = 0; 17 21 18 22 /* check for command line options */ -
trunk/Ohana/src/tools/src/precess.c
r12333 r27491 10 10 double SA, CA, SD, CD; 11 11 int Julian, Besselian; 12 13 in_epoch = 2000.0; 14 out_epoch = 2000.0; 12 15 13 16 Besselian = Julian = 0; … … 88 91 double epoch; 89 92 93 epoch = 2000.0; 90 94 done = FALSE; 91 95 if (in_epoch[0] == 'B') {
Note:
See TracChangeset
for help on using the changeset viewer.
