Skip to content

Chirp distance and mass joint distribution#304

Open
aggar104 wants to merge 13 commits into
ML4GW:mainfrom
aggar104:main
Open

Chirp distance and mass joint distribution#304
aggar104 wants to merge 13 commits into
ML4GW:mainfrom
aggar104:main

Conversation

@aggar104

Copy link
Copy Markdown

Jointly sample chirp mass and luminosity distance according to the chirp distance scaling.

@deepchatterjeeligo deepchatterjeeligo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aggar104 thanks for starting this. I think the overall idea is correct. I was hoping for this to be a little simpler and be Uniform in chirp distance. Could you also share a plot which should what the samples look like? And also please add some nice unittests.

Comment thread ml4gw/distributions.py
def __init__(
self,
chirp_mass: torch.distributions.Distribution,
chirp_distance: torch.distributions.Distribution,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a chirp_distance as an input distribution?

Comment thread ml4gw/distributions.py
):

chirp_mass = self.chirp_mass.sample(N)
chirp_distance = self.chirp_distance.sample(N)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I was hoping that we call this distribution UniformChirpDistance meaning the result chirp distance distribution is uniform.

@deepchatterjeeligo

Copy link
Copy Markdown
Contributor

@aggar104 gentle bump on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants