IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37644


Ignore:
Timestamp:
Nov 20, 2014, 4:36:26 AM (12 years ago)
Author:
eugene
Message:

fix normalization question

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/opihi/cmd.data/shfit.c

    r37632 r37644  
    137137  }
    138138
    139   // XXX EAM : why is this factor needed?
    140139  for (j = 0; j < terms->Nterms; j++) {
    141140    Fr[j] = 0.0;
     
    144143  for (j = 0; j < Nre; j++) {
    145144    int jre = Jre[j];
    146     Fr[jre] = bre[j][0] * terms->Nterms / (float) Frvec[0].Nelements;
     145    Fr[jre] = bre[j][0];
    147146  }
    148147  for (j = 0; j < Nim; j++) {
    149148    int jim = Jim[j];
    150     Fi[jim] = bim[j][0] * terms->Nterms / (float) Frvec[0].Nelements;
     149    Fi[jim] = bim[j][0];
    151150  }
    152151
Note: See TracChangeset for help on using the changeset viewer.