Welcome to iraf.net Friday, May 03 2024 @ 04:36 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Scan from pipe (Was: please help me)
   
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.

 
 Quote
jturner
 12/22/2006 11:24AM  
+++++
Active Member

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.

 
Profile Email
 Quote
   
Content generated in: 0.03 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login