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.


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.


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.


Star Finder

Attempted the flood fill algorithm.

Original image


Star finder:


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 History Action Size DateSorted ascending Who Comment
PNGpng Position_of_Stars_Example.png r2 r1 manage 32.4 K 22 Oct 2017 - 14:57 RebekahChafer1 Positions of simulated stars example scatter plot
Unknown file formatfits FirstStar.fits r1 manage 81.6 K 25 Oct 2017 - 18:09 RebekahChafer1  
PNGpng FirstStar.png r1 manage 0.5 K 25 Oct 2017 - 18:13 RebekahChafer1 Image of first simulated star. Monte Carlo not implemented yet. - png image
PNGpng 20Stars.png r1 manage 13.1 K 25 Oct 2017 - 18:57 RebekahChafer1 Image with 20 stars
JPEGjpg alpha_persei0.JPG r1 manage 780.0 K 27 Oct 2017 - 01:55 LunaMarieBorella1  
PNGpng Alpha0Starfinder.png r1 manage 220.1 K 27 Oct 2017 - 01:57 LunaMarieBorella1  

This topic: Public > StewartBoogertPhotometry20171027
Topic revision: r3 - 27 Oct 2017 - LunaMarieBorella1
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 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