SER (VS)  "Documentation"

Warning: This page is under construction.

ser(vs) is a server/client program designed by   Dr. Matthew Choptuik  to analyze
one-dimensional data generated by finite-difference solutions of time-dependent problems.
ser also has  proven useful in analyzing multi-dimensional time-dependent data.
 
 
   
 
 
 


Basic ser features

The following commands are found by placing the cursur in the vs window and clicking on the right
mouse botton.  The menu will appear if you click with the reight mouse botton in any ser window.
Mode
  •  auto:          forward:             animate forward

  •                       reverse:              animate backwards
                          break on:            use middle mouse botton to animate, animation
                                                     automatically stops
                          break off:            turn break off
                          synch:                  all windows synchronized to display first time step
                          set sleep:             control speed of animation
                          reset sleep:          revert to default speed
     
     
  •  single step: step through time steps

  •  
  •  freeze:
  • x zoom:        use right mouse botton to zoom along the horizontal axis

  •                        use leftbotton to reverse zoom
                           use middle botton to stop zoom
  •  y zoom:        along the vertical axis
  •  xy zoom:      along the horizontal and vertical axes
  •  edit:             use left botton to erase markers at cursur

  •                         use right botton to create markers at cursur
                            Shift-F exits edit mode
  • thin:
  • clip:
  • compress:   ---eg. "10-100/10" delete all slices from window except those from 10-100 at

  •                        intervals of 10
  • time rev.:
  • y -> y - av(y):
  • split left:
  • split right:
  • move:
  • check pair:
  • font scan:   choose a font from list

  •  
     
    Range
  •  x range:       change minimum:   set minimum

  •                        change maximum:  set maximum
  •  y range:       change minimum:  set minimum

  •                        change maximum:  set maximum
                           auto scale on:
                           auto scale off:
  • domain:       floating:

  •                        fixed:
                           auto border x:        center maximum x range
                           auto border xy:      center max. x and  y
                           set x boder:            manually enter x border
                           reset x border:
                           set y border:           manually enter y border
                           reset y border:
                           manual border:
  • gauge:          x gauge:

  •                         y gauge:
                            xy gauge:
                            off:
                            on open toggle:
                            inv open mode:
                            edit:
  • fix & set ymax:

  •                          manually set maximum y value
  • fix & set ymax = 0.5:

  •                           set max. y value to 0.5
  • fix & set ymax = 1.0:

  •                           set max. y value to 1.0
  • redo:
  • fix & set dq:
  • mouse pos.:    display mouse position coordinates to order 10^(-7)
  • Files
  • list, save, load segdat:

  •                         list, save or load a segdat formatted file
  • list, save, load hdf:

  •                         list, save, or load a hdf formatted file
  • pwd:
  • cd:
  • scd:
  • sd:                 set the directory for files
  • cd menu:
  • X/<p>:
  • Markers
  • points:            displays data as points
  • line:                connects data with a line
  • polygons:        displays data as polygons
  • polygons and line:

  •                           displays data as polygons and connects with line (default)
  • vector field:
  • multi on:         turn on use of multiple colors, default = off for single plot, on for merged plots
  • multi off:         turn multiple colors off, default color = yello
  • set marker limits:
  • break on:
  • break off:
  • rainbow on:     sets different colors between markers
  • rainbow off:    sets one color for all markers
  • effect:
  • fix color map:
  • color map menu:
  • laod color map:
  • save color map:
  • show map:
  • set root color:
  • Tag
  • tag by dx:        color by dx
  • tag by constant:

  •                            color by choosen constant
  • delete:

  •                            remove set colors
    Stats
  • brief:
  • full:
  • Status
  • unblock:
  • block:
  • auto thin on:
  • auto thin off:
  • status window:    on:      turns on display window

  •                                off:      turns off display window
                                   short t fmt:
                                   long t fmt:
                                   user t fmt:
  • accept every:
  • buffer length:     change buffer size to specified number
  • Control
  • push dq:
  • set dq:
  • set & rescale:
  • reset dq:
  • ? xmin, xmax:
  • ? xmin, xmax (mouse):
  • ? dp:
  • pop dq:
  • rescale:
  • synch:
  • unsynch:
  • full scale:         resets maximum and minimum for each  time step
  • full scale off:   turns full scale off
  • full scale (all): full scale for all displayed windows
  • full scale off (all):

  •                             turns full scale (all) off
  • clone:               clone window
  • rename:            give window new name
  • set insert fuxx:
  • reset insert fuzz:
  • set compare fuzz:
  • reset compare fuzz:
  • set thinning angle:
  • reset thinning angle:
  • enable rgb dump (D):
  • disable rgb dump:
  • set apply1 history
  • toggle apply all
  • toggle edit sort
  • toggle edit intord
  • toggle edit x-clamp
  • Apply Control
  • apply all on:
  • apply all off:
  • Apply xy
    commands that follow apply to a single window and create a new window
  • f(y(...)):            transform y axis with a function (sin y, ...)
  • f(x(...)):            transform x axis with a function (sin x, ...)
  • x trans.:            transform x axis algebraically (cx, x+c,...)
  • y trans.:            transform y axis algebraically (cy, y+c,...)
  • xy trans.:          transformations of both axis (flip, rotate, ...)
  • t trans:             transform t (ct, t+c, ...)
  • xt trans:
  • xyt trans.:
  • d/dt:                  time derivative
  • filter:                every m(th) filters out every m(th) marker (34 points becomes 17 if m = 2)
  • pulse message:
  • Cheby Fit:
  • Periodic bc:
  • Fourier Trans.: fast fourier transform of data in selected window - see  example
  • Wavelet Trans.:
  • Sph. sym. grav.:
  • Miscellaneous:
  • xlog:
  • dy/dx:               derivative of vertical axis versus horizontal axis
  • dy/dx (mid):
  • x dy/dx:
  • Int[y dx]:
  • R Int[y dx]:
  • xy:
  • y/x:
  • Int [y dx]/x:
  • Int [x^p y dx]:
  • x^p:
  • x^p y:
  • y^p:
  • Apply xy history
    apply xy commands are saved to be repeated as desired
    Apply2 xy
    commands that follow are binary operations, i.e. they apply to two windows
  • [1] + [2]:             add window [1] to window [2]
  • [1] - [2]:             subtract
  • [1] * [2]:              multiply
  • [1] / [2]:               divide
  • ([1] + [2])/2:       average
  • [1]^2 + [2]^2:      square and add
  • sqrt([1]^2 + [2]^2):

  •  
  • [1]^2 - [2]^2:
  • abs([1] - [2]):
  • abs([1] - [2]/[1]):
  • mask:
  • [1]/sqrt([1]^2 + [2]^2):
  • y[2] vs. x[1]:
  • O(h^2) Rich. extrap.:
  • exp [1] + [2]:     click on first window, [1] then click on second window [2]

  •                              a third window will be created with the result of [1] + [2]
  • merge:               merge chosen two windows together
  • merge single:
  • subtract single:
  • best scale single:
  • m(X,Y):
  • a(X,Y):
  • Y vs. X:
  • X -> Y flow field:
  • X -> Y flow field (a):
  • pp(X,Y):
  • pi(X,Y):
  • X(pp,a):
  • Y(pi,a):
  • x(psi,phi):
  • y(psi,phi):
  • z(psi,phi):
  • [1]/[2[0]]:
  • d/dt -> d/dtau:
  • Apply3xy
  • [1] - [2] vs. [2] - [3]:
  • v(a,lapse,u):
  • V & T(V,X,Y):
  • [X,Y}(pp,pi,a):
  • r dX/dtau:
  • r dY/dtau:
  • k(ph,pp,zeta):
  • Apply4xy
  • r dX/dt:
  • r dX/dt & tems:
  • r dX/dt linear terms:
  • r dX/dt nonlinear terms:
  • r dY/dt:
  • r dY/dt & terms:
  • expansion:
  • Apply6xy
  • hc residual:
  • momc residual:
  • Applyn xy
    commands apply to arbitrary number of windows: right click any you want and then middle mouse
    click to end
  • merge:               merge selected windows (1st window selected=purple, 2nd=blue, 3rd=white, 4th=orange)
  • tag and merge (generated by t):

  •                              merge windows with different time dependencies
  • merge (y -> [0..1]):
  • merge all:
  • tag and merge all (generqated by t):
  • merge  all (y -> [0..1]):
  • [n] - [1]:
  • abs([n] - [1]):
  • abs([n] - [1]/[1]):
  • catenate:            merge selected windows in order of selection keeping the time independent of the merge
  • catenate (t -> 1,2,3...):

  •                               merge selected windows in order of selection redefining the time so that they are sequential
  • "" y -> [0..1]:
  • sum:
  • Reduce
  • l2 norm
  • l1 norm:
  • linf norm:          creates window of the l infinity norm as a function of time
  • l.s. fit slopt:
  • trap. Int:
  • trap. Int (abs):
  • trap. Int  l (xmax - xmin):
  • t:
  • N:
  • y[0]:                  creates window of the initial value of y versus time
  • y[j]:                   creates window of the jth value of y versus time
  • y[N]:                  creates window of the final value of y versus time
  • x[N]:                  creates window of the final value of x versus time
  • max(y):              maximum value of y at each time displayed as a function of time
  • min(y}:              minimum value of y at each time displayed as a function of time
  • absmax(y):         absolute maximum value of y at each time displayed as a function of time
  • absmin(y):          absolute minimum value of y at each time displayed as a function of time
  • x[max(y)]:
  • x[min(y)]:
  • x[absmax(y)]:
  • x[absmin(y)]:
  • first 0-crossing:
  • Compare
  • full fuzz:
  • xy fuzz:
  • x fuzz:
  • y fuzz:
  • t fuzz:
  • full exact:
  • xy exact:
  • x exact:
  • y exact:
  • t exact:
  • Title
  • load title:
  • set border color:
  • set border width:
  • set back. color:
  • set H. up col.:
  • set H up lim. col.:
  • set H up lim. fmt:
  • set mouse pos. fmt:
  • Sm
  • generate:            generate supermongo (sm)  script of window
  • gen. ps and print:

  •                               generate sm postscript and print
  • cd:
  • csd:
  • cd <default>:
  • pwd:
  • Video
  • video:
  • console:
  • enable:
  • disable:
  • overstrike:
  • Mpeg
  • record:                record window as an mpeg,  will save as mped in directory given in sd
  • play last recorded:
  • play from list:
  • remove .rgb files:
  • keep .rgb files:
  • Var. dq
  • off:
  • zoom:
  • Cheby fit (f77)
  • single:
  • all:
  • selectedA:
  • Kill window
  • single:                  kill current window
  • all:                       kill all windows without prompting
  • selected:              kill windows prompted, selected by clicking left mouse and terminated

  •                                by clicking middle mouse button.

    Key stroke commands

  •  Shift-G     choose frame to display in current window
  •  Shift-V     full screen
  •  Shift-D      .rgb dumping enabled
  •  Shift-W     accept every (#)
  •  Shift-Z      goes to zoom mode: zooms in/out based on mouse input
  •  Shift-C      duplicate the window (clone)
  •  Shift-R      rename window
  •  Shift-E      edit in window (creates or destroys markers)
  •  Shift-A      sequence through time slices
  •  Shift-F      freeze on current time slice
  •  Shift-S      toggle single frame advance mode
  •  Shift-P      clip all points not within current bounds
  •  Shift-T     .title files
  •  Shift-K     saves to .segdat
  •  Shift-L     loads .segdat
  •  Shift-X     exchanges targeted windows
  •  Shift-B     changes to a different current window by moving the cursur couterclockwise
  •  Shift-N     changes to a different current window by moving the cursur clockwise
  •  Shift-<      set xmax
  •  Shift->      set xmin
  •  Tab-(mouse command)

  •                       tells ser to get numeric input not from mouse click,
                          but from typing in or applys command to all windows
  •  CTRL-ALT-(middle mouse)

  •                       kill window over which mouse is
  •  ALT-(middle mouse)

  •                       view only window over which mouse is
                          (repeat command to view all windows)
     

    Command line operations

  •  hdftovs:       loads 1-d hdf file to server
  •  seg2vs:        loads *.segdat files to server
  •  nss(limited availability):

  •                        loads *.segdat files to server
  •  vs2seg:        saves a window in ser to a segdat file
  •  segdump:    dumps ascii from a segdat file
  •  seginfo:       dumps info about a segdat file
  •  v1:               sends ascii to ser (via pipe)
  •  vsget:         gets ascii from ser window
  •  setenv VSHOST my_computer:

  •                       sets environment variable which tells commands where to send/pull data