Anonymous: Guest |
03/14/1996 06:30PM (Read 541 times)
|
|
|
|
hi, how do i combine two cubes into one `box', ie: imcopy cube1[1:n1,1:n2,1:n3] box[1:n1,1:n2,1:n3]
imcopy cube2[1:n1,1:n2,1:n4] box[1:n1,1:n2,n3+1:n3+n4] obviously the example above would work if i knew how to
create an empty box{1:n1,1:n2,1:n3+n4] (this is not, as far as i can see, the same as `imstack'). thanks,
andrew work phone/fax: 0131 668 8356, office: 0131 668 8357
institute for astronomy, royal observatory, blackford hill, edinburgh
http://www.roe.ac.uk/ajcwww
|
|
|
|
Anonymous: Guest |
03/14/1996 06:30PM
|
|
|
|
Andrew,> how do i combine two cubes into one `box', ie:
>
> imcopy cube1[1:n1,1:n2,1:n3] box[1:n1,1:n2,1:n3]
> imcopy cube2[1:n1,1:n2,1:n4] box[1:n1,1:n2,n3+1:n3+n4]
>
> obviously the example above would work if i knew how to
> create an empty box{1:n1,1:n2,1:n3+n4]Look at the mkpattern task in the noao.artdata package.Rob Seaman
NOAO/IRAF
|
|
|
|
| |
|