Skip to content
Snippets Groups Projects
Commit 9fa82507 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

matlab: blow out MirrorThermal sub-dict

This makes output directly comparable with pygwinc output
parent 8e2d6c3a
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,13 @@ def gwinc_matlab(f, ifo, fig=False, title=None, gwincpath=None, eng=None, **kwar
score = data['score']
mnoises = Struct.from_matstruct(data['noises']).to_dict()
##### blow out 'MirrorThermal' sub-dict
for n,d in mnoises['MirrorThermal'].iteritems():
if n == 'Total':
continue
mnoises[n] = d
del mnoises['MirrorThermal']
#####
noises = _rename_noises(mnoises)
return score, noises, ifo
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment