Star Field Simulations

'Basic' simulation program (04/10/2016): Simulation_test1.py.txt

  • Simulation generates stars with random positions.
  • Canvas size and no. of stars are variable.
  • No gaussian profile for stars or grey values (pixel value is either 0 or 1).
  • Example output: (100x100 pixel canvas, 50 stars)
  • PositionSimTest2.png
Improvement - Gaussian star profiles (05/10/2016): Simulation_test2.py.txt

  • Generated stars now have 2d gaussian profiles.
  • Maximum grey values (gaussian peak values) are randomized - can result in star not appearing in output.
  • Example output: (100x100 pixel canvas, 0-100 grey value range, 10 stars)
  • GaussianSimTest1.png
  • Example 2: (1530x1020 pixels, 0-65535 grey value range, 50 stars)GaussianSimTest2.png

-- AaronAndrews - 04 Oct 2016

Topic attachments
I Attachment Action Size Date Who Comment
PNGpng GaussianSimTest1.png manage 27.3 K 05 Oct 2016 - 21:44 AaronAndrews Star field simulation with gaussian star profiles, 100x100 pixels, grey values 0-100, 10 stars generated
PNGpng GaussianSimTest2.png manage 38.8 K 06 Oct 2016 - 14:32 AaronAndrews Simulation test, 1530x1020 pixels, 50 stars
PNGpng PositionSimTest1.png manage 10.4 K 04 Oct 2016 - 15:26 AaronAndrews Star position simulation, 100x100 pixels, 5 stars
PNGpng PositionSimTest2.png manage 19.0 K 04 Oct 2016 - 15:26 AaronAndrews Star position simulation, 100x100 pixels, 50 stars
Texttxt Simulation_test1.py.txt manage 1.5 K 04 Oct 2016 - 15:21 AaronAndrews Star position simulator
Texttxt Simulation_test2.py.txt manage 2.4 K 05 Oct 2016 - 21:45 AaronAndrews Gaussian star field simulator

This topic: Public > UserList > StewartBoogert > StewartBoogertAstronomy > StewartBoogertMSciProjects > StewartBoogertPhotometry2016 > AaronAndrewsPhotometry2016 > AaronAndrewsPhotomertry2016_Simulation
Topic revision: r3 - 06 Oct 2016 - AaronAndrews
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2018 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