Star Field Simulation:

First a random position function was made for a variable canvas size and number of stars. At this point, the stars are just points.

Position_of_Stars_Example.png

Next, a 2D Gaussian function was used over the position of the star with mean values of x and y = 5. The array was then converted into a fits image.

FirstStar.png

The same was attempted for twenty stars on a larger canvas size, which worked, but took a long time. This is because the algorithm was looped over every pixel for every star, this can be fixed by limiting the number of pixels to iterate over around each star. The monte carlo part of the simulation hasn't yet been implemented.

20Stars.png

Star Finder

Attempted the flood fill algorithm.

Original image

alpha_persei0.JPG

Star finder:

Alpha0Starfinder.png

The next sext is to do the the averaging of box pixels so I can get a appropriate background and threshold for the algorthim.

Topic attachments
I Attachment Action Size Date Who Comment
PNGpng 20Stars.png manage 13.1 K 25 Oct 2017 - 18:57 BekiChafer Image with 20 stars
PNGpng Alpha0Starfinder.png manage 220.1 K 27 Oct 2017 - 01:57 LunaBorella  
Unknown file formatfits FirstStar.fits manage 81.6 K 25 Oct 2017 - 18:09 BekiChafer  
PNGpng FirstStar.png manage 0.5 K 25 Oct 2017 - 18:13 BekiChafer Image of first simulated star. Monte Carlo not implemented yet. - png image
PNGpng Position_of_Stars_Example.png manage 32.4 K 22 Oct 2017 - 14:57 BekiChafer Positions of simulated stars example scatter plot
Unknown file formatJPG alpha_persei0.JPG manage 780.0 K 27 Oct 2017 - 01:55 LunaBorella  

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r3 - 27 Oct 2017 - LunaBorella

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback