IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16784


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

update to convert to PS1_DEV_2

File:
1 edited

Legend:

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

    r16699 r16784  
    312312    out[i].name[31] = 0; // force termination
    313313
    314     out[i].code = in[i].code;         
    315     out[i].type = in[i].type;         
    316     out[i].C = in[i].C;           
    317     out[i].dC = in[i].dC;           
    318     out[i].dX = in[i].dX;           
    319     out[i].K = in[i].K;           
    320     out[i].c1 = in[i].c1;           
    321     out[i].c2 = in[i].c2;           
     314    out[i].code  = in[i].code;         
     315    out[i].type  = in[i].type;         
     316    out[i].C     = in[i].C;           
     317    out[i].dC    = in[i].dC;           
     318    out[i].dX    = in[i].dX;           
     319    out[i].K     = in[i].K;           
     320    out[i].c1    = in[i].c1;           
     321    out[i].c2    = in[i].c2;           
    322322    out[i].equiv = in[i].equiv;       
    323     out[i].Nc = in[i].Nc;           
     323    out[i].Nc    = in[i].Nc;           
    324324    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    325325  }
     
    338338    out[i].name[31] = 0; // force termination
    339339
    340     out[i].code = in[i].code;         
    341     out[i].type = in[i].type;         
    342     out[i].C = in[i].C;           
    343     out[i].dC = in[i].dC;           
    344     out[i].dX = in[i].dX;           
    345     out[i].K = in[i].K;           
    346     out[i].c1 = in[i].c1;           
    347     out[i].c2 = in[i].c2;           
     340    out[i].code  = in[i].code;         
     341    out[i].type  = in[i].type;         
     342    out[i].C     = in[i].C;           
     343    out[i].dC    = in[i].dC;           
     344    out[i].dX    = in[i].dX;           
     345    out[i].K     = in[i].K;           
     346    out[i].c1    = in[i].c1;           
     347    out[i].c2    = in[i].c2;           
    348348    out[i].equiv = in[i].equiv;       
    349     out[i].Nc = in[i].Nc;           
     349    out[i].Nc    = in[i].Nc;           
    350350    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    351351
    352352    // not defined in Elixir:
    353     out[i].astromScale = 1.0;
    354     out[i].photSysErr = 1.0;
    355   }
    356   return (out);
    357 }
     353    out[i].astromErrSys      = 0.0;
     354    out[i].astromErrScale    = 0.0;
     355    out[i].astromErrMagScale = 0.0;
     356    out[i].photomErrSys      = 0.0;
     357  }
     358  return (out);
     359}
Note: See TracChangeset for help on using the changeset viewer.