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

Renaming `Python_Utility.py` as `python_utils.py`

parent e8afb955
......@@ -10,7 +10,7 @@ from optparse import OptionParser,OptionValueError
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.BNS_Utility_Functions as buf
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
import Library.BNS_HMC_Tools as bht
import Library.LVC_Noise_Functions as lvnf
......
......@@ -2,7 +2,7 @@ import sys
# cf https://docs.python.org/3/tutorial/modules.html
sys.path.append('../')
from Library.Python_Utility import *
from Library.python_utils import *
from Library.TaylorF2 import *
......
......@@ -7,7 +7,7 @@ import numpy as np
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.BNS_Utility_Functions as buf
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
import Library.TaylorF2 as tf2
import Library.TaylorF2_for_bilby as tf2_for_bilby
......
......@@ -10,7 +10,7 @@ from itertools import chain
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.BNS_Utility_Functions as buf
import Library.LVC_Detector_Functions as lvdf
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
def ZipMerge(h_real,h_img):
......
......@@ -10,7 +10,7 @@ from itertools import chain
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
import Library.BNS_Utility_Functions as buf
import Library.LVC_Detector_Functions as lvdf
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
import Library.TaylorF2 as tf2
import Library.bilby_utils as bilby_utils
......
import bilby
import numpy as np
import Library.TaylorF2 as tf2
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
# Stuff coming from the binary_neutron_star_example.py
......
......@@ -5,7 +5,7 @@ sys.path.append('../')
import numpy as np
import bilby.gw.utils as gwutils
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
import bilby
......
......@@ -2,7 +2,7 @@ import numpy as np
import bilby
import sys
import Library.bilby_utils as bilby_utils
import Library.Python_Utility as pu
import Library.python_utils as pu
import Library.sigpar_utils as su
import Library.BNS_Utility_Functions as buf
import Library.bilby_detector as bilby_det
......
......@@ -7,7 +7,7 @@ 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_Utility as pu
import Library.python_utils as pu
......
......@@ -36,7 +36,7 @@
}
],
"source": [
"import Library.Python_Utility as pu
"import Library.python_utils as pu
import Library.sigpar_utils as su\n",
"import Library.bilby_waveform as bilby_wv\n",
"import bilby"
......
......@@ -41,7 +41,7 @@
"import Library.bilby_waveform as bilby_wv\n",
"import Codes.h_dh_compare_c_py as compare\n",
"import Library.TaylorF2 as tf2\n",
"import Library.Python_Utility as pu
"import Library.python_utils as pu
import Library.sigpar_utils as su"
]
},
......
......@@ -59,7 +59,7 @@
}
],
"source": [
"import Library.Python_Utility as pu
"import Library.python_utils as pu
import Library.sigpar_utils as su"
]
},
......
......@@ -228,7 +228,7 @@
}
],
"source": [
"import Library.Python_Utility as pu
"import Library.python_utils as pu
import Library.sigpar_utils as su"
]
},
......@@ -423,7 +423,7 @@ import Library.sigpar_utils as su"
"import bilby\n",
"import numpy as np\n",
"import Library.TaylorF2 as tf2\n",
"import Library.Python_Utility as pu
"import Library.python_utils as pu
import Library.sigpar_utils as su"
]
},
......
......@@ -787,7 +787,7 @@ Next Meeting with Ed:
#### Refactorization before chile
- make dynamical injection parameters from a file
- remove `import bilby` from `Python_Utility`
- remove `import bilby` from `python_utils`
- remove the `GW170817` name in files:
- `GW170817` shouldn't appear anymore
- these modules shouldn't be in a directory called `Tests` if I keep importing them in the main script => create a directory called: `intermediate scripts` ?
......
......@@ -4,7 +4,7 @@ sys.path.append('../')
import numpy as np
import bilby.gw.conversion as conv
from Headers.PN_Coefficients import * # Headers.Constants already imported in PN_Coeff
from Library.Python_Utility import print_dict
from Library.python_utils import print_dict
import Library.set_injection_parameters as set_inj
......
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