Welcome to iraf.net Thursday, May 02 2024 @ 09:47 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 group images
   
Anonymous: Guest
 06/15/2006 02:29PM (Read 3593 times)  



Hello!I am Kushal Mehta, a summer student at NRAO and am working on some HST
data. I am using iraf to reduce the data and I have a couple of questions:1. Is there a task or command that I can use to make a single image
consisting of 4 groups from 4 different images?
I have 4 seperate images of the 4 chips of the WFPC2 instruments and I
would like to have one single image with 4 groups. (I am working with the
GEIS format for this)2. What is the syntax to access different groups os a fits image?I would highly appreciate if you could reply back as soon as possibleThanking you in advance,Sincerely,
Kushal Mehta
kmehta@gb.nrao.edu

 
 Quote
EdAnderson
 06/15/2006 02:29PM  
+----
Newbie

Status: offline


Registered: 02/10/2006
Posts: 8
At it's simplest, all you need to do is create the one larger image, and then
IMCOPY your four separtate images into it.For example ... to create a 1024x1024 image from 4 512x512 images.[code:1:7a681e04bf]
cl> magnify image1 bigimage 2 2 # Create the larger image
cl> imreplace bigimage 0. # Set the pixels to zero.
cl> imcopy image1 bigimage[1:512,1:512]
cl> imcopy image2 bigimage[513:1024,1:512]
cl> imcopy image3 bigimage[1:512,513:1024]
cl> imcopy image4 bigimage[513:1024,513:1024][/code:1:7a681e04bf]
You should be able to script out what you need from this example.NOTE: You could also use MKIMAGE to make the template image, but you
need to load noao.imred.ccdred.ccdtest
-- Ed[color=red:7a681e04bf]
[MOD NOTE: The CCDTEST package still exists as a hidden package in the system but is deprecated, use ARTDATA.MKPATTERN instead[/color:7a681e04bf]

****************************************************************** Ed Anderson, M.Sc. Email: Ed.Anderson@nau.edu Support Systems Analyst, Sr. Phone: (928
 
Profile Email Website
 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