Changeset 34405 for trunk/Ohana/src/relastro
- Timestamp:
- Sep 5, 2012, 4:25:56 PM (14 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 6 edited
-
. (modified) (1 prop)
-
src/relastro/src/BrightCatalog.c (modified) (7 diffs)
-
src/relastro/src/UpdateObjectOffsets.c (modified) (1 diff)
-
src/relastro/src/UpdateObjects.c (modified) (1 diff)
-
src/relastro/src/load_catalogs.c (modified) (1 diff)
-
src/relastro/src/relastro_objects.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo set to
-
trunk/Ohana/src/relastro/src/BrightCatalog.c
r33652 r34405 154 154 GET_COLUMN(Tmean, "MEAN_EPOCH", int); 155 155 GET_COLUMN(Trange, "TIME_RANGE", int); 156 GET_COLUMN( Xp, "SIGMA_POS",float);156 GET_COLUMN(stargal, "STARGAL_SEP", float); 157 157 GET_COLUMN(Npos, "NUMBER_POS", short); 158 158 GET_COLUMN(Nmeasure, "NMEASURE", short); … … 189 189 average[i].Tmean = Tmean[i] ; 190 190 average[i].Trange = Trange[i] ; 191 average[i]. Xp = Xp[i];191 average[i].stargal = stargal[i] ; 192 192 average[i].Npos = Npos[i] ; 193 193 average[i].Nmeasure = Nmeasure[i] ; … … 221 221 free (Tmean); 222 222 free (Trange); 223 free ( Xp);223 free (stargal); 224 224 free (Npos); 225 225 free (Nmeasure); … … 487 487 int *Tmean ; ALLOCATE (Tmean , int , catalog->Naverage); 488 488 int *Trange ; ALLOCATE (Trange , int , catalog->Naverage); 489 float * Xp ; ALLOCATE (Xp, float , catalog->Naverage);489 float *stargal ; ALLOCATE (stargal , float , catalog->Naverage); 490 490 short *Npos ; ALLOCATE (Npos , short , catalog->Naverage); 491 491 short *Nmeasure ; ALLOCATE (Nmeasure , short , catalog->Naverage); … … 520 520 Tmean[i] = average[i].Tmean ; 521 521 Trange[i] = average[i].Trange ; 522 Xp[i] = average[i].Xp;522 stargal[i] = average[i].stargal ; 523 523 Npos[i] = average[i].Npos ; 524 524 Nmeasure[i] = average[i].Nmeasure ; … … 552 552 gfits_set_bintable_column (&theader, &ftable, "MEAN_EPOCH", Tmean, catalog->Naverage); 553 553 gfits_set_bintable_column (&theader, &ftable, "TIME_RANGE", Trange, catalog->Naverage); 554 gfits_set_bintable_column (&theader, &ftable, "S IGMA_POS", Xp,catalog->Naverage);554 gfits_set_bintable_column (&theader, &ftable, "STARGAL_SEP", stargal, catalog->Naverage); 555 555 gfits_set_bintable_column (&theader, &ftable, "NUMBER_POS", Npos, catalog->Naverage); 556 556 gfits_set_bintable_column (&theader, &ftable, "NMEASURE", Nmeasure, catalog->Naverage); … … 582 582 free (Tmean); 583 583 free (Trange); 584 free ( Xp);584 free (stargal); 585 585 free (Npos); 586 586 free (Nmeasure); -
trunk/Ohana/src/relastro/src/UpdateObjectOffsets.c
r33963 r34405 95 95 // RESET (-reset) 96 96 // TimeSelect -time 97 // (note that psfQ ualis applied rigidly at 0.85, as is the galaxy test)97 // (note that psfQF is applied rigidly at 0.85, as is the galaxy test) 98 98 // ImagSelect, ImagMin, ImagMax 99 99 // MaxDensityUse, MaxDensityValue -
trunk/Ohana/src/relastro/src/UpdateObjects.c
r33652 r34405 352 352 catalog[i].average[j].dP = fit.dp; // parallax error in arcsec 353 353 354 // Xp is supposed to be the position scatter, not the chisq : fix this:355 // catalog[i].average[j].Xp = (fit.Nfit > 1) ? 100.0*log10(fit.chisq) : NAN_S_SHORT;356 354 catalog[i].average[j].ChiSqAve = fitAve.chisq; 357 355 catalog[i].average[j].ChiSqPM = fitPM.chisq; 358 356 catalog[i].average[j].ChiSqPar = fitPAR.chisq; 359 catalog[i].average[j].Xp = 0.0;360 357 catalog[i].average[j].Tmean = (Tmean * 86400 * 365.26) + T2000; 361 358 catalog[i].average[j].Trange = (Trange * 86400 * 365.26); -
trunk/Ohana/src/relastro/src/load_catalogs.c
r33963 r34405 137 137 // RESET (-reset) 138 138 // TimeSelect -time 139 // (note that psfQ ualis applied rigidly at 0.85, as is the galaxy test)139 // (note that psfQF is applied rigidly at 0.85, as is the galaxy test) 140 140 // ImagSelect, ImagMin, ImagMax 141 141 // MaxDensityUse, MaxDensityValue -
trunk/Ohana/src/relastro/src/relastro_objects.c
r34260 r34405 123 123 // RESET (-reset) 124 124 // TimeSelect -time 125 // (note that psfQ ualis applied rigidly at 0.85, as is the galaxy test)125 // (note that psfQF is applied rigidly at 0.85, as is the galaxy test) 126 126 // ImagSelect, ImagMin, ImagMax 127 127 // MaxDensityUse, MaxDensityValue
Note:
See TracChangeset
for help on using the changeset viewer.
