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

grouping and reduction operation on subhalos #29

Closed
dnelson86 opened this issue May 12, 2023 · 1 comment · Fixed by #82
Closed

grouping and reduction operation on subhalos #29

dnelson86 opened this issue May 12, 2023 · 1 comment · Fixed by #82
Assignees
Labels
enhancement New feature or request

Comments

@dnelson86
Copy link
Collaborator

We need support, as now for groups, but for subhalos.

For example, a command like:

mass = ds.grouped("Masses", parttype="PartType0").sum().evaluate(compute=True)

except reducing over subhalos. (Each subhalo is a contiguous slice of the particle arrays, just like a group).

@dnelson86 dnelson86 added the enhancement New feature or request label May 12, 2023
@dnelson86
Copy link
Collaborator Author

(More abstractly, a catalog can have more than one set of "groups")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants