IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16783


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

added astrom/photom error terms

File:
1 edited

Legend:

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

    r16699 r16783  
    314314    out[i].name[31] = 0; // force termination
    315315
    316     out[i].code = in[i].code;         
    317     out[i].type = in[i].type;         
    318     out[i].C = in[i].C;           
    319     out[i].dC = in[i].dC;           
    320     out[i].dX = in[i].dX;           
    321     out[i].K = in[i].K;           
    322     out[i].c1 = in[i].c1;           
    323     out[i].c2 = in[i].c2;           
     316    out[i].code  = in[i].code;         
     317    out[i].type  = in[i].type;         
     318    out[i].C     = in[i].C;           
     319    out[i].dC    = in[i].dC;           
     320    out[i].dX    = in[i].dX;           
     321    out[i].K     = in[i].K;           
     322    out[i].c1    = in[i].c1;           
     323    out[i].c2    = in[i].c2;           
    324324    out[i].equiv = in[i].equiv;       
    325     out[i].Nc = in[i].Nc;           
     325    out[i].Nc    = in[i].Nc;           
    326326    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    327327
    328     out[i].astromScale = in[i].astromScale; 
    329     out[i].photSysErr = in[i].photSysErr;   
     328    out[i].astromErrSys      = in[i].astromErrSys;
     329    out[i].astromErrScale    = in[i].astromErrScale;
     330    out[i].astromErrMagScale = in[i].astromErrMagScale;
     331    out[i].photomErrSys      = in[i].photomErrSys;
    330332  }
    331333  return (out);
     
    343345    out[i].name[31] = 0; // force termination
    344346
    345     out[i].code = in[i].code;         
    346     out[i].type = in[i].type;         
    347     out[i].C = in[i].C;           
    348     out[i].dC = in[i].dC;           
    349     out[i].dX = in[i].dX;           
    350     out[i].K = in[i].K;           
    351     out[i].c1 = in[i].c1;           
    352     out[i].c2 = in[i].c2;           
     347    out[i].code  = in[i].code;         
     348    out[i].type  = in[i].type;         
     349    out[i].C     = in[i].C;           
     350    out[i].dC    = in[i].dC;           
     351    out[i].dX    = in[i].dX;           
     352    out[i].K     = in[i].K;           
     353    out[i].c1    = in[i].c1;           
     354    out[i].c2    = in[i].c2;           
    353355    out[i].equiv = in[i].equiv;       
    354     out[i].Nc = in[i].Nc;           
     356    out[i].Nc    = in[i].Nc;           
    355357    memcpy (out[i].X, in[i].X, 4*sizeof(float));           
    356358
    357     out[i].astromScale = in[i].astromScale; 
    358     out[i].photSysErr = in[i].photSysErr;   
    359   }
    360   return (out);
    361 }
     359    out[i].astromErrSys      = in[i].astromErrSys;
     360    out[i].astromErrScale    = in[i].astromErrScale;
     361    out[i].astromErrMagScale = in[i].astromErrMagScale;
     362    out[i].photomErrSys      = in[i].photomErrSys;
     363  }
     364  return (out);
     365}
Note: See TracChangeset for help on using the changeset viewer.