IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2011, 1:16:41 PM (15 years ago)
Author:
eugene
Message:

improvements to the output headers; some code organization; plug leaks; user-specified limits to input seeing ranges

Location:
trunk/ppStack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack

    • Property svn:ignore
      •  

        old new  
        1717autom4te.cache
        1818Doxyfile
         19a.out.dSYM
    • Property svn:mergeinfo deleted
  • trunk/ppStack/src/ppStackArguments.c

    r30620 r31158  
    110110{
    111111    assert(config);
     112
     113    // generic arguments (version, dumpconfig)
     114    PS_ARGUMENTS_GENERIC( ppStack, config, argc, argv );
     115
     116    // thread arguments
     117    PS_ARGUMENTS_THREADS( ppStack, config, argc, argv )
    112118
    113119    {
     
    181187    psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-variance", 0, "Suffix for temporary variance maps", NULL);
    182188    psMetadataAddBool(arguments, PS_LIST_TAIL, "-temp-delete", 0, "Delete temporary files on completion?", false);
    183     psMetadataAddS32(arguments, PS_LIST_TAIL, "-threads", 0, "Number of threads to use", 0);
    184189    psMetadataAddBool(arguments, PS_LIST_TAIL, "-visual", 0, "visualisation", false);
    185190
     
    238243    valueArgStr(arguments, "-stats", "STATS", arguments);
    239244
    240     int numThreads = psMetadataLookupS32(NULL, arguments, "-threads"); // Number of threads
    241     if (numThreads > 0 && !psThreadPoolInit(numThreads)) {
    242         psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to setup %d threads", numThreads);
    243         return false;
    244     }
    245 
    246245    psMetadataAddBool(arguments, PS_LIST_TAIL, "PPSTACK.DEBUG.STACK", 0,
    247246                      "Read old convolved images to debug stack?", debugStack);
Note: See TracChangeset for help on using the changeset viewer.