Skip to content

Commit

Permalink
Updated GW150914_IMRPhenomPv2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyuon committed Sep 16, 2024
1 parent c0624e2 commit 9274904
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions example/GW150914_IMRPhenomPv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from jimgw.single_event.likelihood import TransientLikelihoodFD
from jimgw.single_event.waveform import RippleIMRPhenomPv2
from jimgw.transforms import BoundToUnbound
from jimgw.single_event.transforms import MassRatioToSymmetricMassRatioTransform, SpinToCartesianSpinTransform, ComponentMassesToChirpMassMassRatioTransform, SkyFrameToDetectorFrameSkyPositionTransform
from jimgw.single_event.transforms import MassRatioToSymmetricMassRatioTransform, SpinToCartesianSpinTransform, ComponentMassesToChirpMassMassRatioTransform, SkyFrameToDetectorFrameSkyPositionTransform, SymmetricMassRatioToMassRatioTransform
from jimgw.single_event.utils import Mc_q_to_m1_m2
from flowMC.strategy.optimization import optimization_Adam

Expand Down Expand Up @@ -101,6 +101,7 @@

likelihood_transforms = [
# ComponentMassesToChirpMassMassRatioTransform,
SymmetricMassRatioToMassRatioTransform,
SpinToCartesianSpinTransform(freq_ref=f_ref),
MassRatioToSymmetricMassRatioTransform,
]
Expand Down Expand Up @@ -150,8 +151,8 @@
)

jim.sample(jax.random.PRNGKey(42))
jim.get_samples()
jim.print_summary()
# jim.get_samples()
# jim.print_summary()

###########################################
########## Visualize the Data #############
Expand Down

0 comments on commit 9274904

Please sign in to comment.