Revision as of 16:21, 14 June 2010 by Teuben (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

tvflag is a program from the ancient times that works only in 8-bit X windows displays. Nowadays our X servers all work in 16, 24 or even 32 bits. The CARMA cookbook discusses two ways you can still use this interactive program, if more manual ways, such as uvflag and pgflag, are too cumbersome:

  • start a new X session in 8-bit mode. Easy on linux, hard or maybe SOL on mac.
 % startx -- -depth 8 :1

but you probably will need to use a more color friendly window manager (.e.g. twm, fwwm)

  • use VNC to start an 8 bit display
 % vncserver :1 -depth 8 -cc 3 -geometry 1024x768
 % vncpasswd
 % vncviewer :1

and in this new 8 bit viewer:

 % xmtv &
 % tvinit server=xmtv@localhost
 % tvflag vis=vis0 server=xmtv@localhost
 % vncserver -kill :1

Just for inspection, within miriad you can also use uvimage in combination with (mir)ds9 to visualize your 3D visibility datacube.

An interesting new alternative approach can be found in mirflag/plotvis, written for ATNF CABB data.

Personal tools