load_ifo doesn't handle 'IFOmodel.m' files
Some syntax error; its trying to tack on a yaml extension onto the .m file:
FileNotFoundError Traceback (most recent call last)
<ipython-input-12-9fac930773f7> in <module>()
1 freq = np.logspace(0.9, 3.5, 1000)
----> 2 ifo = gwinc.load_ifo('IFOModel_20_2000_GEO.m')
3 ifo = gwinc.precompIFO(freq, ifo)
4 noises = gwinc.noise_calc(ifo, freq)
5 gwinc.plot_noise(ifo, noises)
~/Desktop/Dropbox/GIT/pygwinc/gwinc/ifo/__init__.py in load_ifo(name_or_path)
46
47 else:
---> 48 return Struct.from_file(path)
~/Desktop/Dropbox/GIT/pygwinc/gwinc/struct.py in from_file(cls, path)
287 (root, ext) = os.path.splitext(path)
288
--> 289 with open(path, 'r') as f:
290 if ext in ['.yaml', '.yml']:
291 d = yaml.load(f, Loader=yaml_loader)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/rana/Desktop/Dropbox/GIT/pygwinc/gwinc/ifo/IFOModel_20_2000_GEO.m.yaml'