IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 28, 2012, 2:34:58 PM (14 years ago)
Author:
Serge CHASTEL
Message:

SEEING is now the mean of fwhm_maj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsWrite.c

    r34486 r34488  
    5353  for (int d = 0; d < detections->n; d++) {
    5454    if ( (detections->data[d] != NULL) && (isfinite(((ppMopsDetections*) detections->data[d])->seeing)) ) {
    55       seeing += (((ppMopsDetections*) detections->data[d])->seeing)*((float) (((ppMopsDetections*) detections->data[d])->numGood));
    56       totalGood += (((ppMopsDetections*) detections->data[d])->numGood);
     55      seeing += ((ppMopsDetections*) detections->data[d])->seeing;
     56      totalGood += 1;
    5757    }
    5858  }
Note: See TracChangeset for help on using the changeset viewer.