{'fraction_non_alphanumeric': 0.016666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 4.972375690607735, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A simulation method for X-ray pulsar signal based on Monte Carlo

Since the pulsar is far away from the earth and the signal is weak, it is hard to detect the radiated photons of the pulsar on the ground. Thus the most effective and feasible method of signal generation is to use mathematical model to simulate it. In this paper, a signal simulated method for X-ray pulsar based on Monte Carlo is proposed, which improves the method of probability statistics and overcomes the constraint of non-homogeneous Poisson distribution. The probability density function can be obtained by fitting the pulsar radiation flow curve, and numerical comparison is used to select the generated random number to meet the requirements of probability density. The simulation results show that, the proposed method is utilized with a random thought, based on which the complex problem can be solved by simple numerical comparison. Compared with the Poisson based and Gauss based model, the proposed method has such advantages, including less simulation time, higher efficiency and greater precision.