Commit 5145269d authored by Hannah Middleton's avatar Hannah Middleton

fixing file paths

parent 3ee2f2ba
...@@ -16,8 +16,13 @@ def readChains(nFreqBins): ...@@ -16,8 +16,13 @@ def readChains(nFreqBins):
read in the data and return the lowest nFreqBins read in the data and return the lowest nFreqBins
chains and frequencies 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] chainsToUse = samples[:,0:nFreqBins]
frequenciesToUse = frequencies[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