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

NaMaster wrapper #21

Merged
merged 62 commits into from
Aug 20, 2021
Merged

NaMaster wrapper #21

merged 62 commits into from
Aug 20, 2021

Conversation

carlosggarcia
Copy link
Contributor

Work in progress on one of the codes of #3.

Closes #16

Note: Same as #11 but from a local branch. Now that I've got permissions I will push commits to this PR and close #11.

@carlosggarcia carlosggarcia mentioned this pull request Jul 8, 2021
tjpcov/main.py Outdated
"""
Compute all the covariances and then combine them into one single giant matrix
Parameters:
-----------
two_point_data (sacc obj): sacc object containg two_point data
**kwards: The arguments to pass to your chosen covariance estimation
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is typically called kwargs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Changed

tjpcov/main.py Outdated
@@ -486,23 +650,28 @@ def cl_gaussian_cov(self, tracer_comb1=None, tracer_comb2=None,
# cov[1423]=None #if want to save memory
return cov

def get_all_cov(self, do_xi=False):
def get_all_cov(self, do_xi=False, use_nmt=False, **kwards):
Copy link
Contributor

Choose a reason for hiding this comment

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

kwards -> kwargs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed

add healpy to requirements for namaster implementation
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Show resolved Hide resolved
tjpcov/main.py Outdated Show resolved Hide resolved
tjpcov/nmt_tools.py Outdated Show resolved Hide resolved
tests/test_nmt.py Show resolved Hide resolved
@sukhdeep2 sukhdeep2 closed this Aug 20, 2021
@sukhdeep2 sukhdeep2 reopened this Aug 20, 2021
@carlosggarcia carlosggarcia merged commit 4de4923 into master Aug 20, 2021
@carlosggarcia carlosggarcia deleted the covG_nmt branch September 6, 2021 12:19
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.

bias_lens input
4 participants