Skip to content

Commit

Permalink
Fixing required options on time seg in MPI (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
acerjanic authored Jul 22, 2019
1 parent 7ffdb48 commit 50be725
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions PowerGrid/MPI/PowerGridPcSenseMPI_TS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ int main(int argc, char** argv)
("Ny,y", po::value<uword>(&Ny), "Image size in Y")
("Nz,z", po::value<uword>(&Nz), "Image size in Z")
("NShots,s", po::value<uword>(&NShots), "Number of shots per image")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp)->required(), "Field Correction Interpolator (Required)")
("TimeSegments,t", po::value<uword>(&L)->required(), "Number of time segments (Required)")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp), "Field Correction Interpolator (Required)")
("TimeSegments,t", po::value<uword>(&L), "Number of time segments (Required)")
("Beta,B", po::value<double>(&beta), "Spatial regularization penalty weight")("Dims2Penalize,D", po::value<uword>(&dims2penalize), "Dimensions to apply regularization to (2 or 3)")
("CGIterations,n", po::value<uword>(&NIter), "Number of preconditioned conjugate gradient interations for main solver");

Expand Down
4 changes: 2 additions & 2 deletions PowerGrid/PowerGridIsmrmrd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ int main(int argc, char **argv) {
("Ny,y", po::value<uword>(&Ny), "Image size in Y")
("Nz,z", po::value<uword>(&Nz), "Image size in Z")
("NShots,s", po::value<uword>(&NShots), "Number of shots per image")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp)->required(), "Field Correction Interpolator (Required)")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp), "Field Correction Interpolator")
("FourierTransform,F", po::value<std::string>(&FourierTrans)->required(), "Implementation of Fourier Transform")
("TimeSegments,t", po::value<uword>(&L)->required(), "Number of time segments (Required)")
("TimeSegments,t", po::value<uword>(&L), "Number of time segments")
("Beta,B", po::value<double>(&beta), "Spatial regularization penalty weight")
("CGIterations,n", po::value<uword>(&NIter), "Number of preconditioned conjugate gradient interations for main solver")
("Dims2Penalize,D", po::value<uword>(&dims2penalize), "Dimensions to apply regularization to (2 or 3).");
Expand Down
4 changes: 2 additions & 2 deletions PowerGrid/PowerGridPcSenseTimeSeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ int main(int argc, char **argv)
("Nx,x", po::value<uword>(&Nx), "Image size in X")
("Ny,y", po::value<uword>(&Ny), "Image size in Y")
("Nz,z", po::value<uword>(&Nz), "Image size in Z")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp)->required(), "Field Correction Interpolator (Required)")
("TimeSegments,t", po::value<uword>(&L)->required(), "Number of time segments (Required)")
("TimeSegmentationInterp,I", po::value<std::string>(&TimeSegmentationInterp), "Field Correction Interpolator")
("TimeSegments,t", po::value<uword>(&L), "Number of time segments")
("NShots,s", po::value<uword>(&NShots), "Number of shots per image")
("Beta,B", po::value<double>(&beta), "Spatial regularization penalty weight")
("Dims2Penalize,D", po::value<uword>(&dims2penalize), "Dimensions to apply regularization to (2 or 3)")
Expand Down

0 comments on commit 50be725

Please sign in to comment.