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

Support new soap output format #111

Merged
merged 12 commits into from
Nov 8, 2024
Merged

Conversation

robjmcgibbon
Copy link
Collaborator

@robjmcgibbon robjmcgibbon commented Oct 25, 2024

Update the SOAP reader functionality to support the HBT SOAP output. Also adds some new properties to the translator file

@@ -1526,6 +1486,7 @@ def VR_to_SOAP(particle_property_name: str) -> str:
"exclusivesphere.100kpc.linearmassweightedironfromsniaoverhydrogenofstars",
-1,
),
"searchradius.search_radius": ("boundsubhalo.encloseradius", -1),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I see that the search radius field was not in the translator file before. Do we now need this field somewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is used by the morphology pipeline when we are deciding what region of the simulation to read in.

https://github.com/SWIFTSIM/morpholopy/blob/f4991a475c74ab60f436f76f31764d0f35a7c5f8/morpholopy/galaxy_data.py#L448

@robjmcgibbon robjmcgibbon merged commit a71a795 into master Nov 8, 2024
1 check passed
@robjmcgibbon robjmcgibbon deleted the support_new_soap_output branch November 8, 2024 10:00
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