IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2016, 5:07:24 PM (10 years ago)
Author:
eugene
Message:

modify irls fitting to apply the multiply the modified weight by the error-based weight

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/astro.h

    r39585 r39610  
    2020  double *dX;
    2121  double *dY;
    22   double *Wx;
    23   double *Wy;
     22  double *Wx; // modified weight based on distance from fit
     23  double *Wy; // modified weight based on distance from fit
     24  double *Qx; // raw error-based weight (1/dX^2)
     25  double *Qy;
     26  double *qx; // modified error-based weight (1/dX^2) * Wx
     27  double *qy;
    2428  int *index;
    2529  int Npts;
     
    5963
    6064int FitPMonly_IRLS (PlxFit *fit, double *X, double *dX, double *Y, double *dY, double *T, int Npts, double binning_step, int VERBOSE);
    61 int FitPMandPar_IRLS (PlxFit *fit, double *X, double *dX, double *Y, double *dY, double *T, double *pR, double *pD, double *Wx, double *Wy, int Npts, int max_iterations, double outlier_limit, double binning_step, int VERBOSE);
     65int FitPMandPar_IRLS (PlxFit *fit, double *X, double *dX, double *Y, double *dY, double *T, double *pR, double *pD, double *Wx, double *Wy, double *Qx, double *Qy, double *qx, double *qy, int Npts, int max_iterations, double outlier_limit, double binning_step, int VERBOSE);
    6266
    6367int weighted_LS_PLX (double *T, double *pR, double *pD, double *X, double *WX, double *Y, double *WY, int Npts, double **A, double **B, int VERBOSE);
Note: See TracChangeset for help on using the changeset viewer.