From 364ef8cbcec43e22cac41439284eb13eb7796e84 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 22 Jan 2014 13:49:36 +0100 Subject: pattern_sim: Update man page, simplify --help --- src/pattern_sim.c | 44 ++++++-------------------------------------- 1 file changed, 6 insertions(+), 38 deletions(-) (limited to 'src/pattern_sim.c') diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 5ea328bf..7be2acfb 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -73,54 +73,22 @@ static void show_help(const char *s) " available devices.\n" " -g, --geometry= Get detector geometry from file.\n" " -b, --beam= Get beam parameters from file.\n" -"\n" " -n, --number= Generate N images. Default 1.\n" " --no-images Do not output any HDF5 files.\n" " -o, --output= Output HDF5 filename. Default: sim.h5.\n" -" If you choose to simulate more than one pattern,\n" -" the filename given will be postfixed with a\n" -" hyphen, the image number and '.h5'. In this\n" -" case, the default value is 'sim', such that the\n" -" files produced are sim-1.h5, sim-2.h5 and so on.\n" -" -r, --random-orientation Use a randomly generated orientation\n" -" (a new orientation will be used for each image).\n" +" -r, --random-orientation Use randomly generated orientations.\n" " --powder= Write a summed pattern of all images simulated by\n" " this invocation as the given filename.\n" " -i, --intensities= Specify file containing reflection intensities\n" " (and phases) to use.\n" " -y, --symmetry= The symmetry of the intensities file.\n" -" -t, --gradients= Use for the calculation of shape\n" -" transform intensities. Choose from:\n" -" mosaic : Take the intensity of the nearest\n" -" Bragg position. This is the\n" -" fastest method and the only one\n" -" supported on the GPU.\n" -" interpolate : Interpolate trilinearly between\n" -" six adjacent Bragg intensities.\n" -" This method has intermediate\n" -" accuracy.\n" -" phased : As 'interpolate', but take phase\n" -" values into account. This is the\n" -" most accurate method, but the\n" -" slowest.\n" -" --really-random Use really random numbers for the orientation and\n" -" crystal size. By default, the same sequence\n" -" will be used for each new run.\n" -" --min-size= Generate random crystal sizes using as the\n" -" minimum crystal size in nm. --max-size is also\n" -" required.\n" -" --max-size= Use as the maximum crystal size in nm.\n" -" --min-size is also required.\n" +" -t, --gradients= Select method for calculation of shape transforms\n" +" --really-random Seed the random number generator with /dev/urandom.\n" +" --min-size= Minimum crystal size in nm.\n" +" --max-size= Naximum crystal size in nm.\n" " --no-noise Do not calculate Poisson noise.\n" " -s, --sample-spectrum= Use N samples from spectrum. Default 3.\n" -" -x, --spectrum= Use for the calculation of spectrum.\n" -" Choose from:\n" -" tophat : Tophat spectrum. Bandwidth is\n" -" taken from beam parameters.\n" -" SASE : SASE spectrum. Random SASE pulse \n" -" is generated from a model.\n" -" Bandwidth is taken from beam \n" -" parameters.\n" +" -x, --spectrum= Type of spectrum to simulate.\n" ); } -- cgit v1.2.3