I have a large file that I am pulling only certain fields out of but my output I would like to rearrange the field order via a pipe. I have been looking through the site and man pages and have come to a loss.
I am running on HP
cut -c33-38,44-46,62-65,91-98 <file> | grep -e <value> >... (4 Replies)
Hello all,
I have a text file that is arranged:
name 3 7 2 9 5
jim a d e g k
max d g u x g
rob f w v k o
This is just an example as my real file has >1000 individuals and >64,000 columns. I need to rearrange the file so that the columns appear in numerical order so that
name... (3 Replies)
Hello,
I spent all day trying to write a script and cannot find the solution :(
I have plenty files looking like this:
several hundred
lines precede
the following interesting
Bla xxx:
Blub = -7537.37687
Blub = -100.644746
Blub = -3247.61954
.
.
.
Blub = 1324.82567
Blub =... (2 Replies)
Hi experts,
I've used several solutions from this forum to delete nonsense and rearrange data in the project file I'm working on. I'm hoping you guys can give me some tips on further rearranging the data (I've seen a few solutions by searching, but one specific item has me stumped, which is only... (5 Replies)
Hi,
I have a file that I re-arranged using awk and unix commands to produce a file that looks like this:
JOE
JOE
JOE
JOE
JOE
BOB
BOB
HI
HI
HI
I want to count how many of the same rows there are and print it on the second column while only maintaining the original name once.
The... (5 Replies)
i have a file as below :-
100 D 22
100 T 33
100 C 89
101 C 55
101 D 44
102 D 88
103 T 22
103 C 13
output format :-
<number> <D value> <C Value> <T Value>
if no value then zero.
I want output as :-
100 22 33 89
101 44 55 0
102 88 0 0
103 0 13 22 (3 Replies)
Please help! I figured I would take this one to the experts. I'm working with a field that contains contents such as:
LastName FirstName
For example:
Smith John
I'm trying to take this field and split it so that it is two separate fields (first name and last name). I then need to print... (5 Replies)
Hi Guys
I normally do thins with a Windows program but I am trying to rearrange a filename based on delimiters in Ubuntu.
Example
v017 __ Detective Academy Q #133 Murder in the Village Of Suspension Bridges &&& Part 9.cbz
=
Detective Academy Q v017 #133 Murder in the Village Of Suspension... (9 Replies)
Hello everybody,
I've got the following problem:
The data set I have is an ASCII file containing a header over 4 lines and the actual data comprised of dezimal numbers in a 1000x1000 grid (1000 lines and 1000 columns).
Since I want to plot the data in GMT I need to convert it into the... (3 Replies)
I have a text file like this, I would like to rearrange the first column (Name) according to the third column(percentage)in descending order. I mean methionine with the highest percentage should be the first one to appear under the name column. But I also want to exclude the headers from this... (2 Replies)
Discussion started by: cathum
2 Replies
LEARN ABOUT DEBIAN
fdk
FDK(1) Plastimatch FDK(1)NAME
fdk - cone-beam reconstruction from projections using the FDK algorithm
The term FDK refers to the authors Feldkamp, Davis, and Kress who wrote the seminal paper "Practical cone-beam algorithm" in 1984. Their
paper describes a filtered back-projection reconstruction algorithm for cone-beam geometries. The fdk program in plastimatch is an
implmenetation of the FDK algorithm.
FDK USAGE
The fdk program takes a directory of 2D projection images as input, and generates a single 3D volume as output.
The command line usage is:
Usage: fdk [options]
Options:
-A hardware Either "cpu" or "brook" or "cuda" (default=cpu)
-a "num ((num) num)" Use this range of images
-r "r1 r2 r3" Set output resolution (in voxels)
-f filter Either "none" or "ramp" (default=ramp)
-s scale Scale the intensity of the output file
-z "s1 s2 s3" Physical size of the reconstruction (in mm)
-I indir The input directory
-O outfile The output file
-F {F,H} Full or half fan bow-tie filter correction
The usage of the fdk program is best understood by following along with the tutorials: fdk_tutorial_i and fdk_tutorial_ii.
INPUT FILES
Three different formats of input files are supported. These are:
o Pfm format image files with geomtry txt files
o Raw format image files with geomtry txt files
o Varian hnd files
The pfm and raw files are similar, in that they store the image as an array of 4-byte little-endian floats. The only difference is that
the pfm file has a header which stores the image size, and the raw file does not.
Each pfm or raw image file must have a geometry file in the same directory with the .txt extension. For example, if you want to use
image_0000.pfm in a reconstruction, you should supply another file image_0000.txt which contains the geometry. A brief description of the
geometry file format is given in proj_mat_file_format.
The sequence of files should be stored with the pattern:
XXXXYYYY.ZZZ
where XXXX is a prefix, YYYY is a number, and .ZZZ is the extension of a known type (either .hnd, .pfm, or .raw).
For example the following would be a good directory layout for pfm files:
Files/image_00.pfm
Files/image_00.txt
Files/image_01.pfm
Files/image_01.txt
etc...
The Varian hnd files should be stored in the original layout. For example:
Files/ProjectionInfo.xml
Files/Scan0/Proj_0000.hnd
Files/Scan0/Proj_0001.hnd
etc...
No geometry txt files are needed to reconstruct from Varian hnd format.
IMAGE GEOMETRY
By default, when you generate a DRR, the image is oriented as if the virtual x-ray source were a camera. That means that for a right lat-
eral film, the columns of the image go from inf to sup, and the rows go from ant to post. The Varian OBI system produces HND files, which
are oriented differently. For a right lateral film, the columns of the HND images go from ant to post, and the rows go from sup to inf. An
illustration of this idea is shown in the figure below.
[image] Geometry of Varian HND files.UNINDENT
AUTHOR
Plastimatch is a collaborative project. For more documentation, please visit http://plastimatch.org. For questions, comments, and bug
reports, please visit http://groups.google.com/group/plastimatch.
COPYRIGHT
Plastimatch development team (C) 2010-2011. You are free to use, modify, and distribute plastimatch according to a BSD-style license.
Please see LICENSE.TXT for details.
Plastimatch 1.5 June 11, 2011 FDK(1)