Fix file header descriptions
authorKevin Rosenberg <kevin@rosenberg.net>
Sat, 22 Aug 2009 20:33:02 +0000 (14:33 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Sat, 22 Aug 2009 20:33:02 +0000 (14:33 -0600)
man/pjHinterp.1
tools/phm2helix.cpp
tools/pjHinterp.cpp

index f0dcae2520a1b41160d8feaf88240ce727021352..b55302e6cd1e50b586e6f5a0f4ad4d025a2ee5a6 100644 (file)
@@ -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
index 1d81ea0d811c866d09f6a4dd649841d34f72390e..77294726ef4890832521abc30dbb5e167ae24080 100644 (file)
@@ -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);
 }
 
index 0a49c6722cdb6294741ce707bee3153cc3748df2..bd167445f380f3ffb6b7df4177f506718ab15c07 100644 (file)
@@ -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},