IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16782


Ignore:
Timestamp:
Mar 2, 2008, 2:21:35 PM (18 years ago)
Author:
eugene
Message:

cleanup; adjust names to match internal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080223/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_1.c

    r16699 r16782  
    307307    out[i].code = in[i].code;         
    308308    out[i].type = in[i].type;         
    309     out[i].C = in[i].C;           
    310     out[i].dC = in[i].dC;           
    311     out[i].dX = in[i].dX;           
    312     out[i].K = in[i].K;           
    313     out[i].c1 = in[i].c1;           
    314     out[i].c2 = in[i].c2;           
     309    out[i].C    = in[i].C;           
     310    out[i].dC   = in[i].dC;           
     311    out[i].dX   = in[i].dX;           
     312    out[i].K    = in[i].K;           
     313    out[i].c1   = in[i].c1;           
     314    out[i].c2   = in[i].c2;           
    315315    out[i].equiv = in[i].equiv;       
    316316    out[i].Nc = in[i].Nc;           
    317317    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    318318
    319     out[i].astromScale = in[i].astromScale; 
    320     out[i].photSysErr = in[i].photSysErr;   
     319    out[i].astromErrMagScale = out[i].astromErrMagScale;
     320    out[i].photomErrSys      = out[i].photomErrSys;
     321
    321322  }
    322323  return (out);
     
    334335    out[i].name[31] = 0; // force termination
    335336
    336     out[i].code = in[i].code;         
    337     out[i].type = in[i].type;         
    338     out[i].C = in[i].C;           
    339     out[i].dC = in[i].dC;           
    340     out[i].dX = in[i].dX;           
    341     out[i].K = in[i].K;           
    342     out[i].c1 = in[i].c1;           
    343     out[i].c2 = in[i].c2;           
     337    out[i].code  = in[i].code;         
     338    out[i].type  = in[i].type;         
     339    out[i].C     = in[i].C;           
     340    out[i].dC    = in[i].dC;           
     341    out[i].dX    = in[i].dX;           
     342    out[i].K     = in[i].K;           
     343    out[i].c1    = in[i].c1;           
     344    out[i].c2    = in[i].c2;           
    344345    out[i].equiv = in[i].equiv;       
    345     out[i].Nc = in[i].Nc;           
     346    out[i].Nc    = in[i].Nc;           
     347
     348    // not defined in PS1_DEV_1
     349    out[i].astromErrSys      = 0.0;
     350    out[i].astromErrScale    = 0.0;
     351    out[i].astromErrMagScale = in[i].astromErrMagScale;
     352    out[i].photomErrSys      = in[i].photomErrSys;
     353
    346354    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    347355
    348     out[i].astromScale = in[i].astromScale; 
    349     out[i].photSysErr = in[i].photSysErr;   
    350   }
    351   return (out);
    352 }
     356  }
     357  return (out);
     358}
Note: See TracChangeset for help on using the changeset viewer.