Skip to content

Commit

Permalink
isorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Arianna Renzini committed Mar 4, 2024
1 parent e0de103 commit 9caca1f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 35 deletions.
14 changes: 7 additions & 7 deletions play.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from popstock.PopulationOmegaGW import PopulationOmegaGW
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
import json

import numpy as np
import bilby
import matplotlib.pyplot as plt
import numpy as np
import tqdm
import json

from bilby.core.prior import Interped
import matplotlib.pyplot as plt
from bilby.core.utils import infer_args_from_function_except_n_args
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift

from popstock.PopulationOmegaGW import PopulationOmegaGW

"""
***
Expand Down
20 changes: 10 additions & 10 deletions population_O3.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

import sys
sys.path.append("/home/arianna.renzini/PROJECTS/popstock")

from popstock.PopulationOmegaGW import PopulationOmegaGW
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
from gwpopulation.utils import xp
sys.path.append("/home/arianna.renzini/PROJECTS/popstock")

import argparse
import numpy as np
import bilby
import tqdm
import argparse
import json

import os
from pathlib import Path

import bilby
import numpy as np
import tqdm
from bilby.core.prior import Interped
from bilby.core.utils import infer_args_from_function_except_n_args
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
from gwpopulation.utils import xp

from popstock.PopulationOmegaGW import PopulationOmegaGW

"""
***
Expand Down
18 changes: 9 additions & 9 deletions reweight_vs_calc.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#!/bin/env python
import sys
sys.path.append("/home/arianna.renzini/PROJECTS/popstock")

from popstock.PopulationOmegaGW import PopulationOmegaGW
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
sys.path.append("/home/arianna.renzini/PROJECTS/popstock")

import argparse
import numpy as np
import bilby
import tqdm
import argparse
import json

import os
from pathlib import Path

import bilby
import numpy as np
import tqdm
from bilby.core.prior import Interped
from bilby.core.utils import infer_args_from_function_except_n_args
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift

from popstock.PopulationOmegaGW import PopulationOmegaGW

"""
***
Expand Down
17 changes: 8 additions & 9 deletions training_omegas.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,21 @@

sys.path.append(os.getcwd())

from popstock.PopulationOmegaGW import PopulationOmegaGW
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
from gwpopulation.utils import xp

import argparse
import numpy as np
import bilby
import tqdm
import json

import os
from pathlib import Path

import bilby
import numpy as np
import tqdm
from bilby.core.prior import Interped
from bilby.core.utils import infer_args_from_function_except_n_args
from gwpopulation.models.mass import SinglePeakSmoothedMassDistribution
from gwpopulation.models.redshift import MadauDickinsonRedshift
from gwpopulation.utils import xp

from popstock.PopulationOmegaGW import PopulationOmegaGW

"""
***
Expand Down

0 comments on commit 9caca1f

Please sign in to comment.