Skip to content

Conversation

@cwjames1983
Copy link
Collaborator

@cwjames1983 cwjames1983 commented Nov 3, 2025

This branch has been a bit of a catch-all for a few miscellaneous updates being implemented simultaneously.

The most significant is the addition of explicit use of beam value B in calc likelihoods 1D and 2D, and the ability of survey.py to read in beam values internally. It's hoped that using this from even a single survey will allow explicit values of FRB energy to be used in constraining the luminosity function.

At the same time, I have revamped the use of "dolist" within calc_likelihoods_[1/2]D to report components of the likelihood. This is great for debug purposes - see script zdm/scripts/likelihood_components.py for examples of its use.

There are also maybe a few additions to scripts within the MeerTRAP and SKA "papers" folders, adding minor functionality.

And I did a few other bits of cleanup - deleted two legacy routines from iteration.py, got rid of some more resource_filename calls, and maybe fiddled here and there with other things.

Clancy James added 5 commits October 24, 2025 16:11
…g, added new function to plotting, and various minor tweaks to MeerKAT and SKA plots
…so added files to load known states, and tried removing some resource_filename calls
…that would have failed, simplified get_log_likelihood, cleaned some aspects of calc_likelihoods functions
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.

thx for removing all the pkg_resources

@@ -0,0 +1,378 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a great addition!

@cwjames1983 cwjames1983 merged commit e97a0bb into main Nov 19, 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