Commit 389dc5ac authored by Meg Millhouse's avatar Meg Millhouse

fix signal residual histograms

parent ecf8d57c
......@@ -92,8 +92,8 @@ htmlDir = 'html/'
#### --fullOnly ###
fullOnly_flag = 0
if os.path.exists(postDir+'full'):
fullOnly_flag = 1
print("Found --fullOnly flag\n")
fullOnly_flag = 1
print("Found --fullOnly flag\n")
#Adopt common color scheme for different models
......@@ -102,7 +102,7 @@ gcolor = 'darkgoldenrod'
scolor = 'darkorchid'
ifoColors = ['darkgoldenrod','darkkhaki','darkseagreen','olive','cadetblue','green','slategray','darkcyan']
signal_ifoColorList = ['darkorchid','indigo','orchid','slateblue','mediumvioletred','palevioletred']
signal_ifoColorList = ['darkorchid','fuchsia','indigo','orchid','slateblue','mediumvioletred','palevioletred']
injcolor = 'teal'
......@@ -1035,13 +1035,13 @@ def plot_model_dims(modelList, ifoList, ifoNames, plotsDir, fullOnly_flag=0):
def whitened_residual_plots(model,ifoList,ifoNames,fullOnly_flag=0):
if model == 'glitch':
colour = gcolor
lineColors = ifoColors
elif model == 'signal':
colour = scolor
lineColors = signal_ifoColorList
elif model == 'noise':
colour = ncolor
lineColors = ifoColors
lineColors = ifoColors
hashlist = ['solid','dashed','dashdot','solid','dashed','dashdot']
plt.clf()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment