IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39767


Ignore:
Timestamp:
Oct 16, 2016, 3:36:53 PM (10 years ago)
Author:
eugene
Message:

minor fixes

Location:
branches/czw_branch/20160809/Ohana/src/relastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/Ohana/src/relastro/src/GetAstromError.c

    r39766 r39767  
    4848  if (isnan(code[0].astromErrSys)) return NAN;
    4949
     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
    5059  AS    = code[0].astromErrScale;
    5160  MS    = code[0].astromErrMagScale;
     
    5362  dM    = measure[0].dM;
    5463  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 pixels
    59     }
    60     if (mode == ERROR_MODE_DEC) {
    61       dPobs = pow(10.0, (6.0 * measure[0].dYccd - 3.0));  // dXccd is a value in pixels
    62     }
    63   }
    6464
    6565  // for GPC1 data, we have a bright end model:
  • branches/czw_branch/20160809/Ohana/src/relastro/src/launch_region_hosts.c

    r39766 r39767  
    164164    if (CHIPMAP)            strextend (&command, "-chipmap %d", CHIPMAP);
    165165    if (ChipMapLoop)        strextend (&command, "-chipmaploop %s", ChipMapLoopStr);
    166     if (ChipOrderLoop)      strextend (&command, "-chiporderloop %s", ChipMapLoopStr);
     166    if (ChipOrderLoop)      strextend (&command, "-chiporderloop %s", ChipOrderLoopStr);
    167167
    168168    if (RESET_IMAGES)       strextend (&command, "-reset-images");
Note: See TracChangeset for help on using the changeset viewer.