Galaxy model
Design your own galaxy ! :-)
For pedagogic / scientific diffusion purposes. Is not a rigorous astrophysical model.
F5 in galaxy_model.m or galaxy_model; in console to run the program and plot the figure.
A lot of parameters -curvature, number of arms, number of stars and many others- are available in the file header to tune the shape of the model.
Since these parameters are quite sensitive, my advice is to first test them individually -one by one- to understand their influence.
For some out of range parameter values, you may encounter this warning in Matlab console :
> Warning: Using only the real component of complex data.
> In getRealData (line 52)
> In scatter3 (line 59)
> In spiral_galaxy_model (line 115)
In this kind of case, just go back to some reference example parameter set, and do again your parameter tuning, one by one.
Questions, support, feedback : nicolas.douillet (at) free.fr
Cita come
Nicolas Douillet (2024). Galaxy model (https://github.com/NicolasDouillet/galaxy_model/releases/tag/v2.6), GitHub. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
2.6 | See release notes for this release on GitHub: https://github.com/NicolasDouillet/galaxy_model/releases/tag/v2.6 |
||
2.5 | Added one parameter set example for elliptic galaxy type |
||
2.4 | Updated file name in description |
||
2.3 | Fixed colormap figure bug |
||
2.2 | Name, cover img, typo |
||
2.1 | Profile view option + typo |
||
2.0 | Model improvement with some extra parameters (distribution, Markers, colors, etc), profile view, parameter set examples, description. |
||
1.0.0 |