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

Integrate with pynbody v2 #250

Merged
merged 61 commits into from
Mar 16, 2024
Merged

Integrate with pynbody v2 #250

merged 61 commits into from
Mar 16, 2024

Conversation

apontzen
Copy link
Member

@apontzen apontzen commented Jan 11, 2024

Some small discrepancies known and not to be fixed:

  • black holes in changa+AHF may be assigned to a different halo. BH_central will be the same as it previously was, but BH now uses the AHF-provided parent relationship to assign to a top-level halo, rather than checking whether the BH itself is a member of a higher-level halo.
  • gadget+rockstar pynbody calculations look different but actually are far more sensible in v2. This appears to reflect a bug in the calculation of finder_offset, which was used for pynbody v1; now that tangos is passing through finder_ids instead, this has been fixed

Outstanding discrepancies still to be fixed:

  • subfind-reported masses are coming out in Msol/h units rather than 1e10 Msol/h units as previously. This arises from allowing units to be attached to the quantity then stripping them out through a float(...) call. Since the philosophy is to import the raw values, this should be fixed, and it could be addressed at the same time as implementing a unified way to get property arrays from halos in pynbody.
  • Gadget 4 tutorial is not importing at all, seemingly because pynbody v2 won't load the gadget4 subfind hdf5 files

…halos.

Transfer the KDTree over shared memory in server-shared-mem mode.
While pynbody won't build a tree that already exists, the tangos logging didn't reflect this
These may be related to async message processing, the justification for which is anyway marginal
…ting multiple properties with same region spec
@apontzen apontzen changed the title Fix some performance issues Integrate with pynbody v2 Mar 9, 2024
@apontzen apontzen merged commit 9178f5d into master Mar 16, 2024
23 checks passed
@apontzen apontzen deleted the pt-loop-resume branch March 16, 2024 20:14
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.

1 participant