Skip to content

Fix origin#41

Merged
lgarrison merged 7 commits intomasterfrom
fix-origin
Feb 22, 2022
Merged

Fix origin#41
lgarrison merged 7 commits intomasterfrom
fix-origin

Conversation

@boryanah
Copy link
Collaborator

Solving issue #35 and closed issue #31

Copy link
Member

@lgarrison lgarrison left a comment

Choose a reason for hiding this comment

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

Looks good! Can you just check the one comment? Also, does the URL that's printed actually contain any info about the LC catalogs yet? Should we open an issue as a to-do to explain the LC halo catalog fields on the website?

Comment on lines +987 to +990
if m[0] == 'pos_interp':
columns['pos_interp'] = np.where(interped[:, None], raw['pos_avg'], raw['pos_interp'])
if m[0] == 'vel_interp':
columns['vel_interp'] = np.where(interped[:, None], raw['vel_avg'], raw['vel_interp'])
Copy link
Member

@lgarrison lgarrison Feb 21, 2022

Choose a reason for hiding this comment

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

Could you try adding back in the or 'pos_interp' in halos.colnames? I think it's needed to avoid duplicating the interped calculation. Likewise for vel.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lgarrison
Copy link
Member

Looks good to me, thanks!

@lgarrison lgarrison merged commit 16d9728 into master Feb 22, 2022
@boryanah boryanah deleted the fix-origin branch February 22, 2022 17:13
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