Commit a9059f5e authored by Marc Arene's avatar Marc Arene
Browse files

Rearranging import statements a bit

parent 3d921960
......@@ -2,22 +2,19 @@ import sys
# cf https://docs.python.org/3/tutorial/modules.html
sys.path.append('../')
import os
import numpy as np
import pandas as pd
import time
from optparse import OptionParser
import bilby
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.python_utils as pu
import Library.param_utils as paru
import Library.BNS_HMC_Tools as bht
import Library.Fit_NR as fnr
import subprocess
import os
import Library.config as conf
import bilby
import Library.bilby_waveform as bilby_wv
import Library.bilby_utils as bilby_utils
......
......@@ -4,8 +4,9 @@ sys.path.append('../')
import numpy as np
import bilby
import Library.bilby_waveform as bilby_wv
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.bilby_waveform as bilby_wv
import Library.param_utils as paru
import Library.config as conf
......
......@@ -4,14 +4,14 @@ sys.path.append('../')
import numpy as np
import bilby
import Library.bilby_waveform as bilby_wv
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.bilby_waveform as bilby_wv
import Library.param_utils as paru
import Library.config as conf
import Codes.set_injection_parameters as set_inj
import Codes.set_psds as set_psds
import Codes.logL_snr as logL_snr
......
......@@ -2,10 +2,11 @@ import sys
# cf https://docs.python.org/3/tutorial/modules.html
sys.path.append('../')
import numpy as np
from configparser import ConfigParser
import bilby.gw.conversion as conv
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
# import json
from configparser import ConfigParser
import Library.python_utils as pu
......
......@@ -4,6 +4,7 @@ sys.path.append('../')
import numpy as np
import bilby
import Library.psd_utils as psd_utils
import Codes.set_injection_parameters as set_inj
......
import sys
# # cf https:#docs.python.org/3/tutorial/modules.html
sys.path.append('../')
sys.path.append('../Tests/')
import numpy as np
......
......@@ -6,7 +6,6 @@ import numpy as np
import bilby.gw.utils as gwutils
import Library.python_utils as pu
import bilby
def noise_weighted_inner_product(aa, bb, power_spectral_density, duration):
......
......@@ -2,12 +2,12 @@ import sys
sys.path.append('../')
import numpy as np
import bilby
import sys
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.bilby_utils as bilby_utils
import Library.python_utils as pu
import Library.param_utils as paru
import Library.bilby_detector as bilby_det
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.config as conf
def WaveForm_ThreeDetectors(parameters, start_time, minimum_frequency, interferometers):
......
import numpy as np
import sys
# cf https://docs.python.org/3/tutorial/modules.html
sys.path.append('../')
import numpy as np
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.config as conf
......
import numpy as np
import sys
# cf https://docs.python.org/3/tutorial/modules.html
sys.path.append('../')
import os
......
import numpy as np
import matplotlib.pyplot as plt
import sys
sys.path.append('../')
sys.path.append('../')import numpy as np
import matplotlib.pyplot as plt
import os
import Library.config as conf
......
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