IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2006, 7:10:08 AM (20 years ago)
Author:
magnier
Message:

fixed up object output file functions, small speed improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/objects/models/pmModel_QGAUSS.c

    r6712 r6864  
    123123    // the area needs to be multiplied by the integral of f(z)
    124124    norm = 0.0;
    125     for (z = 0.005; z < 50; z += 0.01) {
     125    for (z = 0.05; z < 50; z += 0.1) {
    126126        f = 1.0 / (1 + PAR[7]*z + pow(z, 2.25));
    127127        // test: f = 1.0 / (1 + PAR[7]*z + PS_SQR(z));
    128128        norm += f;
    129129    }
    130     norm *= 0.01;
     130    norm *= 0.1;
    131131
    132132    psF64 Flux = PAR[1] * Area * norm;
Note: See TracChangeset for help on using the changeset viewer.