You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/env python
from pyrat import *
pyrat_init()
PyRat command 1
PyRat command 2
some normal python code
PyRat command 3
...
Tricks:
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)