12-11-2012
Is this an excel file or a flat file?
If a flat file, what separates the columns? Tabs?
Please try posting your data again, your lack of code tags and attempts at spacing without them have thrown your table well out of whack.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have an excel file that have a random count of columns/fields and what im trying to do is to only retrieve all the rows under 2 specific field headers.
I can use the usually command for awk which is awk 'print{ $1 $2}' > output.txt, but the location of the 2 specific field headers is... (9 Replies)
Discussion started by: mdap
9 Replies
2. Shell Programming and Scripting
i have this file which has the following contents:
,-0.3000 ,-0.3000 ,-0.3000
,-0.9000 ,-0.9000 ,-0.9000
i would like to get this:
-0.3-0.9-0.3-0.9-0.3-0.9
so far i am trying:
awk '{for(i=1; i<=NF; i++) {printf("%f\n",$i)}}' test1 > test2
any help... (4 Replies)
Discussion started by: npatwardhan
4 Replies
3. Shell Programming and Scripting
I have to find the number of rows in a file and delete those many rows in another file.
For example, if I have 3 rows in a file A, i have to delete first 3 rows in anothe file B,
I have the code, it works as standalone, when I merge this with m application (c with unix), it doesnt work.
... (2 Replies)
Discussion started by: Muthuraj K
2 Replies
4. UNIX for Dummies Questions & Answers
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt
0 80282 Severe myopia contributed to Ron's inferiority complex.
train/dr4/fklc0/sx355.txt
0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
awk 'NR%2==0' test1.txt >... (4 Replies)
Discussion started by: li_bi
4 Replies
5. Shell Programming and Scripting
i want sort columns with headers based on another file headers
file1
eg: i'm having an empty file with only coumn names like
lastname firstname title expirydate stlcno status etc...
another file with same column names and some other as well but in different order...
file2
eg:firstname... (2 Replies)
Discussion started by: Man83Nagesh
2 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
i have a excel sheet with two columns as below.
column1 column2
100 100
200 300
300 400
400 400
500 600
i need to compare the values these two columns and the output should be printed in the third column...if these values are equal the output should be green and if these... (2 Replies)
Discussion started by: arunmanas
2 Replies
7. UNIX for Dummies Questions & Answers
Dear all,
I have one file (see below) with more then 100 columns, and need only column which has GType in label with Alphabets, please help me to remove this columns with numbers.
input file is
n.201.GType n-201.Theta n-201.R n_1.GType n_1.Theta n_1.R n_7.GType ... (1 Reply)
Discussion started by: AAWT
1 Replies
8. Shell Programming and Scripting
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Discussion started by: crunchgargoyle
4 Replies
9. Shell Programming and Scripting
Hi All...
I am in need of few columns from a log file.. in .xls file... below is what i have tried.
my log file has 16 colums with " ; " as delimiter, but i need randomn columns 1 2 3 4 5 6 10 11 16 in an excel.
I tried to awk the columns with delimiter ; and it worked, below is the log... (5 Replies)
Discussion started by: nanz143
5 Replies
10. Shell Programming and Scripting
Hi All,
I want to read an excel file.
PFA excel, I want to read the cloumn from A to G and the V to AH
starting from Row number 3.
Please help me on this. (7 Replies)
Discussion started by: Abhisrajput
7 Replies
LEARN ABOUT DEBIAN
pyfai-saxs
PYFAI-SAXS(1) User Commands PYFAI-SAXS(1)
NAME
pyFAI-saxs - azimuthal integration for SAXS users.
DESCRIPTION
saxs_integrate is the Saxs script of pyFAI that allows data reduction for Small Angle Scattering.
Parameters:
-p=param.poni
PyFAI parameter file
-w=9.31e-11
wavelength (in meter)
-d=-2 dummy value for dead pixels
-dd=-1.1
delta dummy
-mask=mask
mask image
-dark=darkImage
dark current image
-flat=flatImage
name of the file containing the flat field
-background=filename
name of the file containing the background
-h print help and exit
Usage:
python saxs_integrate.py -p=param.poni -w=0.154e-9 file.edf file2.edf file3.edf
saxs_integrate is the Saxs script of pyFAI that allows data reduction for Small Angle Scattering.
Parameters:
-p=param.poni
PyFAI parameter file
-w=9.31e-11
wavelength (in meter)
-d=-2 dummy value for dead pixels
-dd=-1.1
delta dummy
-mask=mask
mask image
-dark=darkImage
dark current image
-flat=flatImage
name of the file containing the flat field
-background=filename
name of the file containing the background
-h print help and exit
Usage:
python saxs_integrate.py -p=param.poni -w=0.154e-9 file.edf file2.edf file3.edf
ESRF
January 2012 PYFAI-SAXS(1)