(none)
Shel Woodruff wrote on Jun 20, 1999
Hello. I am a recent IRAF user, who would like to write a program to do
some simple tasks. Basically, I take images of stars from a file and write
down their coordinates and some info using imexamine by hand! There must be
a way for the computer to do this for me. This is how far I have gotten:
cl> sections image.* >star.lis
cl> list = "star.lis"
cl> while (fscan (list, s1) ! = EOF) {
>>> doafind //to find the stars
>>> tvmark //to mark them
>>> hedit imexam logfile = s1".dat" //to put the info into a file
>>> imexam tvmark //to get the info for the file
}
I know I am a long way off from writing this program, but if you could even
just tell me a better way to put the info from the 'a' function of imexam
into a file, I would really appreciate it. Is their a digiphot command that
makes it easier. Also, can I call the logfile, s1".dat"? Will the computer
understand what I want to do? Should I not be surprised that a script in
not already available? Shel
Last post on Jun 20, 1999