Welcome to iraf.net Friday, May 03 2024 @ 04:36 PM GMT
Anonymous: Guest |
12/22/2006 11:24AM (Read 3608 times)
|
|
|
|
Dear sir,
I am Vishal. I am research scholor in A&A division in Physical Research
lavoratory (PRL), one of the leading research institure in India.
Sir, I am using IRAF in my research work. I am facing a problem.
I can not run following line on cl> :imstat xyz.fits | scan (datapars.sigma,datapars.datamin,datapars.datamax)it is not scannig values from imstat data and shows INDEF in all 3 variables.Can you help me to sort out this problem?
Thank you sirRegards,
Vishal.
|
|
|
|
jturner |
12/22/2006 11:24AM
|
|
|
Status: offline
Registered: 12/29/2005
Posts: 165
|
Hi Vishal,[quote:355e98e378]imstat xyz.fits | scan (datapars.sigma,datapars.datamin,datapars.datamax) [/quote:355e98e378]Shouldn't you instead be running imstat with the following flags, to define the correct output format?[code:1:355e98e378]imstat xyz.fits format- fields="stddev,min,max" | scan (...) [/code:1:355e98e378]This should make imstat output the 3 numbers you want and nothing else, so your scan should work. Right now (if you are literally doing what you said above) you are scanning the comment line that imstat outputs by default to explain what the columns are.Cheers,James.
|
|
|
|
| |
|
Content generated in: 0.03 seconds |
|