Astrophotography Explained: Decoding Signal to Noise Ratio and Number of Sub Frames