Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 803
News FAQ
Search Home


next up previous contents
Next: Displaying complex data Up: Blinking Between Images - Side-by-Side Display Previous: Blinking Between Images - Side-by-Side Display

Blink mode limitations (and ways around them)

If you used the sgrb2n images in the example above, you'll notice that both images remained on channel 61 during blink mode. To look at a different channel, you could move back to normal mode, select a different channel, and return to blink mode to view both images on the new channel. A shortcut command for this is:

an.gotoz(67);     # change to channel 67, while still in 'blink' mode.

There is no way for the animator to tell the various images to display different channels; it has only a single frame number setting, which is communicated to all the images. There are several ways around this limitation, however.

If your images cover a similar portion of the sky but have different projections or extents on it, you can view them both by regridding one to the projection and shape of the other, as follows:

im1 := image('first.im');       # use the file names of your
im2 := image('second.im');      # images here.
cs1 := im1.coordsys();          # coordinate system of the first image.
im2r:= im2.regrid(outfile='second-regrid.im', csys=cs1, shape=im1.shape());

im2r contains the second image regridded to the projection and shape of the first image. You can omit the outfile parameter if you don't need to save the regridded image permanently. You can now display and blink between the images im1 and im2r.

dd1 := dv.loaddata(im1,  'raster');  mdp.register(dd1);
dd2 := dv.loaddata(im2r, 'raster');  mdp.register(dd2);

Different images can always be displayed 'side-by-side' in completely separate DisplayPanel windows as well. In that case the the images need have nothing in common at all. There is no zoom synchronization or other 'linkage' between different DisplayDatas in the different panels, however.

The first item under the 'File' menu in one panel will bring up a new panel; registration of DisplayDatas, zooming, and animation can be controlled separately in each panel.


next up previous contents
Next: Displaying complex data Up: Blinking Between Images - Side-by-Side Display Previous: Blinking Between Images - Side-by-Side Display   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2004-08-28