Welcome to iraf.net Tuesday, May 21 2024 @ 01:03 AM GMT
nwj781 |
07/08/2008 05:37PM (Read 6917 times)
|
|
|
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
|
|
|
|
fitz |
07/08/2008 05:37PM
|
|
|
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
|
|
|
|
nwj781 |
07/08/2008 05:37PM
|
|
|
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.
|
|
|
|
| |
|
Content generated in: 0.13 seconds |
|