Changeset 3822 in Sophya for trunk/FrEROS/AnaLC/nbsreadu_lightcurve.cc
- Timestamp:
- Jul 30, 2010, 12:43:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FrEROS/AnaLC/nbsreadu_lightcurve.cc
r3801 r3822 50 50 51 51 char str[1024]; 52 sprintf(str,"%d.time l",staru[0].NumEt);52 sprintf(str,"%d.time",staru[0].NumEt); 53 53 FILE* fstlist = fopen(str,"w"); 54 54 … … 61 61 for(i=0;i<nmesure[ic];i++) { 62 62 int j; 63 double t, f ;63 double t, f, ef; 64 64 j = indexu[ic][i]; 65 t = date[ic][j]; 65 t = date[ic][j]; // origine 1/1/1990 a 0:0:0 66 66 f = mesu[ic][j].Flux; 67 fprintf(fstlist,"%d %.6f %.3f\n",ic,t,f); 67 ef = mesu[ic][j].ErrFlux; 68 fprintf(fstlist,"%d %.6f %.3f %.3f\n",ic,t,f,ef); 68 69 } 69 70 }
Note:
See TracChangeset
for help on using the changeset viewer.