Maintenance will be performed on,,, and on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to

Commit 929d5922 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

make deepcopy of ifo object for matlab processing

parent 71019887
import os
import copy
import tempfile
import numpy as np
......@@ -143,7 +144,7 @@ def _rename_noises(d):
return nd
def gwinc_matlab(f, ifo, plot=False):
def gwinc_matlab(f, ifoin, plot=False):
"""Execute gwinc in MATLAB with the specified ifo model.
This uses the python matlab.engine (see Matlab class) to calculate
......@@ -157,11 +158,12 @@ def gwinc_matlab(f, ifo, plot=False):
the noise budget.
matlab = Matlab()
ifo = copy.deepcopy(ifoin)
# add Constants attribute to ifo structure
matlab = Matlab()
matlab.load_array('f', f)
matlab.load_struct('ifo', ifo)
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