The characteristics of an open source mass spectrometer under conditions simulating upper atmosphere flight