Welcome to iraf.net Tuesday, May 21 2024 @ 01:03 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Cropping .fit files?
   
nwj781
 07/08/2008 05:37PM (Read 6917 times)  
+----
Newbie

Status: offline


Registered: 05/08/2008
Posts: 13
How can I crop down a .fit file containing roughly 50,000 stars to a 300x300 pixel image? I was told that ccdproc's trim function could do it, but it only appears to trim the bias section of the image.Cheers,
Neil

 
Profile Email
 Quote
fitz
 07/08/2008 05:37PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You can simply use an image section to copy out the region of interest to a new file, e.g.[code:1:b96aa68467]cl> imcopy bigim[500:799,100:399] small.fits[/code:1:b96aa68467]will copy the specified section to a new image. Note that you need to specify the ".fits" extension explicitly if you're using something earlier than v2.13 or else set your 'imtype' variable to ".fits" in your login.cl file.-Mike

 
Profile Email
 Quote
nwj781
 07/08/2008 05:37PM  
+----
Newbie

Status: offline


Registered: 05/08/2008
Posts: 13
Thank you. Thank you very much so. You just made my job much easier ha ha... This definitely beats running psf analysis on 29000 stars.Thank you.P.S.
Thank you.

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