- Timestamp:
- Dec 13, 2015, 5:50:46 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20151113
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/relastro/include/relastro.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20151113
-
branches/eam_branches/ipp-20151113/Ohana/src/relastro/include/relastro.h
r39207 r39266 134 134 double **A; 135 135 double **B; 136 double **Cov; 137 double *Beta; 138 double *Beta_prev; 136 139 int Nterms; 140 int getChisq; 141 int getError; 137 142 } FitAstromData; 138 143 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. 139 146 typedef struct { 140 147 double X, dX; … … 143 150 double D, dD; 144 151 double T, dT; 152 double Wx, Wy; 153 double rx, ry; 154 double u; 145 155 double pR; 146 156 double pD; … … 148 158 double C_red; 149 159 int measure; 160 int mask; 150 161 } FitAstromPoint; 151 162 … … 164 175 FitAstromPoint *points; 165 176 FitAstromPoint *sample; 177 FitAstromPoint *nomask; 166 178 int Npoints; 167 179 int NpointsAlloc; … … 723 735 int BootstrapRobustStats (FitAstromResult *result, FitAstromResult *fit, int Nfit, int mode); 724 736 int BootstrapResample (FitAstromPoint *sample, FitAstromPoint *points, int Npoints); 737 int BootstrapSaveUnmasked (FitAstromPoint *nomask, FitAstromPoint *points, int Npoints); 738 725 739 int CatalogMaxNmeasure (Catalog *catalog, int Ncatalog); 726 740 int FitAstromPoints_Project (FitStats *fitStats, double *Tmean, double *Trange, double *parRange); … … 739 753 int FitAstromResultSetPM (FitAstromResult *fit, int Nfit, Average *average); 740 754 void AstromErrorSetLoop (int Nloop, int isImageMode); 755 756 int FitPM_IRLS (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE); 757 int FitPMandPar_IRLS (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE); 758 759 double MedianAbsDeviation(FitAstromPoint *points, int Npoints); 760 761 int weighted_LS_PM (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE); 762 int weighted_LS_PLX (FitAstromResult *fit, FitAstromData *data, FitAstromPoint *points, int Npoints, int VERBOSE); 763 764 double weight_cauchy (double x); 765 double dpsi_cauchy (double x);
Note:
See TracChangeset
for help on using the changeset viewer.
