Skip to content

jweatson/26al-nbody

Repository files navigation

Al26 NBody

An N-body model built from AMUSE used to calculate the short-lived radioisotopic enrichment from massive stars via winds and supernovae, as well as enrichment through interloping AGB stars. Much of this code is written to be as fast as possible, and has a few kludges here and there, I have done my best to be as explanitory as possible in the code-base. Some issues remain with the code such that it may need a bit of help setting up, feel free to message me by email.

Papers

The code is used in the following papers, all papers are open-access.

Requirements

Some important requirements, see requirements.txt for a full list, or install through the command pip3 -r requirements.txt.

  • amuse: N-body simulation (BHTree) and stellar evolution (SeBa).
  • pandas: Results tabulation and processing, saving results data.
  • py_ubjson: Saving simulation states as compressed binary files (much faster than pickle).
  • numpy: Ubiquitous mathemtatics library.
  • numba: High-speed processing of data at C-like speeds for SLR enrichment in-line with N-body simulation with limited overhead.
  • matplotlib: Data visualisation in al26_plot
  • zstandard: Compression of data files.

About

N-Body simulation using AMUSE to determine 26Al pollution by massive stars in a cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages