Welcome to iraf.net Monday, May 13 2024 @ 09:02 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Passing changing coordinates to the phot task
   
JanRap
 09/16/2009 08:51AM (Read 1515 times)  
+----
Newbie

Status: offline


Registered: 09/14/2009
Posts: 11
HiI ran the imcentroid task on a sequence of about 300 fits frames and I now have the correct coordinates of the three sources I am interested in for each of these frames. (Due to tracking issues the sources sometimes jumped substantially from one frame to the next, which is why it is impossible to use one set of coordinates for a source.) What is the easiest way to pass these coordinates to the phot task?The only way I could think of is to create a .coo file for each frame, but I am hoping that there is an easier way which does not involve writing a script (something I have never done but intend to learn after finishing these reductions).I will greatly appreciate a quick fix, or confirmation that there is none.

 
Profile Email
 Quote
valdes
 09/16/2009 08:51AM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
What I understand is that you have all the coordinates in a single file, say the first 3 lines for the first image, the next three lines for the second image, and so on. I confirm my reading of the help page that if you want separate coordinates for each image then the coordinates have to be in separate file. So you have to break up the file and the possible ways are with your favorite editor, with some Unix script or whatever is you best scripting language, or with an IRAF script. An IRAF script is just one option but this is job of breaking up a file doesn't have to be done with IRAF.Good luck,
Frank Valdes

 
Profile Email
 Quote
   
Content generated in: 0.08 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