METHOD FOR CONSTRUCTING PHOTON SOURCE MODEL FUNCTION OF MEDICAL LINEAR ACCELERATOR

20220401754 · 2022-12-22

    Inventors

    Cpc classification

    International classification

    Abstract

    A method for constructing a photon source model function of a medical linear accelerator, for calculating the dose of rays in a radiation therapy scheme is disclosed. A source model of a therapeutic photon beam of the accelerator includes a primary ray photon source model and a scattered ray photon source model. Physical parameters in the two parts of source model functions include the position coordinates of an emission point of a particle, a projection value of a unit momentum vector in a three-dimensional orthogonal direction, and the energy of the particle. By utilizing the model functions, photon fluence information, energy spectrum information, and unit momentum direction information of photons on any phase space plane can be accurately calculated. The method and thought for constructing the source model are applicable to construction of source models of photon beams with various nominal energies of the accelerator used in a radiation therapy.

    Claims

    1. A method for constructing a photon source model function of a medical linear accelerator, wherein a photon source model of the medical linear accelerator comprises a primary ray photon source model and a scattered ray photon source model, and the method comprises: turning on the medical linear accelerator, bombarding an X-ray target of the medical linear accelerator using a generated high-energy electron beam, storing information, recorded on an initial phase space plane, of bremsstrahlung photons generated on a target plane in a first phase space file, and storing photon information, recorded on a phase space plane, of a therapeutic photon beam passing through a flattening filter in a second phase space file; converting the first phase space file and the second phase space file into phase space files which are respectively denoted as B-PhSp and R-PhSp on the target plane through photon reverse flight calculation, and separating photons recorded in the phase space file R-PhSp into primary ray photons and scattered ray photons to obtain two new phase space files which are respectively denoted as p-PhSp and s-PhSp; constructing a primary ray photon source model function according to the fluence distribution function of the bremsstrahlung photon, a fluence probability distribution function of bremsstrahlung photons emitted from a fluence point on the target plane in a momentum component, and a fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in a direction of the momentum component; and constructing a scattered ray photon source model function according to the fluence distribution function of the scattered ray photon and an average fluence probability distribution function of scattered photons emitted by all fluence points on a plane on which the target is located in the momentum component.

    2. The method for constructing a photon source model function of a medical linear accelerator according to claim 1, wherein separating photons recorded in the phase space file R-PhSp into primary ray photons and scattered ray photons specifically comprises: in the photons recorded in the phase space file R-PhSp, denoting photons of which position coordinates are located in a geometric projection area of a conical aperture of a primary collimator on a bottom end surface of the target as primary ray photons, the primary ray photons being able to return to the initial phase space plane along the aperture of the primary collimator; and denoting photons outside the geometric projection area as scattered ray photons.

    3. The method for constructing a photon source model function of a medical linear accelerator according to claim 1, wherein position coordinate parameters of the photons recorded in the phase space file B-PhSp and the phase space file p-PhSp are placed at a center point (0, 0, 0) of the target plane, wherein the target plane is set as a 0-reference plane.

    4. The method for constructing a photon source model function of a medical linear accelerator according to claim 3, wherein the bremsstrahlung photons of a continuous energy spectrum are divided into a plurality of energy groups which are represented by E.sub.i by using an energy width Bin.sub.E, wherein i is a natural number and represents a median energy distribution of the ith group of photons, and an energy distribution width of the group of photons is (E.sub.i±½.Math.Bin.sub.E).

    5. The method for constructing a photon source model function of a medical linear accelerator according to claim 4, wherein the step of constructing a primary ray photon source model function specifically comprises: the bremsstrahlung photon fluence distribution function is: N B , E i ( x s , y s ) = .Math. i N B , E i ( x s , y s ) = P B , E i * N B ( x S , y s ) = P B , E i .Math. N B 0 * e - x s 2 + y s 2 2 σ 2 ; and , N B , E i = N B , E i ( x s , y s ) * dx s dy s = P B , E i * N B ( x s , y s ) * dx s dy s = P B , E i * N B ; wherein P.sub.B,E.sub.i is a branching ratio of N.sub.B,E.sub.i(x.sub.s,y.sub.s) at N.sub.B(x.sub.s,y.sub.s); N.sub.B,E.sub.i represents a total count of the bremsstrahlung photons of which energy is E.sub.L, and N.sub.B represents a total count of the bremsstrahlung photons with all energies, N.sub.B0 represents the count of the bremsstrahlung photons generated at the center point of the target; and σ is a distribution standard deviation of initial bremsstrahlung photons generated on the target plane, that is, a distribution standard deviation of an electron beam bombarding the target, and the full width at half maximum of the electron beam bombarding the target is F WHM=2.335*σ; the fluence distribution function of the bremsstrahlung photons in the direction of the momentum component is obtained through fitting of the fluence distribution of the bremsstrahlung photons in the direction of the momentum component: N B , E i ( p x , p y ) = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; wherein N.sub.B,E.sub.i′(p.sub.x,p.sub.y) represents the fluence distribution of the bremsstrahlung photons in the ith energy group generated in the center point of the target in the direction of the momentum component; σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are fluence distribution standard deviations of the photons of which energy is E.sub.i in the bremsstrahlung photons in the direction of the momentum component, a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.i.sub.,2 are coefficients of a function expression, which equal to the count of the bremsstrahlung photons emitted at an angle of 0 degree, a flight momentum direction of the bremsstrahlung photons is expressed by a projection value of a unit momentum on a three-dimensional rectangular coordinate system, that is, (p.sub.x, p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1; and B represents the bremsstrahlung photons, E.sub.i represents the energy of the ith spectral line, m represents momentum, that is, σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are two standard deviations of momentum distribution; since electron beam fluence at any point of the bottom end surface of the target has a same energy spectrum, the fluence probability distribution of the bremsstrahlung photons generated by the any point of the bottom end surface of the target in the momentum component is the same as the fluence probability distribution of the bremsstrahlung photons generated by the center point of the target, and then the fluence probability distribution function of bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component is: P B , E i ( p x , p y ) = N B , E i ( p x , p y ) N B , E i ( p x , p y ) .Math. dp x dp y = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; wherein a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of a fluence probability distribution function expression of the bremsstrahlung photons in the direction of the momentum component, which are obtained according to normalization calculation of a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.i.sub.,2; and P′.sub.B,E.sub.i (p.sub.x,y.sub.y) represents the fluence probability distribution of the bremsstrahlung photons in the momentum component; photon flux distribution is performed on the photons recorded in the phase space files B-PhSp and p-PhSp along the unit momentum component of the photons, a difference in flux distribution between the B-PhSp photons and the p-PhSp photons is the photon distribution of the bremsstrahlung photons absorbed by the flattening filter of the accelerator in the direction of unit momentum component, which is denoted as N′.sub.(f-absorbed),E.sub.i (p.sub.x,p.sub.y), then, the fluence distribution of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component is obtained according to a difference between the fluence distribution of the bremsstrahlung photons in the direction of the momentum component and fluence distribution of the primary ray photons in the direction of the momentum component, and the fluence distribution function of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component is obtained through fitting: N ( f - absorbed ) , E i ( p x , p y ) = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein N′.sub.(f-absorbed),E.sub.i (p.sub.x,p.sub.y) represents fluence distribution of the bremsstrahlung photons absorbed by the flattening filter and with the energy of the ith spectral line in the direction of momentum component (p.sub.x,p.sub.y); σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1 and σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.2 are respectively standard deviations of the above two two-dimensional Gaussian functions; and b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2 are respectively coefficients of the above two Gaussian function expressions; the total count of the bremsstrahlung photons with the energy of the ith spectral line at any fluence point is mathematically normalized to obtain the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, which is: P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absoτbed ) E i ( p x , p y ) - m m N ( f - absoτbed ) f i ( p x , p y ) dp x dp y = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein P′.sub.(f-absorbed),E.sub.i (p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are respectively two coefficients of a probability distribution model function, and are obtained through mathematical normalization calculation of b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2; the fluence probability distribution function of the primary ray photons emitted by the fluence point on the target plane is obtained according to a difference between the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component and the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, and by combining the fluence distribution function of the bremsstrahlung photons, the primary ray photon source model function is obtained, which is: N E i ( x s , y s , p x , p y ) = N B , E i ( x s , y s ) * [ P B , E i ( p x , p y ) - P ( f - absorbed ) , E i ( p x , p y ) ] ; wherein N B , E i ( x s , y s ) = N B , E i , 0 * e - x s 2 + y s 2 2 δ 2 = P B , E i * N B 0 * e - x s 2 + y s 2 2 δ 2 = P B , E i * N B ( x s , y s ) ; and P B , E i ( p x , p y ) = N B , E i ( p x , p y ) N B , E i ( p x , p y ) .Math. dp x dp y = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; and P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absorbed ) , E i ( p x , p y ) - m m N ( f - absorbed ) , E i ( p x , p y ) dp x dp y = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein the primary ray photon source model is located on the 0-reference plane, the flight momentum direction of the primary ray photons is expressed by the projection value of the unit momentum on the three-dimensional rectangular coordinate system, that is, (p.sub.x, p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1, therefore, z.sub.s and p.sub.z are omitted; each parameter in the above function expression is given in a process of fitting the function, and P′.sub.B,E.sub.i (p.sub.x,p.sub.y) represents the fluence probability distribution of the bremsstrahlung photons in the momentum component; P′.sub.(f-absorbed),E.sub.i (p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of the fluence probability distribution function of the bremsstrahlung photons in the momentum component, and σ.sub.B,E.sub.i.sub.,m1 and σ.sub.B,E.sub.i.sub.,m2 are the distribution standard deviations of the fluence probability distribution function of the bremsstrahlung photons in the momentum component; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are coefficients of the fluence probability function of the bremsstrahlung photons in the momentum component, σ.sub.(f-absorbed),E.sub.i.sub.,m1 and σ.sub.(f-absorbed),E.sub.i.sub.,m2 are standard deviations of the probability function of the bremsstrahlung photons absorbed by the flattening filter, and (f-absorbed) is an identification indicating being absorbed by the flattening filter.

    6. The method for constructing a photon source model function of a medical linear accelerator according to claim 4, wherein the step of constructing a scattered ray photon source model function specifically comprises: discretizing a distribution area of the scattered photons recorded in the phase space file s-PhSp of the scattered photons to form a pixel grid, acquiring the fluence distribution of the scattered photons on the 0-reference plane in a unit of the pixel grid, and performing fitting on the fluence distribution of the scattered photons by using a double gaussian function polynomial to obtain a fluence distribution function of the scattered photons, which is: N scatter , E i ( x s , y s ) = a i * e - x s 2 + y s 2 2 σ s , E i , 1 2 + b i * e - x s 2 + y s 2 2 σ s , E i , 2 2 ; wherein (x.sub.s, y.sub.s) is position coordinates of any point on the 0-reference plane, N.sub.scatter,E.sub.i (x.sub.s, y.sub.s) represents the number of the scattered photons at the fluence point (x.sub.s,y.sub.s), a.sub.i and b.sub.i are coefficients of a fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; σ.sub.s,E.sub.i.sub.,1 and σ.sub.s,E.sub.i.sub.,2 are distribution standard deviations of the fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; and s in a parameter subscript represents a scattered ray identification; the fitting function of the fluence distribution of the scattered photons emitted by each fluence point on the plane on which the target is located in the momentum component is: N scatter , E i ( p x , p y ) = { a i * e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i * e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i * ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein parameters a′.sub.i, b′.sub.i, c′.sub.i and d′.sub.i are coefficients of the fitting function of the fluence distribution in the momentum component; σ.sub.s,E.sub.i.sub.,m1.sup.2 and σ.sub.s,E.sub.i.sub.,m2.sup.2 are standard deviations of the fitting function of the fluence distribution in the momentum component; and in a subscript of each parameter, i represents an identification of an energy group of the ith spectral line; then, an average fluence probability distribution function of the scattered photons in the momentum component is obtained according to the fluence distribution function of the scattered photons in the momentum component, which is: P scatter , E i ( p x , p y ) = { a i * e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i * e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i * ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein a function domain r is given by using the following mathematical method: a i * e - r 2 2 σ s , E i , m 1 2 + b i * e - r 2 2 σ s , E i , m 2 2 = c i * r 2 + d i the parameters a.sub.i, b.sub.i, c.sub.i, d.sub.i, σ.sub.s,E.sub.i.sub.,m1.sup.2 and σ.sub.s,E.sub.i.sub.,m2.sup.2 in the average fluence probability distribution function of the scattered photons in the momentum component are given by a fitting process, wherein a.sub.i, b.sub.i, c.sub.i and d.sub.i are coefficients of the function, σ.sub.s,E.sub.i.sub.,m1 and σ.sub.s,E.sub.i.sub.,m2 are distribution standard deviations distributed along the momentum, these parameters are closely related to energy, and are able to be fitted to the energy to respectively form a relationship function between each parameter and the energy; and the scattered photon source model function constructed according to the fluence distribution function of the scattered photons and the average fluence probability distribution function of the scattered photons emitted by all fluence points on the plane on which the target is located in the momentum component is:
    N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s,p.sub.x,p.sub.y,p.sub.z,E.sub.i)=N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s)*P′.sub.scatter,E.sub.i(p.sub.x,p.sub.y,p.sub.z).

    7. The method for constructing a photon source model function of a medical linear accelerator according to claim 2, wherein position coordinate parameters of the photons recorded in the phase space file B-PhSp and the phase space file p-PhSp are placed at a center point (0, 0, 0) of the target plane, wherein the target plane is set as a 0-reference plane.

    8. The method for constructing a photon source model function of a medical linear accelerator according to claim 7, wherein the bremsstrahlung photons of a continuous energy spectrum are divided into a plurality of energy groups which are represented by E.sub.i by using an energy width Bin.sub.E, wherein i is a natural number and represents a median energy distribution of the ith group of photons, and an energy distribution width of the group of photons is (E.sub.i±½.Math.Bin.sub.E).

    9. The method for constructing a photon source model function of a medical linear accelerator according to claim 8, wherein the step of constructing a primary ray photon source model function specifically comprises: the bremsstrahlung photon fluence distribution function is: N B , E i ( x s , y s ) = .Math. i N B , E i ( x s , y s ) = P B , E i * N B ( x s , y s ) = P B , E i .Math. N B 0 * e - x s 2 + y s 2 2 σ 2 ; and , N B , E i = N B , E i ( x s , y s ) * dx s dy s = P B , E i * N B ( x s , y s ) * dx s dy s = P B , E i * N B ; wherein P.sub.B,E.sub.i is a branching ratio of N.sub.B,E.sub.i(x.sub.s, y.sub.s) at N.sub.B(X.sub.s, y.sub.s); N.sub.B,E.sub.i represents a total count of the bremsstrahlung photons of which energy is E.sub.L, and N.sub.B represents a total count of the bremsstrahlung photons with all energies, N.sub.B0 represents the count of the bremsstrahlung photons generated at the center point of the target; and a is a distribution standard deviation of initial bremsstrahlung photons generated on the target plane, that is, a distribution standard deviation of an electron beam bombarding the target, and the full width at half maximum of the electron beam bombarding the target is F WHM=2.335*σ; the fluence distribution function of the bremsstrahlung photons in the direction of the momentum component is obtained through fitting of the fluence distribution of the bremsstrahlung photons in the direction of the momentum component: N B , E i ( p x , p y ) = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; wherein N.sub.B,E.sub.i′(p.sub.x, p.sub.y) represents the fluence distribution of the bremsstrahlung photons in the ith energy group generated in the center point of the target in the direction of the momentum component; σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are fluence distribution standard deviations of the photons of which energy is E.sub.i in the bremsstrahlung photons in the direction of the momentum component, a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.1.sub.,2 are coefficients of a function expression, which equal to the count of the bremsstrahlung photons emitted at an angle of 0 degree, a flight momentum direction of the bremsstrahlung photons is expressed by a projection value of a unit momentum on a three-dimensional rectangular coordinate system, that is, (p.sub.x p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1; and B represents the bremsstrahlung photons, E.sub.i represents the energy of the ith spectral line, m represents momentum, that is, σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are two standard deviations of momentum distribution; since electron beam fluence at any point of the bottom end surface of the target has a same energy spectrum, the fluence probability distribution of the bremsstrahlung photons generated by the any point of the bottom end surface of the target in the momentum component is the same as the fluence probability distribution of the bremsstrahlung photons generated by the center point of the target, and then the fluence probability distribution function of bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component is: P B , E i ( p x , p y ) = N B , E i ( p x , p y ) N B , E i ( p x , p y ) .Math. dp x dp y = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e p x 2 + p y 2 2 σ B , E i , m 2 2 ; wherein a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of a fluence probability distribution function expression of the bremsstrahlung photons in the direction of the momentum component, which are obtained according to normalization calculation of a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.i.sub.,2; and P′.sub.B,E.sub.i(p.sub.x,p.sub.y) represents the fluence probability distribution of the bremsstrahlung photons in the momentum component; photon flux distribution is performed on the photons recorded in the phase space files B-PhSp and p-PhSp along the unit momentum component of the photons, a difference in flux distribution between the B-PhSp photons and the p-PhSp photons is the photon distribution of the bremsstrahlung photons absorbed by the flattening filter of the accelerator in the direction of unit momentum component, which is denoted as N.sub.(f-absorbed),E.sub.i′(p.sub.x,p.sub.y), then, the fluence distribution of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component is obtained according to a difference between the fluence distribution of the bremsstrahlung photons in the direction of the momentum component and fluence distribution of the primary ray photons in the direction of the momentum component, and the fluence distribution function of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component is obtained through fitting: N.sub.(f-absorbed),E.sub.i′(p.sub.x,p.sub.y) N ( f - absorbed ) , E i ( p x , p y ) = b E i , 1 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein N.sub.(f-absorbed),E.sub.i′(p.sub.x,p.sub.y) represents fluence distribution of the bremsstrahlung photons absorbed by the flattening filter and with the energy of the ith spectral line in the direction of momentum component (p.sub.x,p.sub.y); σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1 and σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.2 are respectively standard deviations of the above two two-dimensional Gaussian functions; and b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2 are respectively coefficients of the above two Gaussian function expressions; the total count of the bremsstrahlung photons with the energy of the ith spectral line at any fluence point is mathematically normalized to obtain the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, which is: P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absorbed ) , E i ( p x , p y ) - m m N ( f - absorbed ) , E i ( p x , p y ) d p x d p y = b E i , 1 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein P′.sub.(f-absorbed),E.sub.i(p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are respectively two coefficients of a probability distribution model function, and are obtained through mathematical normalization calculation of b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2; the fluence probability distribution function of the primary ray photons emitted by the fluence point on the target plane is obtained according to a difference between the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component and the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, and by combining the fluence distribution function of the bremsstrahlung photons, the primary ray photon source model function is obtained, which is:
    N.sub.E.sub.i(x.sub.s,y.sub.s,p.sub.x,p.sub.y)=N.sub.B,E.sub.i(x.sub.s,y.sub.s)*[P′.sub.B,E.sub.i(p.sub.x,p.sub.y)−P′.sub.(f-absorbed),E.sub.i(p.sub.x,p.sub.y)]; wherein N B , E i ( x s , y s ) = N B , E i , 0 e - x s 2 + y s 2 2 δ 2 = P B , E i N B 0 e - x s 2 + y s 2 2 δ 2 = P B , E i N B ( x s , y s ) ; and P B , E i ( p x , p y ) ] = N B , E i ( p x , p y ) N B , E i ( p x , p y ) d p x d p y = a E i , 1 e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; and P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absorbed ) , E i ( p x , p y ) - m m N ( f - absorbed ) , E i ( p x , p y ) d p x d p y = b E i , 1 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ; wherein the primary ray photon source model is located on the 0-reference plane, the flight momentum direction of the primary ray photons is expressed by the projection value of the unit momentum on the three-dimensional rectangular coordinate system, that is, (p.sub.x, p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1, therefore, z.sub.s and p.sub.z are omitted; each parameter in the above function expression is given in a process of fitting the function, and P′.sub.B,E.sub.i(p.sub.x,p.sub.y) represents the fluence probability distribution of the bremsstrahlung photons in the momentum component; P′.sub.(f-absorbed),E.sub.i(p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of the fluence probability distribution function of the bremsstrahlung photons in the momentum component, and σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are the distribution standard deviations of the fluence probability distribution function of the bremsstrahlung photons in the momentum component; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are coefficients of the fluence probability function of the bremsstrahlung photons in the momentum component, σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1 and σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1 are standard deviations of the probability function of the bremsstrahlung photons absorbed by the flattening filter, and (f-absorbed) is an identification indicating being absorbed by the flattening filter.

    10. The method for constructing a photon source model function of a medical linear accelerator according to claim 5, wherein the step of constructing a scattered ray photon source model function specifically comprises: discretizing a distribution area of the scattered photons recorded in the phase space file s-PhSp of the scattered photons to form a pixel grid, acquiring the fluence distribution of the scattered photons on the 0-reference plane in a unit of the pixel grid, and performing fitting on the fluence distribution of the scattered photons by using a double gaussian function polynomial to obtain a fluence distribution function of the scattered photons, which is: N scatter , E i ( x s , y s ) = a i e - x s 2 + y s 2 2 σ s , E i , 1 2 + b i e - x s 2 + y s 2 2 σ s , E i , 2 2 ; wherein (x.sub.s,y.sub.s) is position coordinates of any point on the 0-reference plane, N.sub.scatter,E.sub.i(x.sub.s, y.sub.s) represents the number of the scattered photons at the fluence point (x.sub.s, y.sub.s), a.sub.i and b.sub.i are coefficients of a fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; σ.sub.s,E.sub.i.sub.,1 and σ.sub.s,E.sub.i.sub.,2 are distribution standard deviations of the fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; and s in a parameter subscript represents a scattered ray identification; the fitting function of the fluence distribution of the scattered photons emitted by each fluence point on the plane on which the target is located in the momentum component is: N scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein parameters a′.sub.i, b′.sub.i, c′.sub.t and d′.sub.i are coefficients of the fitting function of the fluence distribution in the momentum component; σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 are standard deviations of the fitting function of the fluence distribution in the momentum component; and in a subscript of each parameter, i represents an identification of an energy group of the ith spectral line; then, an average fluence probability distribution function of the scattered photons in the momentum component is obtained according to the fluence distribution function of the scattered photons in the momentum component, which is: P scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein a function domain r is given by using the following mathematical method: a i e - r 2 2 σ s , E i , m 1 2 + b i e - r 2 2 σ s , E i , m 2 2 = c i r 2 + d i the parameters a.sub.i, b.sub.i, c.sub.i, d.sub.i, σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 in the average fluence probability distribution function of the scattered photons in the momentum component are given by a fitting process, wherein a.sub.i, b.sub.i, c.sub.i and d.sub.i are coefficients of the function, σ.sub.s,E.sub.i.sub.,m.sub.1 and σ.sub.s,E.sub.i.sub.,m.sub.2 are distribution standard deviations distributed along the momentum, these parameters are closely related to energy, and are able to be fitted to the energy to respectively form a relationship function between each parameter and the energy; and the scattered photon source model function constructed according to the fluence distribution function of the scattered photons and the average fluence probability distribution function of the scattered photons emitted by all fluence points on the plane on which the target is located in the momentum component is:
    N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s,p.sub.x,p.sub.y,p.sub.z,E.sub.i)=N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s)*P′.sub.scatter,E.sub.i(p.sub.x,p.sub.y,p.sub.z).

    11. The method for constructing a photon source model function of a medical linear accelerator according to claim 8, wherein the step of constructing a scattered ray photon source model function specifically comprises: discretizing a distribution area of the scattered photons recorded in the phase space file s-PhSp of the scattered photons to form a pixel grid, acquiring the fluence distribution of the scattered photons on the 0-reference plane in a unit of the pixel grid, and performing fitting on the fluence distribution of the scattered photons by using a double gaussian function polynomial to obtain a fluence distribution function of the scattered photons, which is: N scatter , E i ( x s , y s ) = a i e - x s 2 + y s 2 2 σ s , E i , 1 2 + b i e - x s 2 + y s 2 2 σ s , E i , 2 2 ; wherein (x.sub.s,y.sub.s) is position coordinates of any point on the 0-reference plane, N.sub.scatter,E.sub.i(x.sub.s, y.sub.s) represents the number of the scattered photons at the fluence point (x.sub.s, Y.sub.s), a.sub.i and b.sub.i are coefficients of a fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; σ.sub.s,E.sub.i.sub.,1 and σ.sub.s,E.sub.i.sub.,2 are distribution standard deviations of the fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; and s in a parameter subscript represents a scattered ray identification; the fitting function of the fluence distribution of the scattered photons emitted by each fluence point on the plane on which the target is located in the momentum component is: N scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein parameters a′.sub.i, b′.sub.i, c′.sub.i and d′.sub.i are coefficients of the fitting function of the fluence distribution in the momentum component; σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 are standard deviations of the fitting function of the fluence distribution in the momentum component; and in a subscript of each parameter, i represents an identification of an energy group of the ith spectral line; then, an average fluence probability distribution function of the scattered photons in the momentum component is obtained according to the fluence distribution function of the scattered photons in the momentum component, which is: P scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein a function domain r is given by using the following mathematical method: a i e - r 2 2 σ s , E i , m 1 2 + b i e - r 2 2 σ s , E i , m 2 2 = c i r 2 + d i the parameters a.sub.i, b.sub.i, c.sub.i, d.sub.i, σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 in the average fluence probability distribution function of the scattered photons in the momentum component are given by a fitting process, wherein a.sub.i, b.sub.i, c.sub.i and d.sub.i are coefficients of the function, σ.sub.s,E.sub.i.sub.,m.sub.1 and σ.sub.s,E.sub.i.sub.,m.sub.2 are distribution standard deviations distributed along the momentum, these parameters are closely related to energy, and are able to be fitted to the energy to respectively form a relationship function between each parameter and the energy; and the scattered photon source model function constructed according to the fluence distribution function of the scattered photons and the average fluence probability distribution function of the scattered photons emitted by all fluence points on the plane on which the target is located in the momentum component is:
    N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s,p.sub.x,p.sub.y,p.sub.z,E.sub.i)=N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s)*P′.sub.scatter,E.sub.i(p.sub.x,p.sub.y,p.sub.z).

    12. The method for constructing a photon source model function of a medical linear accelerator according to claim 9, wherein the step of constructing a scattered ray photon source model function specifically comprises: discretizing a distribution area of the scattered photons recorded in the phase space file s-PhSp of the scattered photons to form a pixel grid, acquiring the fluence distribution of the scattered photons on the 0-reference plane in a unit of the pixel grid, and performing fitting on the fluence distribution of the scattered photons by using a double gaussian function polynomial to obtain a fluence distribution function of the scattered photons, which is: N scatter , E i ( x s , y s ) = a i e - x s 2 + y s 2 2 σ s , E i , 1 2 + b i e - x s 2 + y s 2 2 σ s , E i , 2 2 ; wherein (x.sub.s, y.sub.s) is position coordinates of any point on the 0-reference plane, N.sub.scatter,E.sub.i(x.sub.s, y.sub.s) represents the number of the scattered photons at the fluence point (x.sub.s, y.sub.s), a.sub.i and b.sub.i are coefficients of a fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; σ.sub.s,E.sub.i.sub.,1 and σ.sub.s,E.sub.i.sub.,2 are distribution standard deviations of the fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; and s in a parameter subscript represents a scattered ray identification; the fitting function of the fluence distribution of the scattered photons emitted by each fluence point on the plane on which the target is located in the momentum component is: N scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein parameters a′.sub.i, b′.sub.i, c′.sub.i and d′.sub.i are coefficients of the fitting function of the fluence distribution in the momentum component; σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 are standard deviations of the fitting function of the fluence distribution in the momentum component; and in a subscript of each parameter, i represents an identification of an energy group of the ith spectral line; then, an average fluence probability distribution function of the scattered photons in the momentum component is obtained according to the fluence distribution function of the scattered photons in the momentum component, which is: P scatter , E i ( p x , p y ) = { a i e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2 wherein a function domain r is given by using the following mathematical method: a i e - r 2 2 σ s , E i , m 1 2 + b i e - r 2 2 σ s , E i , m 2 2 = c i r 2 + d i the parameters a.sub.i, b.sub.i, c.sub.i, d.sub.i, σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 in the average fluence probability distribution function of the scattered photons in the momentum component are given by a fitting process, wherein a.sub.i, b.sub.i, c.sub.i and d.sub.i are coefficients of the function, σ.sub.s,E.sub.i.sub.,m.sub.1 and σ.sub.s,E.sub.i.sub.,m.sub.2 are distribution standard deviations distributed along the momentum, these parameters are closely related to energy, and are able to be fitted to the energy to respectively form a relationship function between each parameter and the energy; and the scattered photon source model function constructed according to the fluence distribution function of the scattered photons and the average fluence probability distribution function of the scattered photons emitted by all fluence points on the plane on which the target is located in the momentum component is:
    N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s,p.sub.x,p.sub.y,p.sub.z,E.sub.i)=N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s)*P′.sub.scatter,E.sub.i(p.sub.x,p.sub.y,p.sub.z).

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0055] FIG. 1 shows a primary ray photon model during the establishment of an existing source model function, a shows a photon distribution ring formed on a phase space plane, and b shows a photon position and a momentum direction on the phase space plane;

    [0056] FIG. 2 is a schematic geometric diagram of a primary ray photon model during the establishment of an existing source model function;

    [0057] FIG. 3 is a distribution diagram of scattered photons on a spherical surface after the scattered photons are grouped according to momentum distribution in an existing source model function;

    [0058] FIG. 4 is a lateral profile of angular momentum distribution of bremsstrahlung photons according to an embodiment of the disclosure;

    [0059] FIG. 5 is a lateral profile of angular momentum distribution of photons absorbed by a flattening filter on a target plane according to an embodiment of the disclosure;

    [0060] FIG. 6 is a lateral profile of spatial fluence distribution of scattered photons on a target plane according to an embodiment of the disclosure;

    [0061] FIG. 7 is a lateral profile of angular momentum distribution of scattered photons on a target plane according to an embodiment of the disclosure;

    [0062] FIG. 8 is a lateral profile of comparison between fluence probability distribution of bremsstrahlung photons in a momentum component and calculation results of a model function according to an embodiment of the disclosure;

    [0063] FIG. 9 shows a comparison between fluence probability distribution of bremsstrahlung photons absorbed by a flattening filter in a momentum component and calculation results of a model function according to an embodiment of the disclosure;

    [0064] FIG. 10 shows a comparison between spatial fluence distribution of scattered photons on a 0-reference plane and calculation results of a model function according to an embodiment of the disclosure;

    [0065] FIG. 11 shows a comparison between fluence probability distribution of scattered photons in a momentum component and calculation results of a model function according to an embodiment of the disclosure;

    [0066] FIG. 12 shows a relationship between a coefficient and standard deviation of a model function of initial bremsstrahlung photons distributed in a direction of a momentum component and photon energy according to an embodiment of the disclosure;

    [0067] FIG. 13 shows a relationship between a coefficient and standard deviation of a model function of bremsstrahlung photons absorbed by a flattening filter and distributed in a direction of a momentum component and photon energy according to an embodiment of the disclosure;

    [0068] FIG. 14 shows a relationship between a coefficient of a scattered photon source model function and photon energy according to an embodiment of the disclosure;

    [0069] FIG. 15 is a physical flowchart of generating a therapeutic photon beam by a medical linear accelerator according to an embodiment of the disclosure; and

    [0070] FIG. 16 is a flowchart of a method for constructing a photon source model function of a medical linear accelerator according to an embodiment of the disclosure.

    DETAILED DESCRIPTION OF THE EMBODIMENTS

    [0071] In order to enable those skilled in the art to understand the core idea of the disclosure more clearly, the disclosure will be described below in detail with reference to the accompanying drawings.

    [0072] The method for constructing a photon source model function of a medical linear accelerator provided by the disclosure is mainly used for calculating the dose of rays in a radiation therapy scheme and for particle source calculation of a Monte Carlo method. An involved medical linear accelerator includes an X-ray target, a ray source device, an accelerating tube, a flattening filter and a collimator system. The collimator system includes a primary collimator system and a secondary collimator system. The physical flowchart of generating a therapeutic photon beam by a medical linear accelerator is shown as FIG. 15: hot electrons emitted after heating by an electron gun filament of the ray source device are focused into an electron beam with a diameter of 1-2 mm, the electron beam is led into the accelerating tube and accelerated by a microwave electric field, and is led out after being accelerated to a predetermined energy height, the high-energy electron beam led out of an exit window bombards an X-ray tungsten target (being regarded as a thin target according to the thickness, the thickness being less than 1 mm, which may be 0.89 mm), to generate a large quantity of bremsstrahlung photons on a target plane, and the bremsstrahlung photon beam becomes a therapeutic photon beam after passing through a tapered hole of the primary collimator and the flattening filter. The tungsten target is inlaid in a copper target substrate. A cooling system of the copper target substrate will take away the large amount of heat generated in a process that the electron beam bombards the target. It should be noted that, the therapeutic photon beam of the above accelerator contains a large quantity of photons from the target. This part of photons is known as primary ray photons. The photon beam further contains a large quantity of scattered photons generated due to the fact that initial movement direction and energy of this part of initial bremsstrahlung photons are changed in a process of passing through the flattening filter caused by a photoelectric effect, a compton effect, a pair effect and a rayleigh scattering effect generated by that bremsstrahlung photons continuously interact with the flattening filter during the interaction with the target substrate and the ray beam flattening filter. The primary ray photons may spatially form focus spots on the target plane, that is, a target plane of the accelerator. The scattered photons have no focus spots.

    [0073] The construction of a photon source model function of a medical linear accelerator in the disclosure adopts a double-source model manner. The photon source model includes a primary ray photon source model and a scattered photon source model. However, parameters of the two parts of source model functions are state information of the photons, that is, position coordinates (x.sub.s, y.sub.s, z.sub.5) of the photons, a projection (p.sub.x, p.sub.y, p.sub.z) of a unit momentum in an orthogonal coordinate system and energy E. The position coordinates of the photons adopt a rectangular coordinate system. A momentum direction of the photons is described by a projection value of the unit momentum of the photons in the rectangular coordinate system, that is, a momentum component, represented as p.sub.x, p.sub.y, p.sub.z, and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1. There is a clear and understandable proportional relationship between the primary ray photon source model and the scattered photon source model. Since the huge quantity of bremsstrahlung photons generated by the tungsten target of the accelerator are distributed within a continuous energy spectrum, and can be discretized into a series of spectral lines. The energy of each spectral line is expressed with E.sub.i, and there are a large quantity of photons in each spectral line.

    [0074] FIG. 16 is a schematic flowchart of a method for constructing a photon source model function of a medical linear accelerator according to the disclosure. The method for constructing the photon source model function of the medical linear accelerator is described in detail in conjunction with FIGS. 4 to 14. By taking the medical linear accelerator having a 4MV photon beam as an embodiment, for a coordinate system: an orthogonal rectangular coordinate system (x, y, z), a z-axis direction is consistent to a ray beam of a target center point, and a 0-reference plane is a bottom surface of the target (that is, a photon exit surface). A flight movement direction of the photons is expressed by using the rectangular coordinate system, a direction of the coordinate system is parallel to a coordinate system of the target, the photons use a projection (p.sub.x, p.sub.y, p.sub.z) of unit momentum direction in three coordinate directions to express a direction of the photons, and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1. p.sub.z=1 means that an emission direction of the photons is parallel to a central axis (vertical to a treatment plane) of the ray beam. p.sub.z=0 means that the emission direction of the photons is horizontal emission on the 0-reference plane.

    [0075] The photons in the embodiments of the disclosure are described according to the energy spectra. An energy width of each energy spectrum line is Bin.sub.E. Each energy spectrum line is an energy group. The bremsstrahlung photons are divided into a plurality of energy groups, which are expressed as E.sub.i, where i is a natural number, E.sub.i represents a median energy distribution of the ith group of photons, and an energy distribution width of the group of photons is (E.sub.i±½.Math.Bin.sub.E). In a discretization energy spectrum, the photon source model functions of all energy bands have a unified form. Parameters in the function are highly related to energy heights, and are functions of energy. The source model functions of the discretization energy spectrum provide energy information of the photons.

    [0076] The photon source model function of the medical linear accelerator in the disclosure includes a primary ray photon source model function and a scattered photon source model function, including:

    [0077] First part: constructing the primary ray photon source model function

    [0078] (1) turning on the medical linear accelerator, bombarding an X-ray target of the medical linear accelerator using a generated high-energy electron beam, storing information, recorded on an initial phase space plane, of bremsstrahlung photons generated on a target plane in a first phase space file, and storing photon information, recorded on a phase space plane, of a therapeutic photon beam passing through a flattening filter in a second phase space file.

    [0079] In order to acquire correct experimental data, a plane vertical to the central axis is required to be selected at an appropriate position on the central axis of the electron beam. All photon information passing through the plane is acquired through Monte Carlo simulation calculation, and includes fall point positions of the photons on the plane, a unit momentum component, energy, and a particle type. The plane is a phase space plane. A position of the phase space plane may be selected according to practical application requirements, which is not specifically limited in the disclosure.

    [0080] The phase space plane is placed under the ray flattening filter, and close to a bottom end surface of the flattening filter. Two types of photon information are required to be recorded on the phase space plane. One type is the photon information of the initial bremsstrahlung photons, and the other type is the photon information of a therapeutic ray beam.

    [0081] When a Monte Carlo method is used to record the photon information of the initial bremsstrahlung photons on an initial phase space plane, only component description of the tungsten target and the primary collimator of the accelerator is preserved, and component description of the flattening filter and the secondary collimator is removed; and when the Monte Carlo method is used to record the photon information of the therapeutic ray beam, component description of the tungsten target, the target substrate, the primary collimator and the flattening filter of the accelerator is preserved, and component description of the secondary collimator of the accelerator is removed.

    [0082] It should be noted that, in the embodiments of the disclosure, a phase space file of bremsstrahlung photon information recorded on the initial phase space plane is denoted as a first phase space file. A phase space file of the therapeutic ray beam photon information recorded on the phase space plane is denoted as a second phase space file.

    [0083] (2) converting the first phase space file and the second phase space file into phase space files which are respectively denoted as B-PhSp and R-PhSp on the target plane through photon reverse flight calculation; and separating photons recorded in the phase space file R-PhSp into primary ray photons and scattered ray photons, to obtain two new phase space files which are respectively denoted as p-PhSp and s-PhSp.

    [0084] In order to unify the positions of the primary ray photon source model and the scattered photon source model to the plane (that is, a 0-reference plane) where the target plane of the accelerator is located, the two types of photons (that is, bremsstrahlung photons and therapeutic photon beam photons) recorded on the above two phase space planes are required to be processed by the photon reverse flight calculation. The first phase space file and the second phase space file are respectively converted to the 0-reference plane, so that two data files are correspondingly obtained. That is to say, the first phase space file is converted to the phase space file on the target plane, and denoted as the phase space file B-PhSp, and the second phase space file is converted to the phase space file on the target plane, and denoted as R-PhSp. According to the data file of the bremsstrahlung photons on the 0-reference plane, fluence distribution of the bremsstrahlung photons on the 0-reference plane can be obtained.

    [0085] The photon data file of the therapeutic ray beam on the 0-reference plane includes primary ray photons and scattered ray photons, which need to be processed about primary and scattered rays, to acquire a fluence distribution map matrix of a primary ray photon beam on the 0-reference plane. The photons of the therapeutic ray beam recorded on the phase space plane include primary ray photons originating from the target plane of the accelerator and scattered ray photons generated in the flattening filter. After the primary ray photons and the scattered ray photons are separated, two new corresponding phase space files are obtained, which are respectively denoted as p-PhSp and s-PhSp.

    [0086] In a preferred embodiment, separating photons recorded in the phase space file R-PhSp into primary ray photons and scattered ray photons specifically includes that:

    [0087] in the photons recorded in the phase space file R-PhSp, photons of which position coordinates are located in a geometric projection area of a conical aperture of a primary collimator on a bottom end surface of the target are denoted as the primary ray photons, and the primary ray photons are able to return to the initial phase space plane along the aperture of the primary collimator; the photons outside the geometric projection area are denoted as the scattered ray photons, the originating position of the scattered ray photons is not on the target plane, but distributed in a larger range on the plane where the target is located, and the scattered ray photons cannot return to the initial phase space plane through the aperture of the primary collimator.

    [0088] (3) constructing a bremsstrahlung photon fluence distribution function.

    [0089] It should be noted that, the number of initial photons at any point on the 0-reference plane is proportional to the number of electrons bombarding the target point. The real electron beam is a two-dimensional Gaussian distribution with a certain full width at half maximum. The fluence distribution of the electron beam bombarding the target plane on a target incident surface is the two-dimensional Gaussian distribution. The full width at half maximum (FWHM) of electron distribution in a Gaussian function is known, which determines the size of a photon source of the accelerator, and can be derived from the information released by an accelerator manufacturer, or from a typical value recommended in the literature or the disclosure. A distribution standard deviation of the electron beam is δ=FWHM/2.335. The energy of the electron beam is also a two-dimensional Gaussian distribution, which determines the energy spectrum and angular distribution characteristics of the bremsstrahlung photons. The yield of the initial bremsstrahlung photons generated at any point on the target plane is proportional to the number (that is, fluence) of electrons incident at the point. Therefore, the yield of the initial bremsstrahlung photons emitted on a bottom end surface of the X-ray target is a Gaussian distribution. A full width at half maximum of the Gaussian function equals a full width at half maximum of the fluence distribution of the electron beam bombarding the target.

    [0090] In this way, a standard deviation 6 and a distribution function form of the fluence distribution of the bremsstrahlung photons generated by the target of the accelerator are known, which are two-dimensional Gaussian functions. A total count of the photons is determined by a total number of the photons required by simulation calculation. As shown in the following formula, the fluence distribution function of the initial bremsstrahlung photons generated at any point on the target plane can be expressed as follows:

    [00014] N B ( x s , y s ) = N B 0 * e - x s 2 + y s 2 2 σ 2 ; and N B = N B ( x s , y s ) .Math. dx s dy s = N B 0 * e - x s 2 + y s 2 2 σ 2 .Math. dx s dy s = N B 0 e - x s 2 + y s 2 2 σ 2 dx s dy s .

    [0091] Where σ is a distribution standard deviation; (x.sub.s, y.sub.s) is coordinates of a certain point on the target plane, and a subscript s represents that the coordinates are on the target plane; and N.sub.B0 is the photon fluence (yield) of a center point of the target plane, N.sub.B(x.sub.s, y.sub.s) is the photon fluence at any point (x.sub.s, y.sub.s) on the target plane, a subscript B represents the bremsstrahlung photons, and subscript B.sub.0 represents the photon count of the bremsstrahlung photons emitted at the center point of the target.

    [0092] Then, after the energy spectrum is discretized, the fluence distribution function of the bremsstrahlung photons generated by the target plane of the X-ray target of the accelerator is shown as follows:

    [00015] N B , E i ( x s , y s ) = .Math. i N B , E i ( x s , y s ) = P B , E i * N B ( x s , y s ) = P B , E i .Math. N B 0 * e - x s 2 + y s 2 2 σ 2 ; and , N B , E i = N B , E i ( x s , y s ) * dx s dy s = P B , E i * N B ( x s , y s ) * dx s dy s = P B , E i * N B ;

    [0093] where P.sub.B,E.sub.i is a branching ratio of N.sub.B,E.sub.i(x.sub.s, y.sub.s) at N.sub.B(x.sub.s, y.sub.s), N.sub.B,E.sub.i represents a total count of the bremsstrahlung photons of which energy is E.sub.i, N.sub.B represents a total count of the bremsstrahlung photons of all energies, N.sub.B0 represents the count of the bremsstrahlung photons generated at the center point of the target; and a subscript B is a bremsstrahlung identification, and E.sub.i is an energy identification of the ith spectral line.

    [0094] (3) fitting the fluence distribution of the bremsstrahlung photons in the direction of the momentum component to obtain a fluence distribution function of the bremsstrahlung photons in the direction of the momentum component.

    [0095] In a preferred embodiment, position coordinate parameters of the photons recorded in the phase space file B-PhSp are placed at a center point (0, 0, 0) of the target plane, wherein the target plane is set as the 0-reference plane.

    [0096] In view of different energies, the total photons on the X-ray target are divided into a plurality of energy groups, for example, divided into 20 energy groups. The two-dimensional distribution lateral profile of the bremsstrahlung photons generated by each energy group on the 0-reference plane according to (x, y) is shown as FIG. 4. It can be learned that, the energy spectrum of electron fluence at any point on the target plane is the same. Therefore, the energy spectrum and the angular distribution characteristics of the initial bremsstrahlung photons generated at any point on the target plane are the same. Therefore, the position coordinates of all bremsstrahlung photons generated on the target plane are attributed to the center of the target plane, which is equivalent to the number of the bremsstrahlung photons generated at the center point of the target after the electron beam is increased by n times without changing the energy spectrum and the angular distribution characteristics of the initial bremsstrahlung photons at the center point of the target plane, and is equivalent to the effect that all the electron beams led out of the exit window of the accelerator bombard the center of the target. In this way, the efficiency of recording the number of the photons on the target plane can be effectively enhanced, thereby enhancing the working efficiency.

    [0097] Therefore, the positions of all the bremsstrahlung photons generated on the target plane are placed to the center of the target plane to act as the fluence distribution of the bremsstrahlung photons at the center point of the target plane in a direction of a momentum component, and function fitting is performed, so that the photon probability distribution and function fitting of the bremsstrahlung photons in the direction of the momentum component are obtained. The probability distribution refers to the probability that the bremsstrahlung photons generated at the point are emitted in a certain direction. In this way, the photon probability distribution function of the bremsstrahlung photons generated at any point on the target plane in the direction of the momentum component is also the same.

    [0098] Therefore, the fluence distribution of the bremsstrahlung photons in the direction of the momentum component is acquired, and as shown in FIG. 4, the fitting function is shown as follows:

    [00016] N B , E i ( p x , p y ) = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ;

    [0099] wherein N.sub.B,E.sub.i′(p.sub.x,p.sub.y) represents the fluence distribution of the bremsstrahlung photons in the ith energy group generated in the center point of the target in the direction of the momentum component; σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are fluence distribution standard deviations of the photons of which energy is E.sub.i in the bremsstrahlung photons in the direction of the momentum component, a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.i.sub.,2 are coefficients of a function expression, which equal to the count of the bremsstrahlung photons emitted at an angle of 0 degree, a flight momentum direction of the bremsstrahlung photons is expressed by a projection value of a unit momentum on a three-dimensional rectangular coordinate system, that is, (p.sub.x, p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1.

    [0100] Wherein B represents the bremsstrahlung photons, E.sub.i represents the energy of the ith spectral line, m represents the momentum, that is, σ.sub.B,E.sub.i.sub.,m.sub.1 and σ.sub.B,E.sub.i.sub.,m.sub.2 are two standard deviations of momentum distribution.

    [0101] (4) obtaining a fluence probability distribution function according to the fluence distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component.

    [0102] Since angular fluence probabilities of the bremsstrahlung photons generated by all fluence points on the target plane are the same, the fluence distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component is fitted, to obtain the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component, which is shown as follows:

    [00017] P B , E i ( p x , p y ) = N B , E i ( p x , p y ) N B , E i ( p x , p y ) .Math. dp x dp y = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ;

    [0103] wherein a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of a fluence probability distribution function expression of the bremsstrahlung photons in the direction of the momentum component, which are obtained according to normalization calculation of a′.sub.E.sub.i.sub.,1 and a′.sub.E.sub.i.sub.,2.

    [0104] (5) obtaining the fluence distribution of the bremsstrahlung photons absorbed by the flattening filter in the direction of the momentum component according to a difference between the fluence distribution of the bremsstrahlung photons in the direction of the momentum component and the fluence distribution of the primary ray photons in the direction of the momentum component, and obtaining a fluence distribution function of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component through fitting.

    [0105] The photon position coordinates recorded in the phase space file B-PhSp of the bremsstrahlung photons and the phase space file of the primary ray photons are placed at the target center (0, 0, 0), to respectively obtain the fluence distribution of the bremsstrahlung photons in the direction of momentum component and the fluence distribution B-map (as shown in FIG. 4) and p-map of the primary ray photons in the direction of momentum component. A difference between the fluence distribution of the bremsstrahlung photons in the direction of the momentum component and the fluence distribution of the primary ray photons in the direction of the momentum component is the fluence distribution of the bremsstrahlung photons absorbed by the flattening filter in the direction of the momentum component, as shown in FIG. 5.

    [0106] Function fitting is performed on the fluence distribution of the bremsstrahlung photons absorbed by the flattening filter in the direction of the momentum component, to obtain the fluence distribution function of the bremsstrahlung photons absorbed by the flattening filter in the direction of momentum component, which is shown as follows:

    [00018] N ( f - absorbed ) , E i ( p x , p y ) = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ;

    [0107] wherein N.sub.(f-absorbed),E.sub.i′(p.sub.x, p.sub.y) represents fluence distribution of the bremsstrahlung photons absorbed by the flattening filter and with the energy of the ith spectral line in the direction of momentum component (p.sub.x,p.sub.y); σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1 and σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.2 are respectively standard deviations of the above two two-dimensional Gaussian functions; and b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2 are respectively coefficients of the above two Gaussian function expressions.

    [0108] (6) mathematically normalizing the total count of the bremsstrahlung photons with the energy of the ith spectral line at any fluence point, to obtain a fluence probability distribution function of the bremsstrahlung photons emitted from any fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, which is shown as follows:

    [00019] P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absorbed ) , E i ( p x , p y ) - m m N ( f - absorbed ) , E i ( p x , p y ) dp x dp y = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ;

    [0109] wherein P′.sub.(f-absorbed),E.sub.i(p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are respectively two coefficients of a probability distribution model function, and obtained through mathematical normalization calculation of b′.sub.E.sub.i.sub.,1 and b′.sub.E.sub.i.sub.,2.

    [0110] (7) constructing a primary ray photon source model function.

    [0111] It should be noted that, the fluence distribution function of the bremsstrahlung photons emitted by the target of the accelerator provides coordinate position information (x.sub.s, Y.sub.s, z.sub.s) and yield information N.sub.B (x.sub.s, y.sub.s) of photon emission points. A difference between the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component and the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component is the fluence probability of the primary ray photons emitted from the fluence point in the momentum component, which provides information (p.sub.x, p.sub.y, p.sub.z) about the momentum direction of the photons and the appearance probability of the photons.

    [0112] The fluence probability distribution function of the primary ray photons emitted by the fluence point on the target plane is obtained according to a difference between the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane in the momentum component and the fluence probability distribution function of the bremsstrahlung photons emitted from the fluence point on the target plane and absorbed by the flattening filter in the direction of momentum component, and by combining the fluence distribution function of the bremsstrahlung photons, the primary ray photon source model function is obtained, which is shown as follows:

    [00020] N E i ( x s , y s , p x , p y ) = N B , E i ( x s , y s ) * [ P B , E i ( p x , p y ) - P ( f - absorbed ) , E i ( p x , p y ) ] ; wherein : N B , E i ( x s , y s ) = N B , E i , 0 * e - x s 2 + y s 2 2 δ 2 = P B , E i * N B 0 * e - x s 2 + y s 2 2 δ 2 = P B , E i * N B ( x s , y s ) ; and P B , E i ( p x , p y ) = N B , E i ( p x , p y ) N B , E i ( p x , p y ) .Math. dp x dp y = a E i , 1 * e - p x 2 + p y 2 2 σ B , E i , m 1 2 + a E i , 2 * e - p x 2 + p y 2 2 σ B , E i , m 2 2 ; and P ( f - absorbed ) , E i , ( p x , p y ) ] = N ( f - absorbed ) , E i ( p x , p y ) - m m N ( f - absorbed ) , E i ( p x , p y ) dp x dp y = b E i , 1 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 1 2 + b E i , 2 * e - p x 2 + p y 2 2 σ ( f - absorbed ) , E i , m 2 2 ;

    [0113] wherein the primary ray photon source model is located on the 0-reference plane, the flight momentum direction of the primary ray photons is expressed by the projection value of the unit momentum on the three-dimensional rectangular coordinate system, that is, (p.sub.x, p.sub.y, p.sub.z), and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1, therefore, z.sub.s and p, are omitted.

    [0114] Each parameter in the above function expression is given in a process of fitting the function, and P′.sub.B,E.sub.i(p.sub.x,p.sub.y) represents the fluence probability distribution of the bremsstrahlung photons in the momentum component; P′.sub.(f-absorbed),E.sub.i(p.sub.x,p.sub.y) is the probability of the bremsstrahlung photons absorbed by the flattening filter; a.sub.E.sub.i.sub.,1 and a.sub.E.sub.i.sub.,2 are coefficients of the fluence probability distribution function of the bremsstrahlung photons in the momentum component, and σ.sub.B,E.sub.i.sub.,m1 and σ.sub.B,E.sub.i.sub.,m2 are the distribution standard deviations of the fluence probability distribution function of the bremsstrahlung photons in the momentum component; and b.sub.E.sub.i.sub.,1 and b.sub.E.sub.i.sub.,2 are coefficients of the fluence probability function of the bremsstrahlung photons in the momentum component, σ.sub.(f-absorbed),E.sub.i.sub.,m1 and σ.sub.(f-absorbed),E.sub.i.sub.,m1 are standard deviations of the probability function of the bremsstrahlung photons absorbed by the flattening filter, and (f-absorbed) is an identification indicating being absorbed by the flattening filter.

    [0115] It should be noted that, the primary ray photon source model in the therapeutic ray beam of the medical linear accelerator is a function related to the photon information parameters x.sub.s, y.sub.s, z.sub.s, p.sub.x,p.sub.y, p.sub.z and E.sub.i. A standard deviation a of the fluence distribution of the bremsstrahlung photons generated on the target plane is known. Parameters σ.sub.B,E.sub.i.sub.,m.sub.1, σ.sub.B,E.sub.i.sub.,m.sub.2, σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.1, and σ.sub.(f-absorbed),E.sub.i.sub.,m.sub.2 in the model function are given in the fitting function. Since the position height of the target plane of the accelerator is a known fixed value. Therefore, the writing of z.sub.s can be omitted. In addition, a flight movement direction of the photons is expressed by using the rectangular coordinate system, a direction of the coordinate system is parallel to a coordinate system of the target, the photons use a projection (p.sub.x, p.sub.y, p.sub.z) of unit momentum direction in three coordinate directions to express a direction of the photons, and p.sub.x.sup.2+p.sub.y.sup.2+p.sub.z.sup.2=1 means that an emission direction of the photons is parallel to a central axis (vertical to a treatment plane) of the ray beam. p.sub.z=0 means that the emission direction of the photons is horizontal emission on the 0-reference plane. In this way, the writing of p.sub.z may also be omitted.

    [0116] For the primary ray photons in the therapeutic photon beam of the accelerator, a definitional domain of x.sub.s, y.sub.s meets: x.sub.s.sup.2+y.sub.s.sup.2≤(θ/2).sup.2, that is, the geometry size of a photon source. The emission points of the primary ray photons described in the model are on the source.

    [0117] Second part: constructing the scattered photon source model function

    [0118] A complete scattered ray photon source model function includes two constituent parts, that is, a fluence distribution function of the scattered photons on the 0-reference plane and a photon fluence probability distribution function of the scattered photons emitted from a certain fluence point, which jointly construct the scattered photon source model function.

    [0119] The method specifically includes the following steps.

    [0120] (1) fitting the fluence distribution of the scattered photons on the 0-reference plane to obtain the fluence distribution function of the scattered photons.

    [0121] It should be noted that, a distribution area of the scattered photons recorded in the phase space file s-PhSp of the scattered photons is discretized to form a pixel grid. The fluence distribution of the scattered photons on the 0-reference plane is acquired in a unit of the pixel grid. Fitting is performed on the fluence distribution of the scattered photons by using a double gaussian function polynomial to obtain a fluence distribution function of the scattered photons, which is shown as follows:

    [00021] N scatter , E i ( x s , y s ) = a i * e - x s 2 + y s 2 2 σ s , E i , 1 2 + b i * e - x s 2 + y s 2 2 σ s , E i , 2 2 ;

    [0122] wherein (x.sub.s, y.sub.s) is position coordinates of any point on the 0-reference plane, N.sub.scatter,E.sub.i(x.sub.s, y.sub.s) represents the number of the scattered photons at the fluence point (x.sub.s, Y.sub.s), a.sub.i and b.sub.i are coefficients of a fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; σ.sub.s,E.sub.i.sub.,1 and σ.sub.s,E.sub.i.sub.,2 are distribution standard deviations of the fitting function of the fluence distribution of the scattered photons of which energy is E.sub.i; and s in a parameter subscript represents a scattered ray identification.

    [0123] (2) obtaining an average fluence probability distribution function of the scattered photons in the momentum component according to the fluence distribution function of the scattered photons emitted from each fluence point on the target plane in the momentum component.

    [0124] Since the fluence probability distribution of the scattered photons at each fluence point on the 0-reference plane in the direction of the momentum component is slightly anisotropic, in the embodiments of the disclosure, an average of the fluence probability distribution of a plurality of fluence points is used as the representative of the fluence probability of the scattered photons of each fluence point in the direction of the momentum component, and such an approximate method does not affect the accuracy and precision of the model.

    [0125] Therefore, the fitting function of the fluence distribution of the scattered photons emitted from each fluence point on the target plane in the momentum component is shown as follows:

    [00022] N scatter , E i ( p x , p y ) = { a i * e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i * e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i * ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2

    [0126] wherein parameters a′.sub.i, b′.sub.i, c′.sub.i and d′.sub.i are coefficients of the fitting function of the fluence distribution in the momentum component; and σ.sub.s,E.sub.i.sub.,m.sub.1.sup.2 and σ.sub.s,E.sub.i.sub.,m.sub.2.sup.2 are standard deviations of the fitting function of the fluence distribution in the momentum component. In a subscript of each parameter, i represents an identification of an energy group of the ith spectral line.

    [0127] Then, an average fluence probability distribution function of the scattered photons in the momentum component is obtained according to the fluence distribution function of the scattered photons in the momentum component, which is shown as follows:

    [00023] P scatter , E i ( p x , p y ) = { a i * e - p x 2 + p y 2 2 σ s , E i , m 1 2 + b i * e - p x 2 + p y 2 2 σ s , E i , m 2 2 ; function variable domain : p x 2 + p y 2 > r 2 c i * ( p x 2 + p y 2 ) + d i ; function variable domain : p x 2 + p y 2 r 2

    [0128] wherein a function domain r is given by using the following mathematical method:

    [00024] a i * e - r 2 2 σ s , E i , m 1 2 + b i * e - r 2 2 σ s , E i , m 2 2 = c i * r 2 + d i ;

    [0129] the parameters a.sub.i, b.sub.i, c.sub.i, d.sub.i, σσ.sub.s,E.sub.i.sub.,m1 and σ.sub.s,E.sub.i.sub.,m2 in the average fluence probability distribution function of the scattered photons in the momentum component are given by a fitting process, wherein a.sub.i, b.sub.i, c.sub.i and d.sub.i are coefficients of the function, σ.sub.s,E.sub.i.sub.,m1 and σ.sub.s,E.sub.i.sub.,m2 are distribution standard deviations distributed along the momentum, these parameters are closely related to energy, and are able to be fitted to the energy to respectively form a relationship function between each parameter and the energy. The lowercase letter in the parameter subscript is the scattered photon identification, and the other subscripts have the same meaning as above.

    [0130] (3) constructing the scattered photon source model function according to the fluence distribution function of the scattered photons and the average fluence probability distribution function of the scattered photons emitted by all fluence points on the plane on which the target is located in the momentum component is shown as follows:


    N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s,p.sub.x,p.sub.y,p.sub.z,E.sub.i)=N.sub.scatter,E.sub.i(x.sub.s,y.sub.s,z.sub.s)*P′.sub.scatter,E.sub.i(p.sub.x,p.sub.y,p.sub.z).

    [0131] The above fluence distribution function of the scattered photons provides initial coordinates (x.sub.s, y.sub.s, z.sub.s) of the photons in a scattered photon source and the count N.sub.scatter(X.sub.s,y.sub.s) of the scattered photons of the fluence point. The fluence probability distribution function of the scattered photons in the momentum component provides momentum direction information (p.sub.x, p.sub.y, p.sub.z) and probability of the scattered photons emitted from the fluence point.

    [0132] The embodiments of the disclosure are described in detail above. Detailed examples are used in this description to describe the principles and implementations of the disclosure. The description of the above embodiments is merely used to facilitate understanding of the core idea of the disclosure. In addition, for those of ordinary skill in the art, according to the idea of the disclosure, there will be changes in the specific implementations and the scope of application. In summary, the content of this description should not be construed as a limitation of the disclosure.