IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29819


Ignore:
Timestamp:
Nov 24, 2010, 12:04:33 PM (15 years ago)
Author:
eugene
Message:

crude systematic error guess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101103/Ohana/src/relastro/src/GetAstromError.c

    r27581 r29819  
    22
    33float GetAstromError (Measure *measure, int mode) {
    4 
     4  //BIG HACKXXXXXXXX
     5  return 0.1;
    56  PhotCode *code;
    67  float dPobs, dPsys, dPtotal, dM, AS, MS;
    7 
    88  switch (mode) {
    99    case ERROR_MODE_RA:
     
    1919      abort();
    2020  }
    21 
    2221  /* the astrometric errors are not being carried yet (but should be!) */
    2322  /* we use the photometric mag error as a weighting term */
     
    2827  dPsys = code[0].astromErrSys;
    2928  dM    = measure[0].dM;
    30  
    3129  dPtotal = sqrt(SQ(dPsys) + AS*SQ(dPobs) + MS*SQ(dM));
    3230
     
    3533
    3634  dPtotal = MAX (dPtotal, MIN_ERROR);
    37 
    3835  return (dPtotal);
    3936}
Note: See TracChangeset for help on using the changeset viewer.