psfmeasure for multiple images with different stellar fields
angus wrote on Jul 20, 2010
Hi
I have to measure the PSF parameters of stars in a large number of fits images, each image corresponding to a different stellar field. I know the pixel coordinates of the stars on each field. I am trying to use the psfmeasure task for this job, running it non-interactively. I successfully used this task it in the case if the positions of the objects are the same on each image (i.e., the 'mark1' case). But what is the correct form of input in the present case? For the 'images' parameter, I give a list file with the image names preceding by an '@'. But what should the imagecur and the graphcur inputs look like? I think that the help file does not give clear information regarding this (or at least not clear for me..). I think I do not completely understand how these latter two parameters works. I was experimenting with many forms of input, none of them worked so far. The program always tries to perform measurements on the first image alone, but for *all* the positions, also those corresponding to subsequent images. I have no problem in interactive mode, though.
Of course I can write a cl script that calls the psfmeasure task separately for each image. That would help me to get the job done, but not to understand what am I doing wrong with imagecur/graphcur in the above case.
Any help would be highly appreciated.
Best regards,
Steve
I have to measure the PSF parameters of stars in a large number of fits images, each image corresponding to a different stellar field. I know the pixel coordinates of the stars on each field. I am trying to use the psfmeasure task for this job, running it non-interactively. I successfully used this task it in the case if the positions of the objects are the same on each image (i.e., the 'mark1' case). But what is the correct form of input in the present case? For the 'images' parameter, I give a list file with the image names preceding by an '@'. But what should the imagecur and the graphcur inputs look like? I think that the help file does not give clear information regarding this (or at least not clear for me..). I think I do not completely understand how these latter two parameters works. I was experimenting with many forms of input, none of them worked so far. The program always tries to perform measurements on the first image alone, but for *all* the positions, also those corresponding to subsequent images. I have no problem in interactive mode, though.
Of course I can write a cl script that calls the psfmeasure task separately for each image. That would help me to get the job done, but not to understand what am I doing wrong with imagecur/graphcur in the above case.
Any help would be highly appreciated.
Best regards,
Steve
Francisco Valdes wrote on Jul 20, 2010
Hi,
I can't think of what is the most appropriate help page describing the image cursor format. For graphics it would be "cursors". The help for "rimcur" is somewhat appropriate.
But it is easy enough to tell you that an image cursor input has the format
<x> <y> <frame/subframe> <key>
The frame/subframe is like 101, 201 but it many cases it doesn't matter and you can use just use 101. So you can create a coordinate file with some script with the appropriate 'q' key values between each image.
I can give a more complete example with psfmeasure if you wish.
Frank Valdes
I can't think of what is the most appropriate help page describing the image cursor format. For graphics it would be "cursors". The help for "rimcur" is somewhat appropriate.
But it is easy enough to tell you that an image cursor input has the format
<x> <y> <frame/subframe> <key>
The frame/subframe is like 101, 201 but it many cases it doesn't matter and you can use just use 101. So you can create a coordinate file with some script with the appropriate 'q' key values between each image.
I can give a more complete example with psfmeasure if you wish.
Frank Valdes
Last post on Jul 20, 2010