A method, apparatus, and medium for simulating biomagnetic field measurements
By considering multiple parameters of the measuring instrument in the biomagnetic field simulation, the problem that traditional methods fail to reflect the influence of the instrument is solved, resulting in more accurate simulation and guidance for improving instrument selection, thus enhancing the practicality of the simulation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PEKING UNIV
- Filing Date
- 2023-03-31
- Publication Date
- 2026-07-03
AI Technical Summary
Existing biomagnetic field simulation methods fail to effectively consider the impact of instrument performance on measurement results, leading to discrepancies between simulation and actual measurement results and hindering guidance for instrument selection and improvement.
By selecting a suitable theoretical model to simulate the biomagnetic field and obtaining the index parameters of the measuring instrument, the biomagnetic field can be simulated to obtain measurement results that are closer to reality. The influence of multiple dimensions of instrument index on the measurement results is considered, including probe shape, size, position, sensitivity, array and arrangement.
It achieves simulations that more closely resemble actual measurement results, enabling the evaluation and guidance of the selection and improvement of measuring instruments, and enhancing the accuracy and practicality of the simulation.
Smart Images

Figure CN116580799B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of biomagnetic field measurement, and in particular to a method, apparatus, and medium for computer simulation of biomagnetic field measurement results. Background Technology
[0002] The measurement of biomagnetic fields has significant value in clinical and scientific research applications. For example, magnetoencephalography (MEG) is of great value in the diagnosis and localization of epilepsy lesions and plays an important role in the study of brain structure and function; magnetocardiography (MCG) is of great value in the early diagnosis of coronary heart disease and plays an important role in the study of heart structure and function; and gastrointestinal magnetocardiography is of great value in the detection of gastrointestinal ischemia and plays an important role in the study of the electrophysiological characteristics of the gastrointestinal tract.
[0003] Simulation of biomagnetic field measurement results plays a crucial role in the development and application of biomagnetic field measurement technology. Researchers can compare biomagnetic fields simulated based on different theoretical models with those obtained through experimental measurements to evaluate the performance of different theoretical models, guide model improvements, and further guide research on biomagnetic field measurement techniques and data analysis methods based on more advanced theoretical models. Furthermore, researchers can compare simulated biomagnetic field measurement results obtained using different measuring instruments to assess the suitability of different instruments, guiding the selection and improvement of measuring instruments.
[0004] To simulate biomagnetic fields, researchers both domestically and internationally have designed and developed various biomagnetic field simulation methods, such as methods based on a cardiac single-current dipole model to simulate the cardiac magnetic field. Existing biomagnetic field simulations focus primarily on simulating the biomagnetic field itself, rarely considering the influence of measuring instruments on the simulation results. They cannot directly apply methods used for processing and analyzing experimental biomagnetic field measurement data to analyze and evaluate the simulation results. Therefore, these biomagnetic field simulation methods are not suitable for evaluating the performance of biomagnetic field measuring instruments or for researching biomagnetic field data analysis and processing methods. Summary of the Invention
[0005] This invention provides a method, device, and medium for simulating biomagnetic field measurement results. It solves the problem that traditional biomagnetic field simulations do not consider the influence of the performance and technical specifications of the measuring instruments on the biomagnetic field measurement results. It can more realistically and directly simulate the results of biomagnetic field measurement using different measuring instruments, and considers the influence of the technical specifications of the measuring instruments on the biomagnetic field measurement results from multiple dimensions.
[0006] A method for simulating biomagnetic field measurement results includes:
[0007] Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field;
[0008] The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is simulated and measured according to the index parameters of the measuring instrument to obtain the simulation measurement results.
[0009] In one embodiment of the present invention, after obtaining the simulated biomagnetic field, the method further includes: acquiring the features of the theoretical model corresponding to the biomagnetic field, and visualizing the theoretical model of the simulated biomagnetic field according to the features to obtain a visualized theoretical model of the simulated biomagnetic field.
[0010] In one embodiment of the present invention, the step of obtaining the features of the theoretical model corresponding to the biomagnetic field and visualizing the theoretical model of the simulated biomagnetic field based on the features specifically includes: generating a two-dimensional or three-dimensional coordinate system based on the features of the theoretical model; and determining a notation representing the theoretical model in the two-dimensional or three-dimensional coordinate system based on the features of the theoretical model, so as to complete the visualization of the theoretical model of the simulated biomagnetic field.
[0011] In one embodiment of the present invention, the theoretical model is a physical model describing a bioelectric source, including but not limited to a current dipole model, a magnetic dipole model, an equivalent monopole model, an equivalent tripolar source model, or a bilayer source model; for the current dipole model or the magnetic dipole model, the method further includes: selecting the coordinates of a point on the mark, and determining the coordinates of the point as the position coordinates of the current dipole or the magnetic dipole; determining the orientation of the mark as the orientation of the current dipole or the magnetic dipole; and determining the size of the mark as the size of the current dipole or the magnetic dipole.
[0012] In one embodiment of the present invention, the step of acquiring the index parameters of the measuring instrument and performing a simulated measurement of the simulated biomagnetic field based on the index parameters of the measuring instrument to obtain a simulated measurement result specifically includes: acquiring the distribution of the simulated biomagnetic field in the effective measurement area and the index parameters of the measuring instrument; calculating the weighted average value of the simulated biomagnetic field in the effective measurement area based on the distribution of the simulated biomagnetic field; and determining the simulated measurement result based on the weighted average value.
[0013] In one embodiment of the present invention, the step of calculating the weighted average value of the simulated biomagnetic field in the effective measurement area based on the biomagnetic field distribution specifically includes: obtaining the integral of the product of the biomagnetic field and the weighting factor in the effective measurement area based on the magnetic field distribution; dividing the integral by the volume of the effective measurement area to obtain the weighted average value of the biomagnetic field in the effective measurement area; or uniformly selecting points in the effective measurement area to obtain the magnetic field at each point; calculating the average value of the product of the magnetic field at all points and the weighting factor based on the magnetic field at each point, and approximating the average value of the product of the magnetic field at all points and the weighting factor as the weighted average value of the biomagnetic field in the effective measurement area.
[0014] In one embodiment of the present invention, determining the simulated measurement result based on the weighted average value specifically includes: determining the weighted average value as the simulated measurement result; or determining the simulated measurement result by superimposing random noise on the weighted average value.
[0015] In one embodiment of the present invention, after obtaining the simulated measurement results, the method further includes: acquiring first matrix data collected by an array of probes of a preset number of the simulated measuring instruments; interpolating the first matrix data to generate second matrix data; and generating a two-dimensional heat map based on the second matrix data to visualize the simulated measurement results.
[0016] A device for simulating biomagnetic field measurement results includes:
[0017] At least one processor; and,
[0018] The memory is connected to the at least one processor via a bus; wherein,
[0019] The memory stores instructions executable by the at least one processor, which are executed to perform:
[0020] Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field;
[0021] The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is simulated and measured according to the index parameters of the measuring instrument to obtain the simulation measurement results.
[0022] A non-volatile storage medium storing computer-executable instructions, which are executed by a processor to perform the following steps:
[0023] Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field;
[0024] The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is simulated and measured according to the index parameters of the measuring instrument to obtain the simulation measurement results.
[0025] This invention provides a method, device, and medium for simulating biomagnetic field measurement results, which has at least the following beneficial effects: (1) Traditional biomagnetic field simulation methods focus on simulating the magnetic field itself, which is different from the results obtained by actual measurement using measuring instruments in experiments; while the method for simulating biomagnetic field measurement results proposed in this invention can directly simulate the measurement results obtained by measuring biomagnetic fields using measuring instruments, achieving a simulation that is closer to the actual measurement results, which is beneficial for guiding the design of actual experiments. (2) Traditional biomagnetic field simulation methods cannot examine the influence of various technical indicators of measuring instruments on the measurement results, and cannot guide the selection and improvement of measuring instruments; while the method for simulating biomagnetic field measurement results proposed in this invention can comprehensively consider the influence of the probe shape, probe size, probe position, probe sensitivity, number of probes in the probe array, and arrangement of probes in the probe array on the biomagnetic field measurement results, and can evaluate the performance of different measuring instruments, guiding the selection and improvement of measuring instruments. Attached Figure Description
[0026] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:
[0027] Figure 1 This is a schematic flowchart of a method for simulating biomagnetic field measurement results provided in an embodiment of the present invention;
[0028] Figure 2 This is a schematic diagram of the steps of a method for simulating biomagnetic field measurement results provided in an embodiment of the present invention;
[0029] Figure 3 This is a schematic diagram illustrating the acquisition of biomagnetic field measurement results via a probe of a measuring instrument, as provided in an embodiment of the present invention.
[0030] Figure 4 A schematic diagram showing the effective measurement area of the probe of the measuring instrument provided in an embodiment of the present invention, and the uniform sampling of points within the effective measurement area;
[0031] Figure 5 A two-dimensional heat map representing the results of a visual simulation measurement, provided in an embodiment of the present invention;
[0032] Figure 6 This is a schematic diagram of a device for simulating biomagnetic field measurement results provided in an embodiment of the present invention. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be described clearly and completely below in conjunction with specific embodiments. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0034] It should be noted that those skilled in the art will understand, explicitly and implicitly, that the embodiments described in this invention can be combined with other embodiments without conflict. Unless otherwise defined, the technical or scientific terms used in this invention should be understood in their ordinary sense by those skilled in the art. The terms "a," "an," "an," "the," etc., used in this invention do not indicate quantity limitation and can represent singular or plural. The terms "comprising," "including," "having," and any variations thereof used in this invention are intended to cover non-exclusive inclusion; the terms "first," "second," "third," etc., used in this invention are merely to distinguish similar objects and do not represent a specific ordering of objects.
[0035] This invention provides a method, apparatus, and medium for simulating biomagnetic field measurement results. This method is highly versatile and applicable to simulating the results of measuring biomagnetic fields generated by different organs of different organisms. It directly simulates the results obtained by measuring biomagnetic fields using different measuring instruments, considering the influence of instrument parameters on the simulated biomagnetic field measurement results from multiple dimensions. Figure 1 The flowchart shown is a simulation measurement result of the biomagnetic field of the present invention. By selecting the theoretical model of the biomagnetic field according to the biomagnetic field characteristics to be simulated, the theoretical model of the simulated biomagnetic field is visualized to obtain a visualized theoretical model of the simulated biomagnetic field. The index parameters of the measuring instrument to be simulated are adjusted according to the requirements, the model parameters are simulated and the measuring instrument is used to measure the simulated biomagnetic field, and the biomagnetic field measurement results are visualized to obtain visualized simulation measurement results.
[0036] When simulating biomagnetic field measurement results, an appropriate model is selected to simulate the biomagnetic field based on the required properties. The model is then visualized, and the measurement results are visualized and analyzed using a simulated measuring instrument according to specified index parameters. Detailed explanations follow.
[0037] Figure 2 A schematic diagram illustrating the steps of a method for simulating biomagnetic field measurement results provided in this embodiment of the invention may include the following steps:
[0038] S210: Determine the corresponding theoretical model based on the properties of the biomagnetic field to be simulated and measured, and simulate the biomagnetic field using the theoretical model to obtain the simulated biomagnetic field.
[0039] In one embodiment of the present invention, the theoretical model is a physical model describing a bioelectric source, including but not limited to a current dipole model, a magnetic dipole model, an equivalent monopole model, an equivalent tripole source model, or a bilayer source model.
[0040] In one embodiment of the present invention, the theoretical model may be a randomly generated current dipole model, a randomly generated magnetic dipole model, a fixedly placed current dipole model, a fixedly placed magnetic dipole model, a current dipole model determined by an electrophysiological model, a magnetic dipole model determined by an electrophysiological model, a current dipole model obtained by inversion from experimental data, a magnetic dipole model obtained by inversion from experimental data, or a theoretical model formed by combining the above models.
[0041] Specifically, methods for simulating biological magnetic fields can include randomly generated current dipole models, randomly generated magnetic dipole models, fixedly placed current dipole models, fixedly placed magnetic dipole models, current dipole models determined by electrophysiological models, magnetic dipole models determined by electrophysiological models, current dipole models obtained by inversion from experimental data, magnetic dipole models obtained by inversion from experimental data, or combinations of the above theoretical models.
[0042] When simulating biomagnetic field measurement results, a suitable model should be selected to simulate the biomagnetic field according to the requirements of the biomagnetic field to be measured. The magnetic field distribution B1(r) generated by the current dipole in space is calculated by the following formula.
[0043]
[0044] In the formula A vector representing the intensity of a current dipole. Let r be the vector pointing from the position of the current dipole to the position of the field point. The modulus is μ0, where μ0 is the permeability of free space.
[0045] The magnetic field distribution B2(r) excited in space by a magnetic dipole is calculated by the following formula.
[0046]
[0047] In the formula Let represent the magnetic moment of a magnetic dipole. Let r be the vector pointing from the position of the magnetic dipole to the position of the field point. The modulus is μ0, where μ0 is the permeability of free space.
[0048] In one embodiment of the present invention, the features of the theoretical model corresponding to the biomagnetic field are obtained, and the theoretical model simulating the biomagnetic field is visualized based on the features to obtain a visualized theoretical model simulating the biomagnetic field.
[0049] In one embodiment of the present invention, a two-dimensional or three-dimensional coordinate system is generated based on the characteristics of the theoretical model; and symbols representing the theoretical model are determined in the two-dimensional or three-dimensional coordinate system based on the characteristics of the theoretical model to complete the visualization processing of the theoretical model of the simulated biomagnetic field.
[0050] In one embodiment of the present invention, for the current dipole model or the magnetic dipole model, the coordinates of a point on the symbol are selected, and the coordinates of the point are determined as the position coordinates of the current dipole or the magnetic dipole; the orientation of the symbol is determined as the orientation of the current dipole or the magnetic dipole; and the size of the symbol is determined as the size of the current dipole or the magnetic dipole.
[0051] Specifically, such as Figure 3 As shown, visualizing the simulated biomagnetic field includes generating a three-dimensional coordinate system based on the characteristics of the model. Figure 3 The spatial extent of the coordinate system represents the thoracic cavity. Based on the model's characteristics, symbols in the three-dimensional coordinate system are used to represent current dipoles or magnetic dipoles, and a point on the symbol (e.g., ...) is used. Figure 3 A point with an extended ray represents the position of a current dipole or magnetic dipole. The orientation of the current dipole or magnetic dipole is indicated by the opposite direction of the orientation of the symbol (i.e., the opposite direction of the extension of the ray). The magnitude of the symbol (e.g., ) represents the position of the current dipole or magnetic dipole. Figure 3 The length of the ray at the endpoint (or the thickness of the ray) represents the magnitude of the current intensity of the current dipole or magnetic dipole. When simulating biomagnetic field measurements, the visualization method for the simulated biomagnetic field, based on the characteristics of the model used in simulating the biomagnetic field, visualizes the current dipole or magnetic dipole as symbols in a two-dimensional or three-dimensional coordinate system. Figure 3 The symbol with the longest ray indicates a dipole with a normal signal, while other symbols with rays indicate dipoles with abnormal signals.
[0052] S220: Obtain the index parameters of the measuring instrument, perform simulated measurement of the simulated biomagnetic field based on the index parameters of the measuring instrument, and obtain the simulated measurement results.
[0053] In one embodiment of the present invention, the method involves obtaining the index parameters of a measuring instrument, performing a simulated measurement of a simulated biomagnetic field based on the index parameters of the measuring instrument, and obtaining a simulated measurement result. Specifically, this includes: obtaining the distribution of the simulated biomagnetic field in the effective measurement area and the index parameters of the measuring instrument; calculating the weighted average value of the simulated biomagnetic field in the effective measurement area based on the distribution of the simulated biomagnetic field; and determining the simulated measurement result based on the weighted average value.
[0054] In one embodiment of the present invention, the weighted average value of the simulated biomagnetic field in the effective measurement area is calculated based on the distribution of the biomagnetic field. Specifically, this includes: obtaining the integral of the product of the biomagnetic field and the weighting factor in the effective measurement area based on the magnetic field distribution; dividing the integral by the volume of the effective measurement area to obtain the weighted average value of the biomagnetic field in the effective measurement area; or uniformly selecting points in the effective measurement area to obtain the magnetic field at each point; calculating the average value of the product of the magnetic field at all points and the weighting factor based on the magnetic field at each point, and approximating the average value of the product of the magnetic field at all points and the weighting factor as the weighted average value of the biomagnetic field in the effective measurement area.
[0055] In one embodiment of the present invention, determining the simulated measurement result based on a weighted average value specifically includes: determining the weighted average value as the simulated measurement result; or determining the simulated measurement result by superimposing random noise on the weighted average value.
[0056] Specifically, the method for simulating measuring instruments includes: calculating the weighted average value of biomagnetic fields simulated by a biomagnetic field measurement method in regions of different shapes in three-dimensional space, as the biomagnetic field measurement results of probes (hereinafter referred to as probes) of different shapes; calculating the weighted average value of biomagnetic fields simulated by a biomagnetic field measurement method in regions of different sizes in three-dimensional space, as the biomagnetic field measurement results of probes of different sizes; calculating the weighted average value of biomagnetic fields simulated by a biomagnetic field measurement method in regions at different locations in three-dimensional space, as the biomagnetic field measurement results of probes at different locations in three-dimensional space; calculating the biomagnetic fields simulated by a biomagnetic field simulation method in regions of different shapes in three-dimensional space according to different weight factor distributions, as the biomagnetic field measurement results of probes with different spatial sensitivity distributions; superimposing different noises on the measurement results to simulate the biomagnetic field measurement results of probes with different sensitivities; simultaneously calculating the biomagnetic field measurement results of different numbers of probes, as the biomagnetic field measurement results of probe arrays composed of different numbers of probes; simultaneously calculating the biomagnetic field measurement results of probes with different distributions, as the biomagnetic field measurement results obtained by probe arrays composed of probes with different arrangements or combinations of the above methods. When simulating biomagnetic field measurement results, the magnetic field distribution in three-dimensional space is given by simulating the biomagnetic field. The weighted average value B of the three-dimensional magnetic field can be calculated by integrating the product of the magnetic field and the weighting factor in a specified three-dimensional space and dividing it by the volume of the three-dimensional space, as shown in the following formula:
[0057]
[0058] In the formula, B is the weighted average value calculated after measuring a certain component of the magnetic field using a measuring instrument, which serves as the simulation measurement result; V is the volume of the effective measurement area of the measuring instrument. It is a weighting factor. To measure a component of the magnetic field generated at a specific location within the effective measurement area of the measuring instrument by a current dipole or magnetic dipole at that location, the vector pointing from the position of the current dipole or magnetic dipole to that location is:
[0059] Alternatively, by uniformly selecting points within the effective measurement area, calculating the magnetic field at each point, and then calculating the average magnetic field value B across all points, this average value can be approximated as the average magnetic field value. Specifically, this can be calculated using the following formula:
[0060]
[0061] In the formula, B is the weighted average value calculated after measuring a certain component of the magnetic field using a measuring instrument, which is used as the simulation measurement result; n is the number of points uniformly selected within the effective measurement area of the measuring instrument. It is a weighting factor. Let be a component of the magnetic field generated by a current dipole or magnetic dipole at the i-th point within the effective measurement area of the measuring instrument, and let be the vector pointing from the position of the current dipole or magnetic dipole to that position.
[0062] In one embodiment of the present invention, after obtaining the simulated measurement results, the simulated measurement results are visualized based on a visible biomagnetic field to obtain visualized simulated measurement results.
[0063] Specifically, the system acquires first matrix data collected by an array of probes from a preset number of analog measuring instruments, interpolates the first matrix data to generate second matrix data, and generates a two-dimensional heat map based on the second matrix data to visualize the analog measurement results.
[0064] Methods for visualizing simulation results include: outputting a weighted average value obtained from measuring the simulated biomagnetic field using a simulated probe, and representing this average value as the color of a 2D heatmap and the color and height of a 3D histogram; outputting a matrix composed of the average values obtained from measuring the biomagnetic field using an array of simulated probes, and representing this matrix as the color of a 2D heatmap and the color and height of a 3D histogram; interpolating this matrix to generate a matrix of a specified size, and representing the interpolated matrix as the color of the 2D heatmap and the color and height of the 3D histogram; or combining the above methods to obtain the color of the 2D heatmap and the color and height of the 3D histogram. When simulating biomagnetic field measurement results, the simulation measurement results output by the simulation measuring instrument are visualized as numerical values or images.
[0065] In one embodiment of the present invention, such as Figure 3 and Figure 4 As shown, the simulation uses a cube with an effective measurement area of 5 mm edge length (e.g., Figure 4 The weighting factors of the 36 probes (as shown) are the same everywhere in the effective measurement area. Figure 3 An array of 36 probes (without extended rays and arranged neatly) was used to measure the biomagnetic field generated by healthy and diseased hearts at a distance of 20 mm from the heart. Figure 4 The circled point indicates the location of any one of the 36 probes, and the area inside the cube represents the effective measurement area that the probe can detect.
[0066] The simulated biomagnetic field uses fixed current dipoles to mimic the biomagnetic field generated by a healthy heart. The fixed current dipoles are positioned at (120mm, 120mm, 0), have a current intensity of 10 units, and are spatially oriented at (1, 0, 0). To simulate the abnormal cardiac magnetic field caused by different degrees of cardiac lesions distributed in different locations of the heart, the number of randomly generated current dipoles is an integer randomly generated within the interval (0, 10]. The x-axis coordinate of each randomly generated current dipole is a value randomly generated within the interval (100mm, 140mm), the y-axis coordinate is a value randomly generated within the interval (-20mm, 20mm), and the z-axis coordinate is a value randomly generated within the interval (-10mm, 10mm). The size is a value randomly generated within the range [0, 1] units of current intensity, and the spatial orientation is completely random.
[0067] The visualization of the simulated biomagnetic field is achieved by drawing a three-dimensional coordinate system. The dots in the coordinate system indicate the position of the current dipole, the opposite direction of the extension of the rays emanating from the dots indicates the orientation of the current dipole, and the length of the rays indicates the current intensity of the current dipole.
[0068] The simulation measurement instrument calculates the simulation measurement results by combining the average value of the magnetic field within the actual effective measurement area of the instrument's probe with superimposed random noise. The simulation measurement results include 36 probes (e.g., Figure 3 The simulated measurement results of each probe in a set of neatly arranged points (without rays), where probe i is numbered from 1 to 36, and the effective measurement area of probe i is a cube of 5mm × 5mm × 5mm (e.g., ...). Figure 4 As shown in the figure, the effective measurement area of probe numbered is composed of
[0069] (((i+5) / / 6)*20mm-2.5mm,(i%6)*20mm-2.5mm,20mm),
[0070] (((i+5) / / 6)*20mm+2.5mm,(i%6)*20mm-2.5mm,20mm),
[0071] (((i+5) / / 6)*20mm+2.5mm,(i%6)*20mm+2.5mm,20mm),
[0072] (((i+5) / / 6)*20mm-2.5mm,(i%6)*20mm+2.5mm,20mm),
[0073] (((i+5) / / 6)*20mm-2.5mm,(i%6)*20mm-2.5mm,25mm),
[0074] (((i+5) / / 6)*20mm+2.5mm,(i%6)*20mm-2.5mm,25mm),
[0075] (((i+5) / / 6)*20mm+2.5mm,(i%6)*20mm+2.5mm,25mm),
[0076] (((i+5) / / 6)*20mm-2.5mm,(i%6)*20mm+2.5mm,25mm)
[0077] A cube defined by 8 vertices, where " / / " indicates division and "*" indicates multiplication. The position coordinates of probe number i are defined as the coordinates of the center point of the bottom surface of the effective measurement area. Figure 4 (The center point circled in the middle)
[0078] (((i+5) / / 6)*20mm,(i%6)*20mm,20mm).
[0079] The method for calculating the average magnetic field value within the effective measurement area of probe number i is to calculate the x-axis coordinates as follows:
[0080] {((i+5) / / 6)*20mm-2mm,
[0081] ((i+5) / / 6)*20mm-1mm,
[0082] ((i+5) / / 6)*20mm-0mm,
[0083] ((i+5) / / 6)*20mm+1mm,
[0084] ((i+5) / / 6)*20mm+2mm}
[0085] One of the sets;
[0086] y-axis coordinate is
[0087] {((i+5) / / 6)*20mm-2mm,
[0088] ((i+5) / / 6)*20mm-1mm,
[0089] ((i+5) / / 6)*20mm-0mm,
[0090] ((i+5) / / 6)*20mm+1mm,
[0091] ((i+5) / / 6)*20mm+2mm}
[0092] One of the sets;
[0093] The z-axis coordinate is
[0094] 20mm,
[0095] 21mm,
[0096] 22mm,
[0097] 23mm,
[0098] 24mm,
[0099] 25mm}
[0100] One of the sets contains the magnetic field values at a total of 5×5×6=150 points. The average value of the magnetic field at these 150 points is calculated. The method of superimposing random noise is to randomly add a Gaussian distributed value within a preset range to the noise-free simulated measurement result. The mean value of the noise can be determined according to the index parameters of the measuring instrument to be simulated, and the preset range can be defined according to actual needs.
[0101] For example, by superimposing a set of values following a normal distribution with a mean of 0 and a standard deviation of 1 / 250 onto the measurement results of a noise-free probe, and considering that the effective detection area of the probe is a cube with a side length of 5 mm, the probe array is positioned 20 mm from the plane of the main dipole, the fixed current dipole has coordinates of (120 mm, 120 mm, 0), a current intensity of 10 units, and a spatial orientation of (1, 0, 0), the simulated measurement signal-to-noise ratio is approximately -1.7 dB. Considering the frequency and amplitude characteristics of the magnetocardiogram signal and the general noise spectrum characteristics of existing probes, the simulated sensitivity is approximately 100 fT / Hz. 1 / 2 Measurement results from a probe at 20Hz.
[0102] In this embodiment, the method for visualizing the simulated measurement results uses a 6×6 matrix composed of values obtained from measuring the biomagnetic field using an array of output simulated probes. This matrix is then interpolated to generate a 128×128 matrix, which is then represented as a combination of colors on a two-dimensional heatmap (e.g., ...). Figure 5 (As shown). When performing interpolation, the interpolation method is two-dimensional cubic spline interpolation. When performing interpolation, the plane coordinates corresponding to the simulated measurement results are the x-axis and y-axis coordinates of the probe.
[0103] This invention also provides a corresponding device for simulating biomagnetic field measurement results, such as... Figure 6 As shown, it includes:
[0104] The system includes at least one processor 602, a communication interface 604, a memory 606, and a communication bus 608; wherein the processor 602, the communication interface 604, and the memory 606 communicate with each other via the communication bus 608; the processor 602 can call logical instructions stored in the memory 606 to cause at least one processor 602 to execute:
[0105] Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined. The biomagnetic field is then simulated using the theoretical model to obtain the simulated biomagnetic field. The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is then simulated and measured based on the index parameters of the measuring instrument to obtain the simulation measurement results.
[0106] Based on the same idea, some embodiments of the present invention also provide media corresponding to the above methods.
[0107] Some embodiments of the present invention provide a storage medium storing computer-executable instructions, which are executed by a processor to perform the following steps:
[0108] Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined. The biomagnetic field is then simulated using the theoretical model to obtain the simulated biomagnetic field. The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is then simulated and measured based on the index parameters of the measuring instrument to obtain the simulation measurement results.
[0109] The various embodiments in this invention are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are relatively simple in description because they are fundamentally similar to the method embodiments; relevant parts can be referred to the descriptions in the method embodiments.
[0110] The devices, media, and methods provided in the embodiments of the present invention are one-to-one correspondences. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0111] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process method or product that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process method or product. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process method or product that includes that element.
[0112] The above are merely embodiments of the present invention and are not intended to limit the invention. Although the present invention has been described in detail above with general descriptions and specific embodiments, modifications or improvements can be made to it, which will be obvious to those skilled in the art. Therefore, all such modifications or improvements made without departing from the spirit of the present invention fall within the scope of protection claimed by the present invention.
Claims
1. A method of simulating biomagnetic field measurements, characterized by, include: Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field; The process involves acquiring the index parameters of a measuring instrument, performing a simulated measurement of the simulated biomagnetic field based on the index parameters of the measuring instrument, and obtaining the simulated measurement result. Specifically, this includes: acquiring the distribution of the simulated biomagnetic field in the effective measurement area and the index parameters of the measuring instrument; calculating the weighted average value of the simulated biomagnetic field in the effective measurement area based on the distribution of the simulated biomagnetic field; and determining the simulated measurement result based on the weighted average value. The step of calculating the weighted average value of the simulated biomagnetic field in the effective measurement area based on the biomagnetic field distribution specifically includes: obtaining the integral of the product of the biomagnetic field and the weighting factor in the effective measurement area based on the magnetic field distribution; dividing the integral by the volume of the effective measurement area to obtain the weighted average value of the biomagnetic field in the effective measurement area; or uniformly selecting points in the effective measurement area to obtain the magnetic field at each point; calculating the average value of the product of the magnetic field at all points and the weighting factor based on the magnetic field at each point, and approximating the average value of the product of the magnetic field at all points and the weighting factor as the weighted average value of the biomagnetic field in the effective measurement area. Specifically, determining the simulated measurement result based on the weighted average value includes: determining the weighted average value as the simulated measurement result; or determining the simulated measurement result by superimposing random noise on the weighted average value.
2. The method of claim 1, wherein, After obtaining the simulated biological magnetic field, the method further includes: The characteristics of the theoretical model corresponding to the biomagnetic field are obtained, and the theoretical model of the simulated biomagnetic field is visualized based on the characteristics to obtain a visualized theoretical model of the simulated biomagnetic field.
3. The method of claim 2, wherein, The process of acquiring the features of the theoretical model corresponding to the biomagnetic field and visualizing the theoretical model of the simulated biomagnetic field based on the features specifically includes: Generate a two-dimensional or three-dimensional coordinate system based on the characteristics of the theoretical model; Based on the characteristics of the theoretical model, a notation representing the theoretical model is determined in the two-dimensional or three-dimensional coordinate system to complete the visualization processing of the theoretical model of the simulated biomagnetic field.
4. The method of claim 3, wherein, The theoretical model is a physical model describing a bioelectric current source; The theoretical models include, but are not limited to, the current dipole model, the magnetic dipole model, the equivalent monopole model, the equivalent tripolar source model, or the double-layer source model. For the current dipole model or the magnetic dipole model, the method further includes: Select the coordinates of a point on the mark, and determine the coordinates of the point as the position coordinates of the current dipole or magnetic dipole; The orientation of the mark is determined as the orientation of the current dipole or the magnetic dipole; The magnitude of the symbol is determined as the magnitude of the current dipole or the magnetic dipole.
5. The method of claim 1, wherein, After obtaining the simulated measurement results, the method further includes: Acquire first matrix data collected by an array of probes from a preset number of the analog measuring instruments, and interpolate the first matrix data to generate second matrix data; A two-dimensional heat map is generated based on the second matrix data to visualize the simulation measurement results.
6. An apparatus for simulating biomagnetic field measurements, characterized by The method for achieving the simulated biomagnetic field measurement results as described in claim 1 includes: At least one processor; and, The memory is communicatively connected to the at least one processor via a bus; wherein, The memory stores instructions executable by the at least one processor, which are executed to perform: Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field; The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is simulated and measured according to the index parameters of the measuring instrument to obtain the simulation measurement results.
7. A non-transitory storage medium storing computer-executable instructions, the computer-executable instructions comprising: The method for achieving the simulated biomagnetic field measurement results as described in claim 1, wherein the computer-executable instructions are executed by a processor to perform the following steps: Based on the properties of the biomagnetic field to be simulated and measured, a corresponding theoretical model is determined, and the biomagnetic field is simulated using the theoretical model to obtain a simulated biomagnetic field; The index parameters of the measuring instrument are obtained, and the simulated biomagnetic field is simulated and measured according to the index parameters of the measuring instrument to obtain the simulation measurement results.