IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2007, 3:26:52 PM (19 years ago)
Author:
eugene
Message:

fixed mosaic analysis; cleaned up test code (some in traces, some removed), general output cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLuminosityFunction.c

    r10855 r10880  
    6868  // exclude bins with no stars
    6969  // exclude points after the peak with N < 0.8*peak
    70   FILE *f = fopen ("psastro.dat", "w");
    7170  int n = 0;
    7271  for (int i = 0; i < nMags->n; i++) {
     
    7574    lnMag->data.F32[n] = log10 (nMags->data.F32[i]);
    7675    Mag->data.F32[n] = mMin + (i + 0.5)*dMag;
    77     fprintf (f, "%d  %f %.0f %f\n", n, Mag->data.F32[n], nMags->data.F32[i], lnMag->data.F32[n]);
    7876    n++;
    7977  }
    80   fclose (f);
    8178  lnMag->n = n;
    8279  Mag->n = n;
Note: See TracChangeset for help on using the changeset viewer.