Welcome to iraf.net Saturday, May 11 2024 @ 09:01 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 display.frame.p_mode =
   
Anonymous: Guest
 08/27/2010 02:47PM (Read 1331 times)  



Dear IRAF helpers,i am running a very simple script that display images, as they are read
one by one from an input file (see script enclosed). For each new file
read at the display command, the script prompts me for the display
frame. I did put display.frame.p_mode = "h" in the script just before
the display command, but it still prompts me for the frame number. How
can i get read of this prompt ?Tbanks
Jerome Bouvier
-- Jerome BOUVIER
Laboratoire d'Astrophysique
Observatoire de Grenoble
Universite Joseph Fourier - B.P.53
F-38041 Grenoble Cedex 9 e-mail: Jerome.Bouvier@obs.ujf-grenoble.fr
tel: (33) 04 76 51 47 90
fax: (33) 04 76 44 88 21
1:EEDD80DF00 Formatted Code


#***************
#cinema.cl
#***************
# input file list: name.lis
# display every image in the list in turn

procedure cinema.cl (input_list)

string input_list

begin
string afile
#
#
list = input_list
while (fscan(list, afile) != EOF) {


# I tried this :
display (afile, 1, bpmask="BPM", bpdisplay="none", bpcolors="red", overlay="",ocolors="green", erase=yes, border_erase=no, select_frame=no, repeat=no,fill=yes,zscale=yes, contrast=0.25, zrange=yes, zmask="", nsample=1000,xcenter=0.5, ycenter=0.5, xsize=1., ysize=1., xmag=1., ymag=1., order=0,z1=INDEF, z2=INDEF, ztrans="linear", lutfile="")

# and this :
display.frame.p_mode = "h"
display (afile, frame=1)

# but still prompts for the frame number

print (afile)
imexam
}
#
end
[/code:1:eedd80df00]


 

 
 Quote
   
Content generated in: 0.02 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