The present disclosure relates generally to neuromodulator systems and, more particularly, to systems and methods for profiling a subject and neuronavigation that enable real-time determination of electric fields stimulated by an electromagnetic coil and that enable visualization of induced electric fields in the subject resulting in faster and more accurate placement of the coil about the subject.
Transcranial magnetic stimulation (TMS) is a noninvasive neuromodulation technique used for neuroscience and clinical applications, including diagnostic (e.g., motor system biomarkers, pre-surgical mapping) and therapeutic (e.g., major depression disorder, obsessive compulsive disorder, migraines). TMS uses magnetic fields to stimulate nerve cells in the brain of the subject. The magnetic fields are generated by an electromagnetic coil that is placed over the scalp of the subject to induce electric currents in the underlying brain tissue. The magnetic fields are generated by electric pulses applied to and flowing though the electromagnetic coil. The magnetic fields pass through the skull and into the brain. The position of the coil over the scalp of the subject is selected to focus on and target a specific area or site of the brain for stimulation. The target region of the brain is usually determined by the structure or function of the brain estimated using neuroimaging techniques such as functional magnetic resonance imaging (fMRI). The brain target is typically selected on the surface of the brain, which is not visible in the real space. The goal of TMS is to generate sufficiently strong magnetic fields in a specific region of the brain of the patient to stimulate the appropriate brain network based on the diagnostic or therapeutic application. It may be desirable to place the TMS coil in a position selected so that, for example, the target region in the brain has the strongest possible electric field.
The definition and selection of the coil position on the surface of the skull to optimally engage the desired brain target is critical for all applications, but certainly essential for diagnostic and therapeutic clinical uses. In addition, accurate localization of a brain target is critical to reaching optimal treatment response in TMS. Typically, the coil may be positioned over the head based on external landmarks and measurements. Given that TMS is noninvasive, TMS practitioners have traditionally relied on either skull fiducial markers or stereotactic neuronavigation systems that assume the point with the shortest distance from the brain target to the skull is where the coil should be located. However, these techniques do not take into account the impact of tissues between the coil and the brain on the distribution of the magnetic and induced electric fields. This can lead to inaccuracies in positioning the coil and targeting the brain area. Because of complex brain structure, the point on the scalp that is closest to the brain target may not be the optimal position. Moreover, the electric field (E-field) induced in the brain not only depends on the position of the coil but also depends on the orientation of the coil. In addition, the induced E-field is influenced by tissue conductivity boundaries.
Neuronavigation systems and electric field simulation are techniques that are currently used in clinical settings to improve the localization of the brain target in TMS and overcome problems of positioning based on external landmarks. Neuronavigation is a computer assisted system that is used in TMS to ensure that the relative position of the coil and the head in real space matches the position in image space. Neuronavigation technology visualizes the patient's brain based on imaging data, for example, magnetic resonance imaging (MRI) data), in order to navigate and position the coil to target the desired brain structure or region. In addition, neuronavigation systems may be configured to track and monitor the position of the coil (e.g., using an infrared camera(s) in combination with the imaging data) on a reconstruction of the patient's head or brain during the duration of the TMS stimulation session. Neuronavigation systems can track the position of the TMS coil relative to a target or relative to an anatomical area of interest. Some neuronavigation systems may comprise a robotic element (e.g. arm) to position the TMS coil and may determine TMS coil position accordingly, such as by stepper motor feedback or other suitable system or method.
Typically, software is used for E-field simulation to estimate the E-field for a specific coil position and orientation. In some instances, E-field simulation may make use of an approximate model of the head. However, current E-field simulation approaches usually take several minutes to compute the E-field for a specific coil position. If that coil position is not optimal, then a different position needs to be examined. Because of the long estimation time, only a few positions are typically examined in practice, making the selected coil position sub-optimal. In addition, current E-simulation tools are not practical in clinical setting because they are too slow to be integrated with neuronavigation systems to respond to any adjustment of coil position by clinicians in real time. In some cases, faster simulation results may be provided using rough approximations of the head (e.g. a spherical model), but these do not provide anatomically realistic or accurate modelling of the E-field. Moreover, clinicians are not fully informed by neuronavigation systems about the stimulated brain site relative to different coil positions.
It would be desirable to provide a system and method that enables accurate real-time determination of the E-field induced by a TMS coil, and enables, for example, accurate real-time graphical rendering of E-fields stimulated by an electromagnetic coil at multiple position per second.
In accordance with some embodiments of the disclosed subject matter, systems, methods, and media for E-field determination are provided.
In accordance with some embodiments of the disclosed subject matter, an E-field determination system for an electromagnetic coil positioned about a subject having one or more conductivity boundaries, is provided, the system comprising a memory configured to store therein: a predetermined electromagnetic coil E-field map; a predetermined boundary model associated with the subject, wherein the boundary model comprises a model of a surface of a first conductivity boundary of the subject; and a predetermined Magnetic Stimulation Profile (MSP) associated with the subject, wherein the MSP comprises: the incident E-field at a first surface of interest (Ainc) caused by a basis set of magnetic dipoles; and the total E-field at the first surface of interest (Atot) caused by the basis set of magnetic dipoles; and a processor communicatively coupled with the memory and configured to: (a) receive a location information of the electromagnetic coil; (b) align, based on the received location information, the predetermined boundary model with the predetermined electromagnetic coil E-field map; (c) determine the incident E-field (Einc) of the electromagnetic coil at the first surface of interest based on the aligned predetermined electromagnetic coil E-field map and predetermined boundary model; (d) determine basis function coefficients (m) that match the incident E-field (Ainc) of the basis set of magnetic dipoles to the determined incident E-field of the electromagnetic coil (Einc) at the first surface of interest; (e) determine an approximation (Etotd) of the total E-field of the electromagnetic coil at the first surface of interest, wherein: Etotd=Atot{circumflex over (m)}; and (f) output the approximation (Etotd) of the total E-field of the electromagnetic coil at the first surface of interest.
In some embodiments, the system is configured to repeat (b) to (e) for changing location information at least five times in a second.
In some embodiments, the predetermined electromagnetic coil E-field map comprises an interpolating function (Fincg); and determining the incident E-field (Einc) of the electromagnetic coil at the first surface of interest comprises using the interpolating function (Fincg) on the first surface of interest.
In some embodiments, aligning the predetermined boundary model with the predetermined electromagnetic coil E-field map comprises performing transform Tc−1 on the boundary model, wherein:
wherein Rc comprises the three-dimensional rotation matrix and T0 comprises the translation vector from a previous location of the electromagnetic coil to a current location of the electromagnetic coil according to the received location information.
In some embodiments, the basis function coefficients ({circumflex over (m)}) are determined by: {circumflex over (m)}=WEinc, wherein
wherein λ is a regularization parameter.
In some embodiments, the surface of interest comprises a conductivity boundary.
In some embodiments, the basis set of magnetic dipoles comprises a plurality of sets of three orthogonal magnetic dipoles located on a second surface around the model of the surface of the first conductivity boundary.
In some embodiments, the total E-field at the first surface of interest (Atot) caused by the basis set of magnetic dipoles is determined by the summation of the incident E-field at the first surface of interest (Ainc) caused by the basis set of magnetic dipoles and a secondary E-field at the first surface of interest (AS) caused by a charge accumulation.
In some embodiments, the secondary E-field at the first surface of interest (AS) is determined according to a Boundary Element Method utilizing Fast Multilevel Multipole (BEM-FMM).
In some embodiments, the MSP comprises: the incident E-field at a plurality of surfaces of interest (Āinc) caused by the basis set of magnetic dipoles, wherein Ainc is a subset of Āinc; and the total E-field at a plurality of surfaces of interest (Ātot) caused by the basis set of magnetic dipoles, wherein Atot is a subset of Ātot.
In accordance with some embodiments of the disclosed subject matter, a method for E-field determination for an electromagnetic coil positioned about a subject having one or more conductivity boundaries, is provided, the method comprising: (a) retrieving, from a memory: a predetermined electromagnetic coil E-field map; a predetermined boundary model associated with the subject, wherein the boundary model comprises a model of a surface of a first conductivity boundary of the subject; and a predetermined Magnetic Stimulation Profile (MSP) associated with the subject, wherein the MSP comprises: the incident E-field at a first surface of interest (Ainc) caused by a basis set of magnetic dipoles; and the total E-field at the first surface of interest (Atot) caused by the basis set of magnetic dipoles; (b) receiving, using a processor, a location information of the electromagnetic coil; (c) aligning, using the processor and based on the received location information, the predetermined boundary model with the predetermined electromagnetic coil E-field map; (d) determining, using the processor, the incident E-field (Einc) of the electromagnetic coil at the first surface of interest based on the aligned predetermined electromagnetic coil E-field map and predetermined boundary model; (e) determining, using the processor, basis function coefficients ({circumflex over (m)}) that match the predetermined incident E-field at the first surface of interest (Ainc) to the determined incident E-field of the electromagnetic coil (Einc) at the first surface of interest; (f) determining, using the processor, an approximation (Etotd) of the total E-field of the electromagnetic coil at the first surface of interest, wherein: Etotd=Atot{circumflex over (m)}; and (f) outputting the approximation (Etotd) of the total E-field of the electromagnetic coil at the first surface of interest.
In some embodiments, the method further comprises repeating (c) to (f) for changing location information at least five times in a second.
In some embodiments, the predetermined electromagnetic coil E-field map comprises an interpolating function (Fincg); and determining the incident E-field (Einc) of the electromagnetic coil at the first surface of interest comprises using the interpolating function (Fincg) on the first surface of interest.
In some embodiments, aligning the predetermined boundary model with the predetermined electromagnetic coil E-field map comprises performing transform Tc−1 on the boundary model, wherein:
wherein Rc comprises the three-dimensional rotation matrix and T comprises the translation vector from a previous location of the electromagnetic coil to a current location of the electromagnetic coil according to the received location information.
In some embodiments, determining the basis function coefficients ({circumflex over (m)}) comprises: {circumflex over (m)}=WEinc, wherein W=(AincTAinc+λ2I)−1AincT, wherein λ is a regularization parameter.
In some embodiments, the basis set of magnetic dipoles comprises a plurality of sets of three orthogonal magnetic dipoles located on a second surface around the model of the surface of the first conductivity boundary.
In some embodiments, the predetermined total E-field at the first surface of interest (Atot) caused by the basis set of magnetic dipoles is determined by the summation of the predetermined incident E-field at the first surface of interest (Ainc) caused by the basis set of magnetic dipoles and a predetermined secondary E-field at the first surface of interest (AS) caused by a charge accumulation.
In some embodiments, the predetermined secondary E-field at the first surface of interest (AS) is determined according to a Boundary Element Method utilizing Fast Multilevel Multipole (BEM-FMM).
In some embodiments, the MSP comprises: the incident E-field at a plurality of surfaces of interest (Āinc) caused by the basis set of magnetic dipoles, wherein Ainc is a subset of Āinc; and the total E-field at a plurality of surfaces of interest (Ātot) caused by the basis set of magnetic dipoles, wherein Atot is a subset of Ātot.
In accordance with some embodiments of the disclosed subject matter, a system for positioning an electromagnetic coil about a subject, is provided, the system comprising: a memory having stored therein: a predetermined electromagnetic coil E-field map; a predetermined boundary model associated with the subject, wherein the boundary model comprises a model of a surface of a first conductivity boundary of the subject: a predetermined Magnetic Stimulation Profile (MSP) associated with the subject; a processor communicatively coupled with the memory and configured to: (a) receive a location information of the electromagnetic coil; (b) align, based on the received location information, the predetermined boundary model with the predetermined electromagnetic coil E-field map; (c) determine an incident E-field (Einc) of the electromagnetic coil at the first surface of interest based on the aligned predetermined electromagnetic coil E-field map and predetermined boundary model; (d) determine an approximation (Etotd) of the total E-field of the electromagnetic coil at the first surface using the MSP and the incident E-field; and (e) generate a report indicating (Etotd) of the total E-field of the electromagnetic coil at the first surface of interest.
The present disclosure will hereafter be described with reference to the accompanying drawings, wherein like reference numerals denote like elements.
The present disclosure describes systems and methods for integrating electric field (E-field) simulation (also referred to herein as E-field “determination”) with neuronavigation to improve targeting of brain regions for neuromodulation techniques such as, for example, transcranial magnetic stimulation (TMS). In some embodiments, integrated E-field simulation and neuronavigation system(s) according to the present disclosure may be used to generate a graphical rendering of electric fields for a coil position which, for example, enables the visualization of the electric field in the brain in real time after adjusting the coil position. Correct position and orientation of the coil can be, for example, important for treatment planning for a neuromodulation technique such as TMS and can improve the accuracy of diagnostic applications. Advantageously, the E-field determination may be performed using a pre-calculated (predetermined) Magnetic Stimulation Profile (MSP) unique to each subject which allows for ultra-fast computation and rendering of E-fields that are generated (induced) when the brain is stimulated using an electromagnetic coil (e.g., a TMS coil). In addition, the disclosed systems and methods for integrating E-field simulation and neuronavigation can also advantageously be used to provide real time (e.g. several times a second) determination of the induced E-field as an electromagnetic coil is moved about the subject, providing real time feedback to the neuronavigation system and/or an operator of the electromagnetic coil to allow accurate targeting of stimulation.
The electromagnetic coil 108 is positioned about (e.g. proximate to and over) the head, for example, the scalp 118, of a subject 112. The electromagnetic coil 108 may be insulated using known methods and materials. In some embodiments, the coil 108 may be positioned and held in place over the scalp 118 by an operator or using a mechanical arm (not shown). The position of the coil 108 over the scalp 118 is selected to target and stimulate a specific area of the brain (e.g., a region, site or target in the brain). Accordingly, the coil 108 may be positioned over the region to be stimulated in the brain. Signal generator 106 is configured to generate and deliver electrical signals (e.g., electric current or voltage signals) to the coil 108. The electric signal delivered from the signal generator 106 and flowing through the coil 108 generates a time-varying magnetic field 114. The time-varying magnetic field 114 (e.g., magnetic pulses) passes through the skull 110 and into the brain 120 of the subject 112 and causes or induces electrical currents 116 and electric fields that stimulate nerve cells in the targeted brain region. Different coil types may be used for coil 108 to elicit different magnetic field patterns. The strength and distribution of the time-varying magnetic fields 114 may be dependent on both the geometry (e.g. number of coils, coil size, etc.) and the amount of current traveling through the coil 108.
The induced electric current and electric field 116 may also be dependent on variables unique to individual subjects such as the geometry and electrical properties of anatomies in and around the brain. For example, the induced electric current and E-field 116 may be influenced by tissue conductivity boundaries, such as the skin/scalp, skull, cerebro-spinal fluid (CSF), grey matter (GM), and white matter (WM). The conductivity may be assumed to be homogeneous within each tissue compartment defined by the boundary surfaces.
In some embodiments, the signals generated by the signal generator 106 and provided to the coil 108 may be in the form of a pulse sequence having a plurality of pulses. In some embodiments, the pulse frequency may be up to 10 kHz. The power, amplitude, duration, shape, and frequency of the pulses may be selected to achieve a desired level of or depth of stimulation, as well as to optimize heat or magnetic forces induced in the coil 108. An operator may select the specific type and characteristics of the electric pulses to be generated by the signal generator 106 using an input 102 coupled to the controller 104. The input 103 can be, for example, a keyboard, a mouse, a touch screen, etc. While the following description will be discussed in referenced to a TMS system and a TMS coil, it should be understood that the systems and methods described herein may be used with other types of non-invasive neuromodulation systems or other types of electromagnetic stimulation, and the systems and methods described herein may be used on subjects having one or more conductivity boundaries and not limited to the head of an individual human.
The E-field determination module 204 is configured to generate an approximation (also referred to as an estimation or simulation) of the E-fields that may be generated by stimulation of a subject using a TMS coil. The subject may comprise a head, including brain. As discussed further below, the E-field determination module 204 may be configured to generate an E-field simulation based on a plurality of inputs 210 including, but not limited to, a position and orientation of a TMS coil and an electric field map of the TMS coil. In some embodiments, the inputs 210 may comprise neuroimaging data (such as multimodal neuroimaging) associated with a subject being treated with a TMS system, a pre-calculated (also referred to as predetermined) boundary model associated with the subject as discussed further below, and/or a pre-calculated (also referred to as predetermined) Magnetic Stimulation Profile (MSP) associated with the subject as discussed further below. The input 210 may be provided by an operator (e.g., by using an input such as a keyboard, a mouse, a touch screen, etc.) or may be retrieved from data storage (or memory) 212.
The E-field determination module 204 may comprise any suitable hardware and/or software. The E-field determination module 204 may comprise the same or different hardware as the neuronavigation system 202. For example, the E-field determination module 204 may comprise a computer programmed to perform specific methods. The E-field determination module 204 may be coupled to a graphical rendering module 206 and/or data storage 212. In some embodiments, the neuronavigation system 202 provides a current position and orientation of a TMS coil to the E-field determination module 204 which estimates the E-fields for the current position and orientation. The estimated E-fields can then be provided to and used by the graphical rendering module 206 to generate a graphical rendering of the estimated E-fields. Known methods may be used to generate the graphical rendering of the estimated E-fields. In an embodiment, the E-field determination module 204 and the graphical rendering module 206 may be implemented on a graphics processing unit (GPU) (e.g., GPU 808 shown in
Conventional E-field simulation approaches are typically too slow for a clinical setting and are limited to determining the E-field for a specific brain region. Advantageously, in the present disclosure, the E-field simulation may be performed using the E-field determination module 204 using a MSP that allows for ultra-fast computation and rendering of E-fields that may be generated when the brain is stimulated using an electromagnetic coil (e.g., a TMS coil). In addition, the E-field determination module 204 can be configured to generate a global electric field estimation for a neuromodulation technique such as TMS. Accordingly, the E-field determination module 204 may be configured to estimate the E-field for the whole-brain of a subject for any coil position and orientation, or for one or more conductive boundaries of the subject. For example, in some embodiments, the E-field determination module 204 may be configured to determine the E-field of a region of interest, which may comprise a conductivity boundary or other surface such as a planar two-dimensional (2D) slice or other part of the 3D brain volume, at a rate of at least 5 times per second (5 Hz), and in some embodiments at least 10-15 times per second (10-15 Hz), for a particular coil position and orientation. In some embodiments, the E-field determination module 204 generates an estimated E-field for a selected region of the brain of the subject.
In some embodiments, the E-field determination module 204 may generate an estimation of the E-fields for a coil orientation and position based on inputs including an electric field map (EFM) for the type of electromagnetic coil being used in the TMS system and neuroimaging data associated with the subject and/or a boundary model of the subject. Electric field maps can be different for different types of TMS coils. The multimodal neuroimaging data may include, for example, anisotropic conductivity of the brain tissue of the subject and tissue segmentation obtained using anatomical MRI. Anisotropic conductivity of brain tissue may be determined using, for example, diffusion magnetic resonance imaging (MRI). A boundary model is described further below.
Various aspects of the integrated TMS system 200 may be implemented with one or more computer systems. For example, the neuronavigation system 202 may comprise a computer system as described above, and the E-field determination module 204 may comprise a computer system. In some embodiments, the neuronavigation system 202 and E-field determination module 204 may be implemented on the same computer system. In some embodiments, the neuronavigation system 202 and E-field determination module 204 may be implemented on different computer systems.
Data, such as data acquired with an imaging system (e.g., a CT imaging system, a magnetic resonance imaging (MRI) system, etc.), MSP, EFM, boundary model, or the like, may be provided to the computer system 300 from a data storage device 316, and these data are received in a processing unit 302. In some embodiment, the processing unit 302 includes one or more processors. For example, the processing unit 302 may include one or more of a digital signal processor (DSP) 304, a microprocessor unit (MPU) 306, and/or a graphics processing unit (GPU) 308. The processing unit 302 also includes a data acquisition unit 310 that is configured to electronically receive data to be processed. The DSP 304, MPU 306, GPU 308, and data acquisition unit 310 may be coupled to a communication bus 312. The communication bus 312 may comprise, for example, a group of wires, routing on a semiconductor die, hardware used for switching data between the peripherals or between any components in the processing unit 302, and the like.
The processing unit 302 may also include a communication port 314 in electronic communication with other devices, which may include a storage device 316, a display 318, and one or more input devices 320. Examples of an input device 320 include, but are not limited to, a keyboard, a mouse, and a touch screen through which a user can provide an input. The storage device 316 may be configured to store data, which may include data such as, for example, electric field maps of different types of electromagnetic coils, multimodal neuroimaging data, imaging data, MSP of a subject, boundary model of a subject, etc., whether these data are provided to, retrieved by, or processed by, the processing unit 302. The display 318 may be used to display images and other information, such as magnetic resonance images, E-field information, patient health data, and so on.
The processing unit 302 can also be in electronic communication with a network 322 to transmit and receive data and other information. The communication port 314 can also be coupled to the processing unit 302 through a switched central resource, for example the communication bus 312. The processing unit can also include temporary storage 324 and a display controller 326. The temporary storage 324 is configured to store temporary information. For example, the temporary storage 324 can be a random access memory.
The memories described herein may be of any suitable type, such as volatile or non-volatile, local or remote (cloud, networked, etc.), and may comprise multiple memories of any suitable combination. The memory may be configured to be large enough to store relevant information, such as the boundary model, MSP, EFM, and/or program code configured to perform the methods described herein.
Computer-executable instructions for real-time E-field estimation, EFM determination, MSP determination, boundary model determination, real-time graphical rendering of electric fields stimulated by an electromagnetic coil, and the like according to the methods described herein may be stored on a form of computer readable media. Computer readable media includes volatile and nonvolatile, removable, and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer readable media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable ROM (EEPROM), flash memory or other memory technology, compact disk ROM (CD-ROM), digital volatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired instructions and which may be accessed by a system (e.g., a computer), including by internet or other computer network form of access.
As mentioned above, the integrated TMS system 200 (shown in
At block 508, the E-field determination module 204 generates an estimation or prediction of electric fields that may be generated, for example on a surface of interest, when the subject's brain is stimulated using the coil. As discussed above, the determination of the estimated electric fields may be based on the inputs including the detected coil position and orientation 420, the EFM 422 of the coil, and the MSP 426 and boundary model 424 associated with the subject. In some embodiments, the E-field determination module 204 generates an estimated E-field for the whole brain of the subject. In some embodiments, the E-field determination module 204 generates an estimated E-field for a selected region of the brain of the subject. At block 510, a graphical rendering module 206 is used to generate a graphical rendering of the simulated E-fields. The graphical rendering may be generated using rendering methods known in the art. In an embodiment, the E-field determination module 204 and the graphical rendering module 206 may be implemented on a graphics processing unit (GPU) (e.g., GPU 808 shown in
Advantageously, the E-field determination module 204 and graphics rendering module 206 may be used to visualize the electric field in real-time after an operator adjusts the position of the coil (or after the position is adjusted automatically by the neuronavigation system 202). Once the coil position and orientation are changed by an operator (and detected 504 by the neuronavigation system 202), the estimated E-field may also be adjusted in real-time to provide information about the actual stimulation of the brain with the new coil position and orientation. In some embodiments, integrated TMS system 200 may be configured to repeat 514 the steps of position detection 504 through E-field determination 508 several times a second, for example at least 5 times a second, and in some embodiments at least 10 or 15 times a second. Advantageously, the E-field determination module 204 may be configured to estimate the E-field (e.g., E-field of a whole brain or a region of interest) within 200 ms or less for a particular coil position and orientation, and in some embodiments within 100 ms or less for a particular coil position and orientation.
An electric field map (EFM) for an electromagnetic coil comprises a characterization (or model) the incident E-field caused by the coil. In some embodiments, EFM may comprise a three-dimensional (3D) characterization of coil's incident E-field. The EFM may be pre-calculated (predetermined) in any suitable manner. Referring to
Using the approach described above, E-field maps (EFM) of any number of electromagnetic coils-whether different manufacturers, coil configurations, size, etc.—may be determined and stored (e.g., in data storage 212) for later use by the E-field determination module 204. In this way, a library of coil EFM's can be provided. Advantageously, each coil EFM only need be calculated once, and can be calculated prior to use by the E-field determination module 204.
The boundary model 424 may comprise a characterization (or model) of the conductivity boundaries within a subject. In some embodiments, the boundary model 424 may comprise conductivity compartments that are nested and non-intersecting, and the conductivity boundaries may be closed manifolds that are topologically equivalent to a sphere. In some embodiments, the boundary model 424 may comprise a volume conductor model, for example of the subject's head. The conductivity boundaries may be defined by surfaces separating different conductivity regions within the subject, and determining the boundary model 424 may comprise generating surface meshes using neuroimaging data. Neuroimaging data 424 may be, for example, neuroimaging data of a subject's head and brain (e.g., functional and structural information) acquired using a plurality of different modalities including, for example, MRI (e.g., functional MRI (fMRI)), positron emission tomography (PET), computed tomography (CT), electroencephalography (EEG), magnetoencephalography (MEG), and near-infrared spectroscopy (NIRS). In some embodiments, the neuroimaging data includes anisotropic conductivity of brain tissue of the subject acquired using MRI. In an embodiment, the multimodal neuroimaging data may include combinations of data sets acquired using different modalities.
Conductivity boundaries may comprise, for example, the skin/scalp (e.g., outer surface of scalp), skull (e.g., boundary between skull and skin), cerebro-spinal fluid (e.g., boundary between CSF volume and skull volume), grey matter (e.g., boundary between GM volume and CSF volume), and white matter (e.g., boundary between WM volume and GM volume). Existing tools can be used to perform brain segmentation and surface analysis to create a model of the intracranial region. To produce accurate surfaces of the extracranial conductivity compartments (skull, skin/scalp) with rigorously defined geometric and topological properties, the method described below may be used.
The boundary model generation process 700 may further comprise generating the intracranial model 712, as described above. The generation of the intracranial model 712 may occur separately from the creation of the extracranial model. The generation of the intracranial model 712 may occur before, after, or during any of the other steps of method 700 described above. The model generation process 700 may further comprise combining the intracranial model with the extracranial model to create a boundary model 424.
The total E-field in the subject (induced by the coil) may comprise the combination of the incident E-field from the TMS coil and a secondary E-field caused by charge accumulation at the conductivity boundaries and has the general form E=−∂A/∂t−∇Φ. Conductivity may be assumed to be homogeneous within each tissue compartment defined by the boundary surfaces. For biological tissue with relatively low conductivities, the first term Einc=−∂A/∂t or corresponds to the primary field induced by the coil, and the second term ES=−∇Φ corresponds to the secondary field caused by charge accumulation. The primary and secondary E-fields are coupled through the condition of volumetric quasi-neutrality (∇·J=∇·(σE)=0) and the secondary field is generated by charge accumulation at the conductivity boundaries to render the normal component of the current continuous. The total E-field may be solved by known methods, but previous methods are either too slow or too inaccurate to provide a real-time determination of the total E-field induced by an electromagnetic coil for neuroscience and clinical applications.
In some embodiments, the secondary E-field ES may be solved using a Boundary Element Method utilizing Fast Multilevel Multipole (BEM-FMM). The BEM-FMM method operates directly with electric charges. The surfaces S of all conductivity boundaries may be discretized into N small planar triangles ti, i=1, . . . , N with centers ci, i=1, . . . , N, outer normal vectors of every manifold or non-manifold tissue shell ni, i=1, . . . , N, and triangle areas Ai, i=1, . . . , N. The outer normal vectors may be predefined. In some embodiments, the discretization of each boundary may be done separately, and may then be concatenated to one “list” of planar triangles to facilitate computation. Each conductivity boundary may comprise the same or different number of triangles. The unknown surface charge density is constant for every triangle and equal to ρi, i=1, . . . , N. Purely parametric time dependence is eliminated by separation of variables. The formulation results in a system of linear equations for unknown induced charges at the boundaries that is solved iteratively. For the nth iteration:
According to some embodiments of the present technology, a stationary basis set may be used to approximate arbitrary surface current distributions. The incident E-field of a moving coil can be matched with a weighted sum of the incident fields of stationary sources (basis set). Matching the incident E-field of the moving coil to the weighted sum of the incident E-fields of the stationary sources will result in the total E-fields (of the coil and of the basis set) being identical, because the solution is determined by the incident E-field and tissue conductivity boundaries (see Eqs. (1) and (2)).
Referring to
In some embodiments, each column of Āinc may correspond to the incident field from a dipole computed at the conductivity boundary surfaces. In some embodiments, Āinc may comprise values for all conductivity boundaries (or a selection of the conductivity boundaries). For example, each column of Āinc may contain the incident E-fields of one dipole determined at all (or a selection) of the conductivity boundaries. The incident field of a dipole may be a vector having three Cartesian components ((Ex, Ey, Ez)), and all three components may be concatenated. In an embodiment, for a total of N dipole locations and a total of M total surface triangle elements, the size of Āinc would be M×3N.
In accordance with the above, in some embodiments the incident fields of the dipole basis vector with unit amplitude are computed for the locations of the dipoles and assembled in the matrix Āinc. The magnetic dipoles 1010 are equivalent to small fictitious current loops. For each dipole, a unit of current Ampere/second can be assigned as it is the current rate-of-change that determines the E-field that is also in the units of V/m. The values of the dipole amplitudes can be normalized in any suitable manner.
The incident E-field of each dipole may be determined 1104 by any suitable method. In some embodiments, the incident E-field of each dipole may be calculated using a Fast Multilevel Multipole method. The total E-field of each dipole comprises the combination of the incident E-field of the dipole and the secondary E-field caused by induced charges, as described above. Calculating the total E-field 1106 may comprise any suitable method for calculating the secondary E-fields, for example the BEM-FMM method as described above with respect to Eqs. (1) and (2). In some embodiments, the MSP may comprise the determined secondary E-fields instead of or in addition to the total E-fields. In embodiments where the MSP comprises secondary E-fields, the total E-fields may be determined by combining the induced and secondary E-fields, which may be pre-calculated or done in real-time. In some embodiments, the MSP may comprise the pseudo-inverse of the dipole basis set (W, described in more detail below) instead of or in addition to the incident E-fields for all dipoles on the one or more conductive boundaries.
Any suitable number of dipoles may be used for the dipole basis set, for example 1500 dipoles (three orthogonal dipoles at 500 locations on the dipole surface), 3000 dipoles (three orthogonal dipoles at 1000 locations on the dipole surface), 4500 dipoles (three orthogonal dipoles at 1500 locations on the dipole surface), and the like. Increasing the number of dipoles can reduce the numerical errors but requires more computation time. A smaller dipole basis set can increase numerical instability on matching E-fields. In some embodiments, the dipole basis set may comprise about 200 to about 2500 dipole locations (about 600 to about 7500 total dipoles). In some embodiments, the dipole basis set may comprise about 500 to about 1000 dipole locations (about 1500 to about 3000 total dipoles), which may achieve both accurate E-field estimation and computational efficiency. One dipole solution may take several seconds to calculate and calculating the entire MSP may take several hours. For example, using a current-generation computer server, it may take approximately 20 seconds to calculate a single dipole solution and approximately 18 hours to calculate the entire MSP for 3000 dipoles in the basis set. Advantageously, the MSP is independent of the electromagnetic coil geometry, need only be calculated once per subject, and can be calculated prior to use by the E-field determination module 204. For example, the MSP may be pre-calculated (predetermined) prior to use in a neuroscience or clinical setting (e.g., prior to application of TMS). By way of non-limiting example, a predetermined MSP for a model having 750,000 elements total (all surfaces) and 1000 dipole locations (3000 dipole basis functions), wherein the MSP comprises the pseudo-inverse of the dipole basis set (W) and Ātot, may take approximately 35 GB of memory.
In some embodiments, linear combinations of dipoles can be used as basis functions. In some embodiments, any complete set of surface or volume current distributions may be used as a basis set. For example, this may correspond to changing from one basis set to another by means of a linear (matrix) transformation.
In some embodiments, the incident E-field of the electromagnetic coil is matched to the E-field of the dipole basis set. As noted above, matching the incident E-field of the electromagnetic coil to the incident E-field of the dipole basis set will result in the total E-fields being the same. For arbitrary dipole amplitudes m the incident field at any surface of interest is given by:
Given an incident field pattern Einc of the electromagnetic coil that is a vector defined at each location of the surface of interest (or “matching surface”), basis coefficients ({circumflex over (m)}) can be found to match Ainc to Einc. Any suitable method may be used to determine the basis coefficients ({circumflex over (m)}). In some embodiments, basis coefficients may be found as the regularized minimum-norm solution:
The regularization parameter λ may be selected such that it results in a stable estimate: if a small amount of numerical noise is added to the E-field to be matched, the dipole amplitudes should not change significantly. In an example, the regularization parameter may be set to approximately 30% of the total number of dipole basis functions, e.g., the 1000th highest singular value in the matrix Āinc for a total number of 3000 dipole basis functions. In an exemplary embodiment, λ may be selected in the range of about 5e−12 to about 5e−10. Known methods may be used to set the regularization parameter, for example L-curve method, cross-validation, and the like.
The process for pre-calculating inputs 1200 may further comprise pre-calculating the EFM for the electromagnetic coil, which may comprise calculating the incident E-field on grid points and determining an interpolation function Fincg, as described in more detail above. Pre-calculating the EFM 1204 may occur at any time prior to use by the E-field determination module 204, for example before or after either of the steps of determining MSP 1100 or determining the pseudo-inverse 1202. Each of the steps of the pre-calculation process 1200 may be performed at any time prior to use by the E-field determination module 204, for example hours, days, weeks, months, or years prior to such use.
Referring to
Receiving location information 1302 may comprise receiving or otherwise retrieving information indicating the position of the electromagnetic coil. The position information may be received from the neuronavigation system 202, retrieved from memory such as data storage 212, or obtained by any other suitable method. The method for real-time E-field determination 1300 may repeat upon a change of position of the electromagnetic coil.
Aligning 1304 the boundary model 424 and EFM 422 may comprise any suitable method of accurately relating the boundary model 424 and EFM 422 positions, for example in three-dimensional space. Aligning 1304 the boundary model 424 and EFM 422 facilitates calculating the incident E-field of the coil (Einc) at any location in the boundary model 424, based on the location of the coil relative to the subject. For example, the incident E-field may be calculated at a surface of interest as described above.
Referring to
Referring again to
Determining the matching basis functions coefficients 1308 may comprise any suitable method for matching the incident E-field of the dipole basis set on the surface of interest to the determined 1306 incident E-field (Einc) of the coil on the surface of interest. In some embodiments, a set of basis function coefficients may be determined that will make the dipole basis set incident E-field identical (or approximately identical) to the incident E-field of the coil, on the surface of interest. In some embodiment, the basis function coefficients {circumflex over (m)} may be determined using the determined 1202 pseudo-inverse of the dipole basis set W according to Eq. 5 above. The total E-field of the coil on the surface of interest may then be approximated 1310 as:
For further example,
After the total E-field of the coil on the surface of interest is approximated (Etotd) 1310, the approximation may be output 1312. Outputting 1312 the approximated total E-field may comprise storing the approximation in a memory (e.g., data store 212), providing the approximation to the graphical rendering module 206, providing the approximation to the neuronavigation system 202, or any other suitable method of electronically communicating the approximation. In some embodiments, outputting 1312 the approximated total E-field may comprise making the approximated total E-field (Etotd) available at an output of the E-field determination system 204, for example at an output of the processing unit 302, as an electronic data file.
The “linearized” approach described herein eliminates the need for any iterative solver to be applied after the boundary model 424 and MSP 426 of the subject, and EFM of the coil 422, have been determined and allows for real-time visualization of the total E-field of a moving TMS coil on the subject. The approach also decouples the electromagnetic coil model and the MSP, enabling both to be independently pre-calculated, stored, and subsequently linked through incident fields as described above. The systems and methods described herein facilitate real-time approximation of total E-fields on a surface of interest, caused by an electromagnetic coil, with relative maximum error of approximately 5% for E-field amplitude, and spatial distribution patterns having a correlation greater than about 98%. In an exemplary embodiment, on a current-generation server, computation of the total E-field approximation took about 100 ms on a cortical surface mesh with 120,000 triangular elements (also referred to as “facets”).
In some embodiments, increases in computational speed may be obtained by down-sampling the surface meshes. Advantageously, the MSP-basis approach described above allows down-sampling after computing the E-field distributions with high numerical accuracy to avoid accumulation of errors. Further, the E-fields can be re-sampled to be defined on the surface vertices instead of faces (as there are more faces than vertices), resulting in reduced matrix sizes and further reductions in the time needed for the real-time process 1300. The number of dipole basis functions can be also reduced by applying the Singular Value Decomposition (SVD) to Ainc. With this approach, the spatially overlapping local dipole basis functions can be compressed to a smaller number of orthonormal global basis functions comprising of the singular vectors. This significantly reduces the computational cost of calculating the MSP of each subject without losing significant information as the SVD basis set can be constructed prior to determining Atot.
It will be appreciated by those skilled in the art that while the disclosed subject matter has been described above in connection with particular embodiments and examples, the present disclosure and the claims of the present disclosure are not necessarily so limited, and that numerous other embodiments, examples, uses, modifications and departures from the embodiments, examples and uses are intended to be encompassed by the claims attached hereto. The entire disclosure of each patent and publication cited herein is hereby incorporated by reference, as if each such patent or publication were individually incorporated by reference herein.
Various features and advantages of the various aspects presented in the present disclosure are set forth in the following claims.
This application is based on, claims priority to, and incorporates herein by reference in its entirety U.S. Ser. No. 63/150,549 filed Feb. 17, 2021, and entitled “SYSTEM AND METHOD FOR FAST EVALUATION OF TMS INDUCED ELECTRIC FIELDS USING AN INDIVIDUALIZED MAGNETIC STIMULATION PROFILE.”
This invention was made with government support under 1R01MH128421-01, 5R01MH111829-04, and 5P41EB030006-02 awarded by the National Institutes of Health. The government has certain rights in the invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2022/016833 | 2/17/2022 | WO |
Number | Date | Country | |
---|---|---|---|
63150549 | Feb 2021 | US |