Module cart_dir
[hide private]
[frames] | no frames]

Module cart_dir

source code

Functions [hide private]
 
spitout(line) source code
 
main()
NAME...
source code
Function Details [hide private]

main()

source code 

NAME
    cart_dir.py

DESCRIPTION
  converts artesian coordinates to geomangetic elements

INPUT (COMMAND LINE ENTRY) 
       x1 x2  x3
    if only two columns, assumes magnitude of unity
OUTPUT
       declination inclination magnitude

SYNTAX
    cart_dir.py [-h] [-i] [-F] [< filename]

OPTIONS 
    -h prints help message and quits
    -i for interactive data entry
    -f FILE to specify input filename