IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2006, 10:51:44 AM (20 years ago)
Author:
eugene
Message:

adding file concepts

File:
1 edited

Legend:

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

    r6792 r6911  
    11# include "psastro.h"
    22
    3 // load the data from the files in this loop.
    4 // we write out the result in a second loop
     3// this loop just loads the data from the input files.
    54// at the end of this function, the complete stellar data is loaded
    65// into the correct fpa structure locations (readout.analysis:PSPHOT.SOURCES)
     6// all of the different astrometry analysis modes use the same data load loop
    77bool psastroDataLoop (pmConfig *config) {
    88
     
    1212        exit(EXIT_FAILURE);
    1313    }
     14    // de-activate all files except PSASTRO.INPUT
     15    psFPAfileActivate (config->files, false, NULL);
     16    psFPAfileActivate (config->files, true, "PSASTRO.INPUT");
    1417
    1518    pmFPAview *view = pmFPAviewAlloc (0);
     
    4245    return true;
    4346}
     47
     48// we need to suppress other IO files.  we need a function with toggles the mode/state of the
     49// pmFPAfiles so the ones of interest are active.
Note: See TracChangeset for help on using the changeset viewer.