X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Jul 2011 11:12 PM by  anon
multi-dimensional headers
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
17 Jul 2011 11:12 PM
    Hi all, I'm trying to figure out a clean way to associate a different fits header with each piece the third dimension of a 3-D array (I have a 512 x 512 x 72 array, and each of those 72 should have a different .fits header). I can read in the headers just fine and create a 2-D string array (dimensions=326 x 72), but neither writefits not mwrfits will take this 2d string array as a header argument. In both cases I get the error FXPAR: FITS Header (first parameter) must be a string array which it seems to be (help, header gives HEADER STRING = Array[326, 72]). Any thoughts? Anyone have a way to associate a different header with each image in a 3-D array? Thanks!
    You are not authorized to post a reply.