Changeset 39767
- Timestamp:
- Oct 16, 2016, 3:36:53 PM (10 years ago)
- Location:
- branches/czw_branch/20160809/Ohana/src/relastro/src
- Files:
-
- 2 edited
-
GetAstromError.c (modified) (2 diffs)
-
launch_region_hosts.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/Ohana/src/relastro/src/GetAstromError.c
r39766 r39767 48 48 if (isnan(code[0].astromErrSys)) return NAN; 49 49 50 if (measure[0].photcode == 1030) { 51 if (mode == ERROR_MODE_RA) { 52 dPobs = pow(10.0, (6.0 * measure[0].dXccd - 3.0)); // dXccd is a value in pixels 53 } 54 if (mode == ERROR_MODE_DEC) { 55 dPobs = pow(10.0, (6.0 * measure[0].dYccd - 3.0)); // dXccd is a value in pixels 56 } 57 } 58 50 59 AS = code[0].astromErrScale; 51 60 MS = code[0].astromErrMagScale; … … 53 62 dM = measure[0].dM; 54 63 dPtotal = sqrt(SQ(dPsys) + SQ(AS*dPobs) + SQ(MS*dM)); 55 56 if (measure[0].photcode == 1030) {57 if (mode == ERROR_MODE_RA) {58 dPobs = pow(10.0, (6.0 * measure[0].dXccd - 3.0)); // dXccd is a value in pixels59 }60 if (mode == ERROR_MODE_DEC) {61 dPobs = pow(10.0, (6.0 * measure[0].dYccd - 3.0)); // dXccd is a value in pixels62 }63 }64 64 65 65 // for GPC1 data, we have a bright end model: -
branches/czw_branch/20160809/Ohana/src/relastro/src/launch_region_hosts.c
r39766 r39767 164 164 if (CHIPMAP) strextend (&command, "-chipmap %d", CHIPMAP); 165 165 if (ChipMapLoop) strextend (&command, "-chipmaploop %s", ChipMapLoopStr); 166 if (ChipOrderLoop) strextend (&command, "-chiporderloop %s", Chip MapLoopStr);166 if (ChipOrderLoop) strextend (&command, "-chiporderloop %s", ChipOrderLoopStr); 167 167 168 168 if (RESET_IMAGES) strextend (&command, "-reset-images");
Note:
See TracChangeset
for help on using the changeset viewer.
