Skip to content

Major Update: Optimized for Faster Cluster Simulation #120

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

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

wei-lingfeng
Copy link
Contributor

  • Major update:
    • Used masked arrays instead of ragged arrays in spisea.imf.calc_multi to eliminate inefficient for loops and accelerate cluster simulation.
    • Optimized _make_companions_table_new accordingly
  • Minor updates:
    • Added support for the random generator instead of a global random seed
    • Added verbose control for IsochronePhot
    • Removed trailing whitespaces

Copy link
Contributor Author

@wei-lingfeng wei-lingfeng left a comment

Choose a reason for hiding this comment

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

Forgot to mention in the commit message: Commit Add random generator support is where major optimization occurs by replacing companion masses from ragged arrays to masked arrays.

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