Skip to content

Gravitatonal potential distribution generator

License

Notifications You must be signed in to change notification settings

LeonidShabaev/GraviPotDistribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rays, Perpendiculars and Intersection Points Generator

About the code

This simple code is part of another code I wrote for my own research purposes related to the distribution of gravitational potential of galactic systems. In them I specified the most common parameters of the profile for the bulge (according to Sérsic) and for the disk (standard exponential profile) on a scale of one kiloparsec. The size of the galaxy can be increased in the parameter pixel_axis_size at the beginning of the code, which is already specified in kiloparsec units. Also, I added the parameter upscale_factor, which divides a square kiloparsec into the specified number of pixels raised to the power of two.

This code contains good functions and, I believe, can serve as a good simple basic solution for their use in other projects. The code is distributed under the MIT license, but if you decide to use it in your project, do not forget to write a modest thanks in the code itself, it would be nice.

Examples

Figure 1 Figure 2

Contact

E-mail: leonidshabaev@gmail.com

About

Gravitatonal potential distribution generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages