Fix file header descriptions
[ctsim.git] / tools / phm2helix.cpp
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);
 }