IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 1:54:47 PM (6 years ago)
Author:
tdeboer
Message:

revert to working Ohana build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/mana/deimos_arclines.c

    r41159 r41340  
    5353  deimos_make_LSF_kernel (LSF, stilt, Nx);
    5454
    55   // FILE *Fout = NULL;
    56 
    5755  // loop over the rows
    5856  for (int iy = 0; iy < Ny; iy++) {
    5957    float Fsum = 0;
    60     float Ksum = 0;
    61 
    62     // if (iy == 5802) Fout = fopen ("test.5802.dat", "w");
    63     // if (iy == 5815) Fout = fopen ("test.5815.dat", "w");
    64 
    6558    // cross-correlation of buffer values and kernel values
    6659    for (int ix = 0; ix < Nx; ix++) {
     
    6962        if ((iy + ky) < 0) continue;
    7063        if ((iy + ky) >= Ny) continue;
    71         if (!isfinite(Fin[ix + (iy + ky)*Nx])) continue;
    72         if (!isfinite(kernel[ix + ko*Nx])) continue;
    7364        Fsum += Fin[ix + (iy + ky)*Nx] * kernel[ix + ko*Nx];
    74         Ksum += kernel[ix + ko*Nx];
    75         // if ((iy == 5815) || (iy == 5802)) {
    76         //   fprintf (Fout, "%d %d %d : %f %f\n", iy, ix, ky, Fin[ix + (iy + ky)*Nx], kernel[ix + ko*Nx]);
    77         // }
    7865      }
    7966    }
    80 
    81     // if ((iy == 5815) || (iy == 5802)) fclose (Fout);
    82 
    8367    coord->elements.Flt[iy] = iy;
    8468    flux->elements.Flt[iy] = Fsum;
Note: See TracChangeset for help on using the changeset viewer.