Skip to content

Conversation

@cwjames1983
Copy link
Collaborator

As per title. This pull adds the capability to fit scattering and width distributions simultaneously with other FRB parameters. it includes work from the scattering paper.

Copy link
Contributor

@profxj profxj left a comment

Choose a reason for hiding this comment

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

wow, great stuff!

I've left comments, suggestions and the like but am approving too

thresh, Emin, Emax, self.state.energy.gamma, self.use_log10
).T * w.T).T
)

Copy link
Contributor

Choose a reason for hiding this comment

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

have you tested whether this changed code gives the same results as before (if run the same way)?

Note that now, RA, DEC, Gl, and Gb will be present
But their default values are None
"""
# converts to float if in string. Will do nothing if None
Copy link
Contributor

Choose a reason for hiding this comment

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

Am trying to intuit why this would be needed..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Basically, if people publish an FRB in RA/DEC, or in Gl Gb, but not the other. Makes it easier for entering data. You need Gl, Gb for NE2001 estimates, and to place cuts on Gl, Gb to remove fluctuations due to the Galactic Plane

@cwjames1983 cwjames1983 merged commit 63f79cf into main Oct 9, 2025
6 checks passed
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.

3 participants