IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2015, 7:46:25 AM (11 years ago)
Author:
eugene
Message:

pre-allocate groups of lists for all Nsecfilt values; we will accumulate these lists as we go

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150419/Ohana/src/relphot/include/relphot.h

    r38062 r38292  
    9696
    9797typedef struct {
     98  double *flxlist;           // list of measure.mag values for a given star
     99  double *errlist;            // mag errors for a star
     100  double *wgtlist;            // weights to use for mean mags
     101} StatDataSet;
     102
     103typedef struct {
    98104  int Nfew;
    99105  int Ncode;
     
    105111
    106112  // NOTE: the following arrays are (possibly) pre-allocated and carried down to each
    107   // thread.  The first 3 (list, dlist, wlist) are used in all relphot analyses; the
    108   // others are only used on the final output steps.
    109 
    110   double *Mpsflist;           // list of measure.mag values for a given star
    111   double *dpsflist;           // mag errors for a star
    112   double *wpsflist;           // weights to use for mean mags
    113 
    114   double *Maplist;            // ap mags for a star
    115   double *daplist;            // ap mags for a star
    116   double *waplist;            // ap mags for a star
    117 
    118   double *Mkronlist;          // kron mags for a star
    119   double *dkronlist;          // kron mag errors
    120   double *wkronlist;          // kron mag errors
     113  // thread.  The psfData are used in all relphot analyses; the others are only used on
     114  // the final output steps.
     115
     116  StatDataSet  *psfData; // one is allocated for each primary (average) photcode
     117  StatDataSet *aperData;
     118  StatDataSet *kronData;
    121119
    122120  double *psfqf_list;         // psfqf for all filters
Note: See TracChangeset for help on using the changeset viewer.