Patent Number: 
Section: claims

1. A method comprising performing, by a computer system:obtaining a cost function that outputs a quality score, the quality score depending on a position of a static field, wherein the static field is defined in a radiation treatment template that includes an arc field, wherein the arc field is configured to provide radiation to a target area of a patient via movement of a gantry of a radiation treatment system along an arc field pathway, and wherein the static field is configured to provide radiation to the target area while the gantry is stationary;optimizing the position of the static field by changing the position of the static field and identifying an optimal position having an optimal quality score; andgenerating a radiation treatment plan using the arc field with the arc field pathway and the static field having the optimal position, the radiation treatment plan including specifications for providing radiation with the radiation treatment system to the patient over time, along the arc field pathway and at the optimal position. 2. The method of claim 1, wherein obtaining a cost function includes:determining a dose distribution based on an initial position of the static field as defined in the radiation treatment template, the dose distribution including different doses associated with different locations inside the patient;determining a dose gradient based on the dose distribution, the dose gradient indicating, for each location of the different locations, a direction of change for the position of the static field that causes the greatest increase in dose at the location; anddetermining one or more quality index functions associated with one or more volumes based on the dose gradient, each quality index function indicating a direction of change for the position of the static field that causes the greatest increase in a mean dose at the associated volume, wherein the cost function includes the one or more quality index functions. 3. The method of claim 1, wherein the quality score is improved when a mean dose for the target area is increased and when a mean dose for a healthy organ of the patient is decreased. 4. The method of claim 3, wherein the cost function includes a first term associated with the mean dose for the target area, the first term including a minimum mean dose value, and wherein the cost function includes a second term associated with the mean dose for the healthy organ, the second term including a maximum mean dose value. 5. The method of claim 4, wherein the quality score is penalized according to a first penalization amount when the mean dose for the target area is less than the minimum mean dose value, the first penalization amount increasing as the mean dose for the target area is reduced, and wherein the quality score is penalized according to a second penalization amount when the mean dose for the healthy organ exceeds the maximum mean dose value, the second penalization amount increasing as the mean dose for the healthy organ increases. 6. The method of claim 1, wherein changing the position of the static field includes:constraining the position of the static field to be located within a predefined distance of an initial position of the static field, the initial position being defined in the radiation treatment template. 7. A computer system comprising:a memory storing instructions; andone or more processors configured to execute the instructions, wherein when executed, the instructions cause the one or more processors to:obtain a cost function that outputs a quality score, the quality score depending on a position of a static field, wherein the static field is defined in a radiation treatment template that includes an arc field, wherein the arc field is configured to provide radiation to a target area of a patient via movement of a gantry of a radiation treatment system along an arc field pathway, and wherein the static field is configured to provide radiation to the target area while the gantry is stationary;optimize the position of the static field by changing the position of the static field and identifying an optimal position having an optimal quality score; andgenerate a radiation treatment plan using the arc field with the arc field pathway and the static field having the optimal position, the radiation treatment plan including specifications for providing radiation with the radiation treatment system to the patient over time, along the arc field pathway and at the optimal position. 8. The computer system of claim 7, wherein to obtain the cost function, the one or more processors are configured to:determine a dose distribution based on an initial position of the static field as defined in the radiation treatment template, the dose distribution including different doses associated with different locations inside the patient;determine a dose gradient based on the dose distribution, the dose gradient indicating, for each location of the different locations, a direction of change for the position of the static field that causes the greatest increase in dose at the location; anddetermine one or more quality index functions associated with one or more volumes based on the dose gradient, each quality index function indicating a direction of change for the position of the static field that causes the greatest increase in a mean dose at the associated volume, wherein the cost function includes the one or more quality index functions. 9. The computer system of claim 7, wherein the quality score is improved when a mean dose for the target area is increased and when a mean dose for a healthy organ of the patient is decreased. 10. The computer system of claim 9, wherein the cost function includes a first term associated with the mean dose for the target area, the first term including a minimum mean dose value, and wherein the cost function includes a second term associated with the mean dose for the healthy organ, the second term including a maximum mean dose value. 11. The computer system of claim 10, wherein the quality score is penalized according to a first penalization amount when the mean dose for the target area is less than the minimum mean dose value, the first penalization amount increasing as the mean dose for the target area is reduced, and wherein the quality score is penalized according to a second penalization amount when the mean dose for the healthy organ exceeds the maximum mean dose value, the second penalization amount increasing as the mean dose for the healthy organ increases. 12. The computer system of claim 7, wherein the instructions, when executed, further cause the one or more processors to:control the gantry of the radiation treatment system according to the radiation treatment plan. 13. The computer system of claim 7, wherein changing the position of the static field includes:constraining the position of the static field to be located within a predefined distance of an initial position of the static field, the initial position being defined in the radiation treatment template. 14. The computer system of claim 7, wherein identifying the optimal position having the optimal quality score includes:generating quality scores by evaluating the cost function using a model of the patient, wherein the model of the patient is based on one or more images of the patient. 15. A non-transitory computer readable storage medium storing program code executable by a computer system, the program code configured to cause the computer system to perform the steps of:obtaining a cost function that outputs a quality score, the quality score depending on a position of a static field, wherein the static field is defined in a radiation treatment template that includes an arc field, wherein the arc field is configured to provide radiation to a target area of a patient via movement of a gantry of a radiation treatment system along an arc field pathway, and wherein the static field is configured to provide radiation to the target area while the gantry is stationary;optimizing the position of the static field by changing the position of the static field and identifying an optimal position having an optimal quality score; andgenerating a radiation treatment plan using the arc field with the arc field pathway and the static field having the optimal position, the radiation treatment plan including specifications for providing radiation with the radiation treatment system to the patient over time, along the arc field pathway and at the optimal position. 16. The non-transitory computer readable storage medium of claim 15, wherein obtaining a cost function includes:determining a dose distribution based on an initial position of the static field as defined in the radiation treatment template, the dose distribution including different doses associated with different locations inside the patient;determining a dose gradient based on the dose distribution, the dose gradient indicating, for each location of the different locations, a direction of change for the position of the static field that causes the greatest increase in dose at the location; anddetermining one or more quality index functions associated with one or more volumes based on the dose gradient, each quality index function indicating a direction of change for the position of the static field that causes the greatest increase in a mean dose at the associated volume, wherein the cost function includes the one or more quality index functions. 17. The non-transitory computer readable storage medium of claim 15, wherein the quality score is improved when a mean dose for the target area is increased and when a mean dose for a healthy organ of the patient is decreased. 18. The non-transitory computer readable storage medium of claim 17, wherein the cost function includes a first term associated with the mean dose for the target area, the first term including a minimum mean dose value, and wherein the cost function includes a second term associated with the mean dose for the healthy organ, the second term including a maximum mean dose value. 19. The non-transitory computer readable storage medium of claim 18, wherein the quality score is penalized according to a first penalization amount when the mean dose for the target area is less than the minimum mean dose value, the first penalization amount increasing as the mean dose for the target area is reduced, and wherein the quality score is penalized according to a second penalization amount when the mean dose for the healthy organ exceeds the maximum mean dose value, the second penalization amount increasing as the mean dose for the healthy organ increases. 20. The non-transitory computer readable storage medium of claim 15, wherein identifying the optimal position having the optimal quality score includes:generating quality scores by evaluating the cost function using a model of the patient, wherein the model of the patient is based on one or more images of the patient.