. By removing those variables ( some other variables too that i used ) and directly using the values, I could reduce around 20Mb (I had too many variables).
Step 3,4: Find the bin that contains the median and return the midpoint.
More the number of bins, better the median approximate. Plotting the "median" matrix using our plot function (mentioned in Mean Image Stacking).
Using it on the Crab nebula image:
No of Bins = 4
2. No of Bins = 50
3. Bins: 150
As number of bins increase, the brighter objects are more visible clearly, like in the left part of the image, we can see a very bright object at around RA = 250, Dec = 500 (Approx). Typically astronomers use no of bins to be around 1000 and use hundreds of images. They also optimize further by parallelizing calculations further.
(Found some fits a part of Data Driven Astronomy Online Course by The University of Sydney)
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (