RESUMEN
BACKGROUND: Simulating the cardiac function requires the numerical solution of multi-physics and multi-scale mathematical models. This underscores the need for streamlined, accurate, and high-performance computational tools. Despite the dedicated endeavors of various research teams, comprehensive and user-friendly software programs for cardiac simulations, capable of accurately replicating both normal and pathological conditions, are still in the process of achieving full maturity within the scientific community. RESULTS: This work introduces [Formula: see text]-ep, a publicly available software for numerical simulations of the electrophysiology activity of the cardiac muscle, under both normal and pathological conditions. [Formula: see text]-ep employs the monodomain equation to model the heart's electrical activity. It incorporates both phenomenological and second-generation ionic models. These models are discretized using the Finite Element method on tetrahedral or hexahedral meshes. Additionally, [Formula: see text]-ep integrates the generation of myocardial fibers based on Laplace-Dirichlet Rule-Based Methods, previously released in Africa et al., 2023, within [Formula: see text]-fiber. As an alternative, users can also choose to import myofibers from a file. This paper provides a concise overview of the mathematical models and numerical methods underlying [Formula: see text]-ep, along with comprehensive implementation details and instructions for users. [Formula: see text]-ep features exceptional parallel speedup, scaling efficiently when using up to thousands of cores, and its implementation has been verified against an established benchmark problem for computational electrophysiology. We showcase the key features of [Formula: see text]-ep through various idealized and realistic simulations conducted in both normal and pathological scenarios. Furthermore, the software offers a user-friendly and flexible interface, simplifying the setup of simulations using self-documenting parameter files. CONCLUSIONS: [Formula: see text]-ep provides easy access to cardiac electrophysiology simulations for a wide user community. It offers a computational tool that integrates models and accurate methods for simulating cardiac electrophysiology within a high-performance framework, while maintaining a user-friendly interface. [Formula: see text]-ep represents a valuable tool for conducting in silico patient-specific simulations.
Asunto(s)
Técnicas Electrofisiológicas Cardíacas , Programas Informáticos , Humanos , Simulación por Computador , Miocardio , ÁfricaRESUMEN
Mechano-electric regulations (MER) play an important role in the maintenance of cardiac performance. Mechano-calcium and mechano-electric feedback (MCF and MEF) pathways adjust the cardiomyocyte contractile force according to mechanical perturbations and affects electro-mechanical coupling. MER integrates all these regulations in one unit resulting in a complex phenomenon. Computational modelling is a useful tool to accelerate the mechanistic understanding of complex experimental phenomena. We have developed a novel model that integrates the MER loop for human atrial cardiomyocytes with proper consideration of feedforward and feedback pathways. The model couples a modified version of the action potential (AP) Koivumäki model with the contraction model by Quarteroni group. The model simulates iso-sarcometric and isometric twitches and the feedback effects on AP and Ca2+ -handling. The model showed a biphasic response of Ca2+ transient (CaT) peak to increasing pacing rates and highlights the possible mechanisms involved. The model has shown a shift of the threshold for AP and CaT alternans from 4.6 to 4 Hz under post-operative atrial fibrillation, induced by depressed SERCA activity. The alternans incidence was dependent on a chain of mechanisms including RyRs availability time, MCF coupling, CaMKII phosphorylation, and the stretch levels. As a result, the model predicted a 10% slowdown of conduction velocity for a 20% stretch, suggesting a role of stretch in creation of substrate formation for atrial fibrillation. Overall, we conclude that the developed model provides a physiological CaT followed by a physiological twitch. This model can open pathways for the future studies of human atrial electromechanics. KEY POINTS: With the availability of human atrial cellular data, interest in atrial-specific model integration has been enhanced. We have developed a detailed mathematical model of human atrial cardiomyocytes including the mechano-electric regulatory loop. The model has gone through calibration and evaluation phases against a wide collection of available human in-vitro data. The usefulness of the model for analysing clinical problems has been preliminaryly tested by simulating the increased incidence of Ca2+ transient and action potential alternans at high rates in post-operative atrial fibrillation condition. The model determines the possible role of mechano-electric feedback in alternans incidence, which can increase vulnerability to atrial arrhythmias by varying stretch levels. We found that our physiologically accurate description of Ca2+ handling can reproduce many experimental phenomena and can help to gain insights into the underlying pathophysiological mechanisms.
RESUMEN
We introduce universal solution manifold network (USM-Net), a novel surrogate model, based on artificial neural networks (ANNs), which applies to differential problems whose solution depends on physical and geometrical parameters. We employ a mesh-less architecture, thus overcoming the limitations associated with image segmentation and mesh generation required by traditional discretization methods. Our method encodes geometrical variability through scalar landmarks, such as coordinates of points of interest. In biomedical applications, these landmarks can be inexpensively processed from clinical images. We present proof-of-concept results obtained with a data-driven loss function based on simulation data. Nonetheless, our framework is non-intrusive and modular, as we can modify the loss by considering additional constraints, thus leveraging available physical knowledge. Our approach also accommodates a universal coordinate system, which supports the USM-Net in learning the correspondence between points belonging to different geometries, boosting prediction accuracy on unobserved geometries. Finally, we present two numerical test cases in computational fluid dynamics involving variable Reynolds numbers as well as computational domains of variable shape. The results show that our method allows for inexpensive but accurate approximations of velocity and pressure, avoiding computationally expensive image segmentation, mesh generation, or re-training for every new instance of physical parameters and shape of the domain.
Asunto(s)
Redes Neurales de la Computación , Simulación por ComputadorRESUMEN
We propose four novel mathematical models, describing the microscopic mechanisms of force generation in the cardiac muscle tissue, which are suitable for multiscale numerical simulations of cardiac electromechanics. Such models are based on a biophysically accurate representation of the regulatory and contractile proteins in the sarcomeres. Our models, unlike most of the sarcomere dynamics models that are available in the literature and that feature a comparable richness of detail, do not require the time-consuming Monte Carlo method for their numerical approximation. Conversely, the models that we propose only require the solution of a system of PDEs and/or ODEs (the most reduced of the four only involving 20 ODEs), thus entailing a significant computational efficiency. By focusing on the two models that feature the best trade-off between detail of description and identifiability of parameters, we propose a pipeline to calibrate such parameters starting from experimental measurements available in literature. Thanks to this pipeline, we calibrate these models for room-temperature rat and for body-temperature human cells. We show, by means of numerical simulations, that the proposed models correctly predict the main features of force generation, including the steady-state force-calcium and force-length relationships, the length-dependent prolongation of twitches and increase of peak force, the force-velocity relationship. Moreover, they correctly reproduce the Frank-Starling effect, when employed in multiscale 3D numerical simulation of cardiac electromechanics.
Asunto(s)
Corazón/fisiología , Modelos Cardiovasculares , Miocardio , Miocitos Cardíacos , Adulto , Animales , Fenómenos Biofísicos/fisiología , Biología Computacional , Humanos , Masculino , Miocardio/química , Miocardio/citología , Miocardio/metabolismo , Miocitos Cardíacos/química , Miocitos Cardíacos/citología , Miocitos Cardíacos/metabolismo , Miocitos Cardíacos/fisiología , Ratas , Sarcómeros/química , Sarcómeros/metabolismo , Sarcómeros/fisiología , Adulto JovenRESUMEN
We present the architecture and three applications of the largest resolution image sensor based on single-photon avalanche diodes (SPADs) published to date. The sensor, fabricated in a high-voltage CMOS process, has a resolution of 512 × 128 pixels and a pitch of 24 µm. The fill-factor of 5% can be increased to 30% with the use of microlenses. For precise control of the exposure and for time-resolved imaging, we use fast global gating signals to define exposure windows as small as 4 ns. The uniformity of the gate edges location is â¼140 ps (FWHM) over the whole array, while in-pixel digital counting enables frame rates as high as 156 kfps. Currently, our camera is used as a highly sensitive sensor with high temporal resolution, for applications ranging from fluorescence lifetime measurements to fluorescence correlation spectroscopy and generation of true random numbers.
Asunto(s)
Electrónica , Imagenología Tridimensional/instrumentación , Óptica y Fotónica/instrumentación , Fotones , Lentes , Iluminación , Microscopía Electrónica de Rastreo , Microscopía Fluorescente , Óxidos/química , Probabilidad , Semiconductores , Factores de TiempoRESUMEN
Predicting the evolution of systems with spatio-temporal dynamics in response to external stimuli is essential for scientific progress. Traditional equations-based approaches leverage first principles through the numerical approximation of differential equations, thus demanding extensive computational resources. In contrast, data-driven approaches leverage deep learning algorithms to describe system evolution in low-dimensional spaces. We introduce an architecture, termed Latent Dynamics Network, capable of uncovering low-dimensional intrinsic dynamics in potentially non-Markovian systems. Latent Dynamics Networks automatically discover a low-dimensional manifold while learning the system dynamics, eliminating the need for training an auto-encoder and avoiding operations in the high-dimensional space. They predict the evolution, even in time-extrapolation scenarios, of space-dependent fields without relying on predetermined grids, thus enabling weight-sharing across query-points. Lightweight and easy-to-train, Latent Dynamics Networks demonstrate superior accuracy (normalized error 5 times smaller) in highly-nonlinear problems with significantly fewer trainable parameters (more than 10 times fewer) compared to state-of-the-art methods.
RESUMEN
Cardiac digital twins provide a physics and physiology informed framework to deliver personalized medicine. However, high-fidelity multi-scale cardiac models remain a barrier to adoption due to their extensive computational costs. Artificial Intelligence-based methods can make the creation of fast and accurate whole-heart digital twins feasible. We use Latent Neural Ordinary Differential Equations (LNODEs) to learn the pressure-volume dynamics of a heart failure patient. Our surrogate model is trained from 400 simulations while accounting for 43 parameters describing cell-to-organ cardiac electromechanics and cardiovascular hemodynamics. LNODEs provide a compact representation of the 3D-0D model in a latent space by means of an Artificial Neural Network that retains only 3 hidden layers with 13 neurons per layer and allows for numerical simulations of cardiac function on a single processor. We employ LNODEs to perform global sensitivity analysis and parameter estimation with uncertainty quantification in 3 hours of computations, still on a single processor.
RESUMEN
Impaired cardiac function has been described as a frequent complication of COVID-19-related pneumonia. To investigate possible underlying mechanisms, we represented the cardiovascular system by means of a lumped-parameter 0D mathematical model. The model was calibrated using clinical data, recorded in 58 patients hospitalized for COVID-19-related pneumonia, to make it patient-specific and to compute model outputs of clinical interest related to the cardiocirculatory system. We assessed, for each patient with a successful calibration, the statistical reliability of model outputs estimating the uncertainty intervals. Then, we performed a statistical analysis to compare healthy ranges and mean values (over patients) of reliable model outputs to determine which were significantly altered in COVID-19-related pneumonia. Our results showed significant increases in right ventricular systolic pressure, diastolic and mean pulmonary arterial pressure, and capillary wedge pressure. Instead, physical quantities related to the systemic circulation were not significantly altered. Remarkably, statistical analyses made on raw clinical data, without the support of a mathematical model, were unable to detect the effects of COVID-19-related pneumonia in pulmonary circulation, thus suggesting that the use of a calibrated 0D mathematical model to describe the cardiocirculatory system is an effective tool to investigate the impairments of the cardiocirculatory system associated with COVID-19.
Asunto(s)
COVID-19 , Sistema Cardiovascular , Humanos , Reproducibilidad de los Resultados , Circulación Pulmonar , Modelos TeóricosRESUMEN
Predictive modeling of hyperemic coronary and myocardial blood flow (MBF) greatly supports diagnosis and prognostic stratification of patients suffering from coronary artery disease (CAD). In this work, we propose a novel strategy, using only readily available clinical data, to build personalized inlet conditions for coronary and MBF models and to achieve an effective calibration for their predictive application to real clinical cases. Experimental data are used to build personalized pressure waveforms at the aortic root, representative of the hyperemic state and adapted to surrogate the systolic contraction, to be used in computational fluid-dynamics analyses. Model calibration to simulate hyperemic flow is performed in a "blinded" way, not requiring any additional exam. Coronary and myocardial flow simulations are performed in eight patients with different clinical conditions to predict FFR and MBF. Realistic pressure waveforms are recovered for all the patients. Consistent pressure distribution, blood velocities in the large arteries, and distribution of MBF in the healthy myocardium are obtained. FFR results show great accuracy with a per-vessel sensitivity and specificity of 100% according to clinical threshold values. Mean MBF shows good agreement with values from stress-CTP, with lower values in patients with diagnosed perfusion defects. The proposed methodology allows us to quantitatively predict FFR and MBF, by the exclusive use of standard measures easily obtainable in a clinical context. This represents a fundamental step to avoid catheter-based exams and stress tests in CAD diagnosis.
Asunto(s)
Enfermedad de la Arteria Coronaria , Estenosis Coronaria , Reserva del Flujo Fraccional Miocárdico , Humanos , Angiografía Coronaria/métodos , Calibración , Valor Predictivo de las Pruebas , Simulación por ComputadorRESUMEN
In this study, we present a computational framework designed to evaluate virtual scenarios of cardiac resynchronization therapy (CRT) and compare their effectiveness based on relevant clinical biomarkers. Our approach involves electro-mechanical numerical simulations personalized, for patients with left bundle branch block, by means of a calibration obtained using data from Electro-Anatomical Mapping System (EAMS) measures acquired by cardiologists during the CRT procedure, as well as ventricular pressures and volumes, both obtained pre-implantation. We validate the calibration by using EAMS data coming from right pacing conditions. Three patients with fibrosis and three without are considered to explore various conditions. Our virtual scenarios consist of personalized numerical experiments, incorporating different positions of the left electrode along reconstructed epicardial veins; different locations of the right electrode; different ventriculo-ventricular delays. The aim is to offer a comprehensive tool capable of optimizing CRT efficiency for individual patients. We provide preliminary answers on optimal electrode placement and delay, by computing some relevant biomarkers such as d P / d t max , ejection fraction, stroke work. From our numerical experiments, we found that the latest activated segment during sinus rhythm is an effective choice for the non-fibrotic cases for the location of the left electrode. Also, our results showed that the activation of the right electrode before the left one seems to improve the CRT performance for the non-fibrotic cases. Last, we found that the CRT performance seems to improve by positioning the right electrode halfway between the base and the apex. This work is on the line of computational works for the study of CRT and introduces new features in the field, such as the presence of the epicardial veins and the movement of the right electrode. All these studies from the different research groups can in future synergistically flow together in the development of a tool which clinicians could use during the procedure to have quantitative information about the patient's propagation in different scenarios.
RESUMEN
Accurate modeling of blood dynamics in the coronary microcirculation is a crucial step toward the clinical application of in silico methods for the diagnosis of coronary artery disease. In this work, we present a new mathematical model of microcirculatory hemodynamics accounting for microvasculature compliance and cardiac contraction; we also present its application to a full simulation of hyperemic coronary blood flow and 3D myocardial perfusion in real clinical cases. Microvasculature hemodynamics is modeled with a compliant multi-compartment Darcy formulation, with the new compliance terms depending on the local intramyocardial pressure generated by cardiac contraction. Nonlinear analytical relationships for vessels distensibility are included based on experimental data, and all the parameters of the model are reformulated based on histologically relevant quantities, allowing a deeper model personalization. Phasic flow patterns of high arterial inflow in diastole and venous outflow in systole are obtained, with flow waveforms morphology and pressure distribution along the microcirculation reproduced in accordance with experimental and in vivo measures. Phasic diameter change for arterioles and capillaries is also obtained with relevant differences depending on the depth location. Coronary blood dynamics exhibits a disturbed flow at the systolic onset, while the obtained 3D perfusion maps reproduce the systolic impediment effect and show relevant regional and transmural heterogeneities in myocardial blood flow (MBF). The proposed model successfully reproduces microvasculature hemodynamics over the whole heartbeat and along the entire intramural vessels. Quantification of phasic flow patterns, diameter changes, regional and transmural heterogeneities in MBF represent key steps ahead in the direction of the predictive simulation of cardiac perfusion.
RESUMEN
BACKGROUND AND OBJECTIVES: Parameter estimation and uncertainty quantification are crucial in computational cardiology, as they enable the construction of digital twins that faithfully replicate the behavior of physical patients. Many model parameters regarding cardiac electromechanics and cardiovascular hemodynamics need to be robustly fitted by starting from a few, possibly non-invasive, noisy observations. Moreover, short execution times and a small amount of computational resources are required for the effective clinical translation. METHODS: In the framework of Bayesian statistics, we combine Maximum a Posteriori estimation and Hamiltonian Monte Carlo to find an approximation of model parameters and their posterior distributions. Fast simulations and minimal memory requirements are achieved by using an accurate and geometry-specific Artificial Neural Network surrogate model for the cardiac function, matrix-free methods, automatic differentiation and automatic vectorization. Furthermore, we account for the surrogate modeling error and measurement error. RESULTS: We perform three different in silico test cases, ranging from the ventricular function to the entire cardiocirculatory system, involving whole-heart mechanics, arterial and venous hemodynamics. By employing a single central processing unit on a standard laptop, we attain highly accurate estimations for all model parameters in short computational times. Furthermore, we obtain posterior distributions that contain the true values inside the 90% credibility regions. CONCLUSIONS: Many model parameters regarding the entire cardiovascular system can be fastly and robustly identified with minimal hardware requirements. This can be achieved when a small amount of non-invasive data is available and when high levels of signal-to-noise ratio are present in the quantities of interest. With these features, our approach meets the requirements for clinical exploitation, while being compliant with Green Computing practices.
Asunto(s)
Corazón , Redes Neurales de la Computación , Humanos , Incertidumbre , Teorema de Bayes , Función VentricularRESUMEN
The aim of this paper is to introduce a new mathematical model that simulates myocardial blood perfusion that accounts for multiscale and multiphysics features. Our model incorporates cardiac electrophysiology, active and passive mechanics, hemodynamics, valve modeling, and a multicompartment Darcy model of perfusion. We consider a fully coupled electromechanical model of the left heart that provides input for a fully coupled Navier-Stokes-Darcy Model for myocardial perfusion. The fluid dynamics problem is modeled in a left heart geometry that includes large epicardial coronaries, while the multicompartment Darcy model is set in a biventricular myocardium. Using a realistic and detailed cardiac geometry, our simulations demonstrate the biophysical fidelity of our model in describing cardiac perfusion. Specifically, we successfully validate the model reliability by comparing in-silico coronary flow rates and average myocardial blood flow with clinically established values ranges reported in relevant literature. Additionally, we investigate the impact of a regurgitant aortic valve on myocardial perfusion, and our results indicate a reduction in myocardial perfusion due to blood flow taken away by the left ventricle during diastole. To the best of our knowledge, our work represents the first instance where electromechanics, hemodynamics, and perfusion are integrated into a single computational framework.
Asunto(s)
Corazón , Miocardio , Reproducibilidad de los Resultados , Perfusión , Ventrículos CardíacosRESUMEN
Mechano-electric feedbacks (MEFs), which model how mechanical stimuli are transduced into electrical signals, have received sparse investigation by considering electromechanical simulations in simplified scenarios. In this paper, we study the effects of different MEFs modeling choices for myocardial deformation and nonselective stretch-activated channels (SACs) in the monodomain equation. We perform numerical simulations during ventricular tachycardia (VT) by employing a biophysically detailed and anatomically accurate 3D electromechanical model for the left ventricle (LV) coupled with a 0D closed-loop model of the cardiocirculatory system. We model the electromechanical substrate responsible for scar-related VT with a distribution of infarct and peri-infarct zones. Our mathematical framework takes into account the hemodynamic effects of VT due to myocardial impairment and allows for the classification of their hemodynamic nature, which can be either stable or unstable. By combining electrophysiological, mechanical and hemodynamic models, we observe that all MEFs may alter the propagation of the transmembrane potential. In particular, we notice that the presence of myocardial deformation in the monodomain equation may change the VT basis cycle length and the conduction velocity but do not affect the hemodynamic nature of the VT. Finally, nonselective SACs may affect VT stability, by possibly turning a hemodynamically stable VT into a hemodynamically unstable one.
Asunto(s)
Cicatriz , Taquicardia Ventricular , Arritmias Cardíacas , Retroalimentación , Hemodinámica , HumanosRESUMEN
We propose a method to discover differential equations describing the long-term dynamics of phenomena featuring a multiscale behavior in time, starting from measurements taken at the fast-scale. Our methodology is based on a synergetic combination of data assimilation (DA), used to estimate the parameters associated with the known fast-scale dynamics, and machine learning (ML), used to infer the laws underlying the slow-scale dynamics. Specifically, by exploiting the scale separation between the fast and the slow dynamics, we propose a decoupling of time scales that allows to drastically lower the computational burden. Then, we propose a ML algorithm that learns a parametric mathematical model from a collection of time series coming from the phenomenon to be modeled. Moreover, we study the interpretability of the data-driven models obtained within the black-box learning framework proposed in this paper. In particular, we show that every model can be rewritten in infinitely many different equivalent ways, thus making intrinsically ill-posed the problem of learning a parametric differential equation starting from time series. Hence, we propose a strategy that allows to select a unique representative model in each equivalence class, thus enhancing the interpretability of the results. We demonstrate the effectiveness and noise-robustness of the proposed methods through several test cases, in which we reconstruct several differential models starting from time series generated through the models themselves. Finally, we show the results obtained for a test case in the cardiovascular modeling context, which sheds light on a promising field of application of the proposed methods.
Asunto(s)
Algoritmos , Aprendizaje Automático , Modelos TeóricosRESUMEN
Cardiac in silico numerical simulations are based on mathematical models describing the physical processes involved in the heart function. In this review paper, we critically survey biophysically-detailed mathematical models describing the subcellular mechanisms behind the generation of active force, that is the process by which the chemical energy of ATP (adenosine triphosphate) is transformed into mechanical work, thus making the muscle tissue contract. While presenting these models, that feature different levels of biophysical detail, we analyze the trade-off between the accuracy in the description of the subcellular mechanisms and the number of parameters that need to be estimated from experiments. Then, we focus on a generalized version of the classic Huxley model, built on the basis of models available in the literature, that is able to reproduce the main experimental characterizations associated to the time scales typical of a heartbeat-such as the force-velocity relationship and the tissue stiffness in response to small steps-featuring only four independent parameters. Finally, we show how those parameters can be calibrated starting from macroscopic measurements available from experiments.
RESUMEN
Emerging studies address how COVID-19 infection can impact the human cardiovascular system. This relates particularly to the development of myocardial injury, acute coronary syndrome, myocarditis, arrhythmia, and heart failure. Prospective treatment approach is advised for these patients. To study the interplay between local changes (reduced contractility), global variables (peripheral resistances, heart rate) and the cardiac function, we considered a lumped parameters computational model of the cardiovascular system and a three-dimensional multiphysics model of cardiac electromechanics. Our mathematical model allows to simulate the systemic and pulmonary circulations, the four cardiac valves and the four heart chambers, through equations describing the underlying physical processes. By the assessment of conventionally relevant parameters of cardiac function obtained through our numerical simulations, we propose a computational model to effectively reveal the interactions between the cardiac and pulmonary functions in virtual subjects with normal and impaired cardiac function at baseline affected by mild or severe COVID-19.
Asunto(s)
COVID-19 , Corazón , Hemodinámica , Humanos , Modelos Cardiovasculares , Estudios Prospectivos , SARS-CoV-2RESUMEN
We propose a reduced ODE model for the mechanical activation of cardiac myofilaments, which is based on explicit spatial representation of nearest-neighbour interactions. Our model is derived from the cooperative Markov Chain model of Washio et al. (Cell Mol Bioeng 5(1):113-126, 2012), under the assumption of conditional independence of specific sets of events. This physically motivated assumption allows to drastically reduce the number of degrees of freedom, thus resulting in a significantly large computational saving. Indeed, the original Markov Chain model involves a huge number of degrees of freedom (order of [Formula: see text]) and is solved by means of the Monte Carlo method, which notoriously reaches statistical convergence in a slow fashion. With our reduced model, instead, numerical simulations can be carried out by solving a system of ODEs, reducing the computational time by more than 10, 000 times. Moreover, the reduced model is accurate with respect to the original Markov Chain model. We show that the reduced model is capable of reproducing physiological steady-state force-calcium and force-length relationships with the observed asymmetry in apparent cooperativity near the calcium level producing half activation. Finally, we also report good qualitative and quantitative agreement with experimental measurements under dynamic conditions.
Asunto(s)
Modelos Cardiovasculares , Miocitos Cardíacos/citología , Sarcómeros/metabolismo , Fenómenos Biomecánicos , Calcio/metabolismo , Contracción Isométrica , Cadenas de Markov , Análisis Numérico Asistido por Computador , Factores de TiempoRESUMEN
This paper presents our work on a 65k pixel single-photon avalanche diode (SPAD) based imaging sensor realized in a 0.35µm standard CMOS process. At a resolution of 512 by 128 pixels the sensor is read out in 6.4µs to deliver over 150k monochrome frames per second. The individual pixel has a size of 24µm2 and contains the SPAD with a 12T quenching and gating circuitry along with a memory element. The gating signals are distributed across the chip through a balanced tree to minimize the signal skew between the pixels. The array of pixels is row-addressable and data is sent out of the chip on 128 lines in parallel at a frequency of 80MHz. The system is controlled by an FPGA which generates the gating and readout signals and can be used for arbitrary real-time computation on the frames from the sensor. The communication protocol between the camera and a conventional PC is USB2. The active area of the chip is 5% and can be significantly improved with the application of a micro-lens array. A micro-lens array, for use with collimated light, has been designed and its performance is reviewed in the paper. Among other high-speed phenomena the gating circuitry capable of generating illumination periods shorter than 5ns can be used for Fluorescence Lifetime Imaging (FLIM). In order to measure the lifetime of fluorophores excited by a picosecond laser, the sensor's illumination period is synchronized with the excitation laser pulses. A histogram of the photon arrival times relative to the excitation is then constructed by counting the photons arriving during the sensitive time for several positions of the illumination window. The histogram for each pixel is transferred afterwards to a computer where software routines extract the lifetime at each location with an accuracy better than 100ps. We show results for fluorescence lifetime measurements using different fluorophores with lifetimes ranging from 150ps to 5ns.