Skip to first unread message

Philip Bergen

unread,
May 26, 2013, 8:57:42 PM5/26/13
to astro...@googlegroups.com
Hi,
What a great package astrometry is! I'm able to solve all my horrible astrophotos!
Here's my plan:
1. Solve my pictures
2. Combine them using astrodrizzle
3. World domination

I'm stuck on "2.". Astrodrizzle seems to require a number of headers in the fits files that I don't have (instrume, detector, obstype so far).
Has anyone here had any luck using the solve-info to automatically combine images?
(Suggestions other than drizzle are welcome, but I'm looking for something that's command line or python.)

Thanks,
// Phil

David W Hogg

unread,
May 28, 2013, 8:21:17 AM5/28/13
to Philip Bergen, astro...@googlegroups.com
Can you just put dummies in for those keywords, or does it need to come from some dictionary of possibilities?


--
You received this message because you are subscribed to the Google Groups "astrometry" group.
Visit this group at http://groups.google.com/group/astrometry?hl=en.
 
 



--
David W. Hogg ~ CCPP, NYU; MPIA ~ http://cosmo.nyu.edu/hogg/

Dustin Lang

unread,
May 28, 2013, 9:33:29 AM5/28/13
to astro...@googlegroups.com, Philip Bergen, david...@nyu.edu
There is a command-line program in the Astrometry.net package called wcs-resample .  Say you have two images, A.fits and B.fits, with A.wcs and B.wcs.

'''
wcs-resample -w B.wcs B.fits A.wcs B-like-A.fits
'''

will produce a file "B-like-A.fits" with B's pixels resampled onto A's pixel grid.  It is dumb -- I think it does nearest-neighbour resampling -- but it's a start.

As for adding them together, you could try the "imarith" program (also built with the Astrometry.net tools).

cheers,
dustin

David W Hogg

unread,
May 28, 2013, 9:34:26 AM5/28/13
to Dustin Lang, astro...@googlegroups.com, Philip Bergen
A little bit of cubic spline magic and it would be money in the bank.

Dustin Lang

unread,
May 28, 2013, 10:42:19 AM5/28/13
to astro...@googlegroups.com, Dustin Lang, Philip Bergen, david...@nyu.edu
There is some Lanczos resampling code floating around there, but it's not glued in to the wcs-resample program yet.

Philip Bergen

unread,
May 29, 2013, 1:21:33 AM5/29/13
to astro...@googlegroups.com, Philip Bergen, david...@nyu.edu
Aloha David,
There is a predefined set. I tried putting some fake values but that didn't work. So I wanted to see
if perhaps someone here had already figured this out.

Thanks,

// Phil
Reply all
Reply to author
Forward
0 new messages