- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ppSim
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/ppSim merged eligible /branches/eam_branches/stackphot.20100406/ppSim 27629-27654 /branches/pap_delete/ppSim 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/ppSim/src/ppSimLoadStars.c
r23413 r27840 30 30 psRegion *bounds = ppSimFPABounds (fpa); 31 31 float radius = 0.5 * PS_MAX(bounds->x1 - bounds->x0, bounds->y1 - bounds->y0) * scale; 32 psFree(bounds);33 32 34 33 float x0fpa = 0.5*(bounds->x0 + bounds->x1); 35 34 float y0fpa = 0.5*(bounds->y0 + bounds->y1); 35 36 psFree(bounds); 36 37 37 38 psMetadataAdd(astroRecipe, PS_LIST_TAIL, "RA_MIN", PS_DATA_F32 | PS_META_REPLACE, "", … … 41 42 psMetadataAdd(astroRecipe, PS_LIST_TAIL, "DEC_MIN", PS_DATA_F32 | PS_META_REPLACE, "", dec0 - radius); 42 43 psMetadataAdd(astroRecipe, PS_LIST_TAIL, "DEC_MAX", PS_DATA_F32 | PS_META_REPLACE, "", dec0 + radius); 43 psArray *refStars = psastroLoadRefstars(config, "P SASTRO.INPUT");44 psArray *refStars = psastroLoadRefstars(config, "PPSIM.OUTPUT"); 44 45 if (!refStars) { 45 46 psError(PS_ERR_UNKNOWN, false, "Unable to find reference stars.");
Note:
See TracChangeset
for help on using the changeset viewer.
