Getting started

This section gives a tutorial introduction to PyDV. A sample session is run which highlights the basic PyDV commands.

Note

In PyDV commands, spaces are used to delimit items on the input line. More precisely items on a command line are either space delimited, are preceded by a left parenthesis if the first item in a list, or terminated by a right parenthesis if the last item in a list. Semicolons may be used to stack multiple commands on a single interactive input line. In interactive mode, ranges of curve numbers or data-id’s may be indicated using colon notation. For example, a:f or 5:9

Run PyDV (LLNL)

/usr/gapps/pydv/pdv     # Current version

/usr/gapps/pydv/3.0/pdv # Version specific

Run PyDV With a Command File

/usr/gapps/pydv/pdv -i <command-file>

Run PyDV In Column Format Mode

/usr/gapps/pydv/pdv -gnu <file.gnu>

Create a curve consisting of a straight line y=x over the interval (0,6.28).

[PyDV]: span 0 6.28

Take the sine of curve A

[PyDV]: sin a

Take the product of curves A and B

[PyDV]: * A B

Write all of the curves to an ASCII file

[PyDV]: save foo.txt a:c

Read file foo.txt

[PyDV]: rd foo.txt

Display curves in all open files

[PyDV]: menu

Display curves from the menu on

[PyDV]: cur 1 3

Shift curve A by one unit to the right

[PyDV]: dx A 1

Delete curve A from the display

[PyDV]: del A

Exit PyDV

[PyDV]: quit