From c2c6bba62eebd97499ef06e2aece9ecf70f9f630 Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Sat, 22 Aug 2009 14:33:02 -0600 Subject: [PATCH] Fix file header descriptions --- man/pjHinterp.1 | 2 +- tools/phm2helix.cpp | 28 +++++++++++++++------------- tools/pjHinterp.cpp | 7 +++---- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/man/pjHinterp.1 b/man/pjHinterp.1 index f0dcae2..b55302e 100644 --- a/man/pjHinterp.1 +++ b/man/pjHinterp.1 @@ -6,7 +6,7 @@ pjHinterp \- interpolate helical data in projection space. .SH "SYNOPSIS" .B pjHinterp projfile interpfile [OPTIONS] .SH "DESCRIPTION " -\fIphm2pj\fP interpolates the helical data in in projfile +\fIpjHinterp\fP interpolates the helical data in projfile and writes the results in interpfile. .SH "OPTIONS" .TP 16 diff --git a/tools/phm2helix.cpp b/tools/phm2helix.cpp index 1d81ea0..7729472 100644 --- a/tools/phm2helix.cpp +++ b/tools/phm2helix.cpp @@ -3,7 +3,7 @@ ** ** Name: phm2helix.cpp ** Purpose: Take projections of a phantom object -** Programmer: Ian Kay +** Programmers: Ian Kay and Kevin Rosenberg ** Date Started: Aug 2001 ** ** This is part of the CTSim program @@ -301,7 +301,9 @@ phm2helix_main (int argc, char* const argv[]) std::cout << opt_PhmProg << " " << iView << " " << opt_nview << " " << opt_PhmFileName << std::endl; //extcommand << opt_PhmProg << " " << iView << " " << opt_nview << " " << opt_PhmFileName ; - sprintf(extcommand, "%s %d %d %s", opt_PhmProg.c_str(), iView, opt_nview, opt_PhmFileName.c_str() ); + sprintf(extcommand, "%s %d %d %s", + opt_PhmProg.c_str(), iView, opt_nview, + opt_PhmFileName.c_str() ); stat = system( extcommand ); if (stat != 0 ) @@ -316,18 +318,18 @@ phm2helix_main (int argc, char* const argv[]) pjGlobal.setCalcTime (timerProgram.timerEnd()); - pjGlobal.setRemark (opt_desc); - pjGlobal.write (opt_outfile); - if (opt_verbose) { - phm.print (std::cout); - std::cout << std::endl; - std::ostringstream os; - pjGlobal.printScanInfo (os); - std::cout << os.str() << std::endl; - std::cout << " Remark: " << pjGlobal.remark() << std::endl; - std::cout << "Run time: " << pjGlobal.calcTime() << " seconds\n"; + pjGlobal.setRemark (opt_desc); + pjGlobal.write (opt_outfile); + if (opt_verbose) { + phm.print (std::cout); + std::cout << std::endl; + std::ostringstream os; + pjGlobal.printScanInfo (os); + std::cout << os.str() << std::endl; + std::cout << " Remark: " << pjGlobal.remark() << std::endl; + std::cout << "Run time: " << pjGlobal.calcTime() << " seconds\n"; } - + return (0); } diff --git a/tools/pjHinterp.cpp b/tools/pjHinterp.cpp index 0a49c67..bd16744 100644 --- a/tools/pjHinterp.cpp +++ b/tools/pjHinterp.cpp @@ -1,9 +1,9 @@ /***************************************************************************** ** FILE IDENTIFICATION ** - ** Name: phm2helix.cpp - ** Purpose: Take projections of a phantom object - ** Programmer: Ian Kay + ** Name: pjHinterp.cpp + ** Purpose: Interpolate helical data in projection space + ** Programmer: Ian Kay and Kevin Rosenberg ** Date Started: Aug 2001 ** ** This is part of the CTSim program @@ -29,7 +29,6 @@ enum { O_INTERPVIEW, O_VERBOSE, O_TRACE, O_HELP, O_DEBUG, O_VERSION}; - static struct option my_options[] = { {"interpview", 1, 0, O_INTERPVIEW}, -- 2.34.1