IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2015, 5:50:46 AM (11 years ago)
Author:
eugene
Message:

merged changes from trunk

Location:
branches/eam_branches/ipp-20151113
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20151113

  • branches/eam_branches/ipp-20151113/Ohana/src/relastro/include/relastro.h

    r39207 r39266  
    134134  double **A;
    135135  double **B;
     136  double **Cov;
     137  double *Beta;
     138  double *Beta_prev;
    136139  int Nterms;
     140  int getChisq;
     141  int getError;
    137142} FitAstromData;
    138143
     144// XXX do we need doubles for all of these?  I actually only have of order 100 of these
     145// allocated at a time, so size is not an issue.
    139146typedef struct {
    140147  double X, dX;
     
    143150  double D, dD;
    144151  double T, dT;
     152  double Wx, Wy;
     153  double rx, ry;
     154  double u;
    145155  double pR;
    146156  double pD;
     
    148158  double C_red;
    149159  int measure;
     160  int mask;
    150161} FitAstromPoint;
    151162
     
    164175  FitAstromPoint *points;
    165176  FitAstromPoint *sample;
     177  FitAstromPoint *nomask;
    166178  int Npoints;
    167179  int NpointsAlloc;
     
    723735int BootstrapRobustStats (FitAstromResult *result, FitAstromResult *fit, int Nfit, int mode);
    724736int BootstrapResample (FitAstromPoint *sample, FitAstromPoint *points, int Npoints);
     737int BootstrapSaveUnmasked (FitAstromPoint *nomask, FitAstromPoint *points, int Npoints);
     738
    725739int CatalogMaxNmeasure (Catalog *catalog, int Ncatalog);
    726740int FitAstromPoints_Project (FitStats *fitStats, double *Tmean, double *Trange, double *parRange);
     
    739753int FitAstromResultSetPM (FitAstromResult *fit, int Nfit, Average *average);
    740754void AstromErrorSetLoop (int Nloop, int isImageMode);
     755
     756int FitPM_IRLS (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE);
     757int FitPMandPar_IRLS (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE);
     758
     759double MedianAbsDeviation(FitAstromPoint *points, int Npoints);
     760
     761int weighted_LS_PM (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE);
     762int weighted_LS_PLX (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE);
     763
     764double weight_cauchy (double x);
     765double dpsi_cauchy (double x);
Note: See TracChangeset for help on using the changeset viewer.