{'fraction_non_alphanumeric': 0.026835043409629045, 'fraction_numerical': 0.006314127861089187, 'mean_word_length': 5.5025641025641026, '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}}
Real-time closed-loop tracking of an unknown number of neural sources using probability hypothesis density particle filtering

Probability hypothesis density (PHD) filtering, implemented using particle filters, is a Bayesian technique used to non-linearly track multiple objects. In this paper, we propose a new approach based on PHD particle filters (PHD-PF) to automatically track the number of magnetoencephalography (MEG) neural dipole sources and their unknown states. In particular, by separating the MEG measurements using independent component analysis, PHD-PF is applied in a closed-loop to first estimate the number of sources and then recover their amplitude, location and orientation. We also reduce the processing time and computational complexity by employing window-based processing and multi-channel decomposition. We simulate the overall system using synthetic data and show that the proposed algorithm has tracking performance similar to existing approaches with significantly fewer number of particles. We also map the algorithm on to a Xilinx Virtex-5 field-programmable gate array (FPGA) platform. The processing period for one iteration using 3,200 particles is only about 314 μs, which makes this implementation suitable for real-time tracking.