-
Notifications
You must be signed in to change notification settings - Fork 48
Scripting
Anderl edited this page Feb 12, 2019
·
1 revision
#!/usr/bin/env python
from pyrat import *
pyrat_init()
PyRat command 1
PyRat command 2
some normal python code
PyRat command 3
...
-
pyrat_init(debug=True)
Additional debugging output, no multithreading. Especially recommended while you're developing a routine - this allows to use pdb without hassle! -
pyrat_init(nthreads=2)
Different default for the number of threads (default: #cpu) -
pyrat._nthreads=2
changes the number of cpu's used -
Worker.blockprocess=False
disables the block processing entirely -
Worker.blocksize=512
changes the size of the azimuth blocks during blockprocessing (default=128)