Skip to content

Commit 9181af9

Browse files
Merge branch 'dev'
2 parents f6d5155 + bf19ef6 commit 9181af9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

RMtools_1D/do_RMsynth_1D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def run_rmsynth(
515515
# Pause if plotting enabled
516516
if showPlots:
517517
plt.show()
518-
if saveFigures or debug:
518+
if saveFigures:
519519
if verbose:
520520
print("Saving RMSF and dirty FDF plot:")
521521
outFilePlot = prefixOut + "_RMSF-dirtyFDF-plots.pdf"

RMutils/util_RM.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ def measure_qu_complexity(
13911391
pDict.update(p2D)
13921392

13931393
m3D, p3D = calc_sigma_add(
1394-
xArr=lamSqArr_m2,
1394+
xArr=np.concatenate((lamSqArr_m2, lamSqArr_m2)),
13951395
yArr=np.concatenate((qResidArr / dqArr, uResidArr / duArr)),
13961396
dyArr=np.concatenate((dqArr / dqArr, duArr / duArr)),
13971397
yMed=0.0,
@@ -1405,6 +1405,7 @@ def measure_qu_complexity(
14051405
# Done as a test for the paper, not usually offered to user.
14061406
# mDict.update( calc_normal_tests(qResidArr/dqArr, suffix="Q") )
14071407
# mDict.update( calc_normal_tests(uResidArr/duArr, suffix="U") )
1408+
# mDict.update( calc_normal_tests(np.concatenate((qResidArr / dqArr, uResidArr / duArr)), suffix="C") )
14081409

14091410
return mDict, pDict
14101411

0 commit comments

Comments
 (0)