Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Gibbs sampling code to ENTERPRISE EXTENSIONS (updated and fixed) #233

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

NimaLaal
Copy link
Contributor

The updated Gibbs sampling code is added alongside its test. This method performs a Gibbs sampling for single pulsars.
It was easier for me to close the other PR and open a new one. The linting issues should be solved now. I removed the altpol util functions as well (they were included by accident!)
I am getting used to the Github desktop app!

NimaLaal and others added 13 commits November 1, 2022 16:11
The Gibbs Method (Bayes Power) code for single pulsar analyses.
Testing the Gibbs Method code
The gibbs sampling code is added alongside its test. This method performs the Gibbs sampling of single-pulsar analyses.
Linting problems removed by "black".
Altpol utils removed (they were included by accident!)
The updated Gibbs sampling code is added alongside its test. This method performs the Gibbs sampling of single-pulsar analyses.
@NimaLaal
Copy link
Contributor Author

It seems like "black" did not help with the linting issues. Is there a standard code formatting software that ENTERPRISE uses?

@vhaasteren
Copy link
Member

Hi @NimaLaal,

These are pep8 style issues pointed out by flake8. Here's how to fix it First conda install autopep8 or pip install autopep8. Then run:

autopep8 --in-place --aggressive --aggressive gibbs.py

Also for test_gibbs.py. That should solve these issues.

@NimaLaal
Copy link
Contributor Author

I will work on fixing the issues later today

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