IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2008, 5:17:43 PM (18 years ago)
Author:
eugene
Message:

adding threading option (not quite ready; disabled), new psphotInit function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r20171 r20411  
    11# include "psphotInternal.h"
     2
     3// this should be called by every program that links against libpsphot
     4bool psphotInit () {
     5
     6    psphotErrorRegister();              // register our error codes/messages
     7    psphotModelClassInit ();            // load implementation-specific models
     8    psphotSetThreads ();
     9    return true;
     10}
    211
    312bool psphotReadout(pmConfig *config, const pmFPAview *view) {
     
    149158
    150159    // construct an initial model for each object
    151     psphotGuessModels (readout, sources, recipe, psf);
     160    psphotGuessModels (config, readout, sources, psf);
    152161
    153162    // XXX test output of models
     
    207216
    208217    // create full input models
    209     psphotGuessModels (readout, newSources, recipe, psf);
     218    psphotGuessModels (config, readout, newSources, psf);
    210219
    211220    // replace all sources so fit below applies to all at once
Note: See TracChangeset for help on using the changeset viewer.