Class SRSolve

java.lang.Object
  extended by SRSolve

public class SRSolve
extends Object

Class SRSolve is a prototype of an MRI spin relaxometry analysis program. The program reads in an MRI input data set consisting of a times file, a number of image files, and a mask file. The program obtains from the command line a range of N spin relaxation rates to be analyzed xL .. xU, a range of linear regularization tradeoff parameter values λL .. λU, and an output file name. For every pixel and every λ value, the program calculates the spin spectrum and stores the results in the output file in a binary format (see class MriOutputWriter).

Class SRSolve is a parallel program designed to run on a cluster parallel computer using MPI (mpiJava). The pixels are divided equally among the parallel processes. Each process stores its results in an output file named "<outputfile>_<rank>", where <outputfile> is specified on the command line and <rank> is the process's rank in the parallel process group (0, 1, 2, and so on). For the greatest speed, the input and output files should be stored on each parallel processor's local disk rather than, say, a network file server.

Note that running a Java program with MPI usually requires a script which is platform-dependent. The command below uses a script called runjava. For further information, see the package summary.

Usage: mprun -np K runjava SRSolve x_L x_U N lambda_L lambda_U L timesfile maskfile outputfile description
K = Number of parallel processes
x_L = Spin relaxation rate lower bound
x_U = Spin relaxation rate upper bound
N = Number of spin relaxation rates (linear spacing)
lambda_L = Tradeoff parameter lower bound
lambda_U = Tradeoff parameter upper bound
L = Number of tradeoff parameter values (logarithmic spacing)
timesfile = Times file name
maskfile = Mask file name
outputfile = Output file name
description = Description string to be stored in output file


Method Summary
static void main(String[] args)
          Main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
Main program.



Copyright © 2005 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.