gen_fractal_star_clusters
Generate star forming regions with kinematic and spatial substructure.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.0%) to scientific vocabulary
Repository
Generate star forming regions with kinematic and spatial substructure.
Basic Info
- Host: GitHub
- Owner: r-j-arnold
- License: cc0-1.0
- Language: Python
- Default Branch: main
- Size: 12.7 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
genfractalstar_clusters
Generate star forming regions with kinematic and spatial substructure.
Becky Arnold 25/08/21 (r.j.arnold@keele.ac.uk)
Code that generates simulated star forming regions via an adapted box fractal method.
It outputs three files, r.txt which holds the x, y and z coordinates of the stars in columns, v.txt which holds the vx, vy and vz stellar velocities in columns, and m.txt which holds the stellar masses.
To run the code:
- Must be run with python, preferably python3.
- On the command line specify the number of stars, required probability of survival and desired half mass radius in parsecs via the command line.
- The probability of survival must be between 0 and 1, and is how likely a star is to survive each generation of the fractal. For example 0.2 would result in a highly substructured cluster, and 1 will give a smooth spherical cluster.
Example of how to run the code: python3 makeboxfractal.py 1000 0.5 5
This would generate a cluster of 1000 stars that is moderatly spatially substructured and has a half mass radius of 5 parsecs.
This code was written using with the following package versions, though it may work with earlier/later versions.
Python version: 3.6.8 Numpy version: 1.19.5 Matplotlib version: 3.3.4
Owner
- Name: Becky Arnold
- Login: r-j-arnold
- Kind: user
- Repositories: 1
- Profile: https://github.com/r-j-arnold
Astrophysics postdoc at the university of Keele
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Arnold" given-names: "Becky" orcid: "https://orcid.org/0000-0003-0355-0617" title: "gen_fractal_star_clusters" version: 1.0.0 date-released: 2021-09-08 doi: 10.5281/zenodo.5493843 url: "https://github.com/r-j-arnold/gen_fractal_star_clusters"