How to do statistics of a region in many files
StefanD wrote on Aug 20, 2008
Hello all,
I am just starting using IRAF.
Right now I am wanting to check the sky level of a large set of images.
Is there a way to:
select a region, and get the stats for that region for all the images
(some sort of batch)
or
create a subimage (as a new fits image) from a specified region for each image (in a batch mode).
Then it would be easy to rum imstat on those.
Stefan D
I am just starting using IRAF.
Right now I am wanting to check the sky level of a large set of images.
Is there a way to:
select a region, and get the stats for that region for all the images
(some sort of batch)
or
create a subimage (as a new fits image) from a specified region for each image (in a batch mode).
Then it would be easy to rum imstat on those.
Stefan D
Mike Fitzpatrick wrote on Aug 20, 2008
If it is the same region for all the images, then you can do it directly using an image section, e.g.
and the specified section will be used for each image. Is this what you needed?
Cheers,
-Mike
cl> imstat *.fits[100:200,300:400]and the specified section will be used for each image. Is this what you needed?
Cheers,
-Mike
StefanD wrote on Aug 20, 2008
Thanks Mike,
that worked.
I missed that option.
Stefan D
that worked.
I missed that option.
Stefan D
Last post on Aug 20, 2008