Commit 97afc357 authored by Hannah Middleton's avatar Hannah Middleton

file path fix

parent 1c067912
......@@ -18,8 +18,12 @@ def readChains(nFreqBins):
read in the data and return the lowest nFreqBins
chains and frequencies
'''
frequencies = np.genfromtxt('../../chains/dr2new_fs/freqs.txt')
samples = np.genfromtxt('../../chains/dr2new_fs/chains_h.txt')
try:
samples = np.genfromtxt('/rds/projects/v/vecchioa-gw-pta/hannah/repositories/PTAInterpretation/chains/dr2new_fs/chains_h.txt')
frequencies = np.genfromtxt('/rds/projects/v/vecchioa-gw-pta/hannah/repositories/PTAInterpretation/chains/dr2new_fs/freqs.txt')
except:
samples = np.genfromtxt('/home/ADF/middlehr/repositories/PTAInterpretation/chains/dr2new_fs/chains_h.txt')
frequencies = np.genfromtxt('/home/ADF/middlehr/repositories/PTAInterpretation/chains//dr2new_fs/freqs.txt')
chainsToUse = samples[:,0:nFreqBins]
frequenciesToUse = frequencies[0:nFreqBins]
......
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