|
|
@ -3,12 +3,15 @@ import ddresc_visu.draw as v
|
|
|
|
from time import sleep
|
|
|
|
from time import sleep
|
|
|
|
import argparse
|
|
|
|
import argparse
|
|
|
|
|
|
|
|
|
|
|
|
FILE = '/mnt/TAP9701/2021-08-11_Pm_ddresc_mapfile'
|
|
|
|
ap = argparse.ArgumentParser()
|
|
|
|
visu = v.Visualisation(FILE, start=1000**3, end=30*1000**3)
|
|
|
|
ap.add_argument('file', type=str)
|
|
|
|
|
|
|
|
ap.add_argument("--start", type=int)
|
|
|
|
|
|
|
|
ap.add_argument("--end", type=int)
|
|
|
|
|
|
|
|
|
|
|
|
def redraw():
|
|
|
|
args = ap.parse_args()
|
|
|
|
visu.reload()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while True:
|
|
|
|
visu = v.Visualisation(args.file, start=args.start, end=args.end)
|
|
|
|
redraw()
|
|
|
|
|
|
|
|
sleep(5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
visu.run(refresh=5)
|
|
|
|