Skip to content

Commit 36d7815

Browse files
committed
TEST: add dynamic test in view_integ_stats
1 parent e5ed003 commit 36d7815

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
grt -Mhalfspace2 -D0.01/0 -N500/0.02/0.8 -OGRN -R1 -S-1
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import pygrt
2+
import numpy as np
3+
import matplotlib.pyplot as plt
4+
5+
6+
data1, data2, ptamdata, dist = pygrt.utils.read_statsfile_ptam("GRN_grtstats/halfspace2_0.01_0/PTAM_0000_1.00000e+00/PTAM_0142_*")
7+
fig, ax = pygrt.utils.plot_statsdata_ptam(data1, data2, ptamdata, dist, "DC", "2", "2")
8+
# fig.tight_layout()
9+
# fig.savefig("view_stats.png", dpi=100, bbox_inches='tight')
10+
# plt.show()

0 commit comments

Comments
 (0)