Skip to content

Commit

Permalink
warning of elekta symmetry calculation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkerns committed Sep 4, 2024
1 parent 1a92451 commit 5412b3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/field_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,16 @@ Symmetry is calculated over the specified field width (e.g. 80%) as set in by ``
Symmetry can be positive or negative. A negative value means the right side is higher.
A positive value means the left side is higher.

.. danger::

The official formula is above but due to a bug in pylinac, the actual result returned
is missing the 100 multiplication factor. For backwards compatibility, this is being
left as-is for now, but may change in a future version. Workarounds include:

* Multiplying the result by 100.
* Use the newer :ref:`field-profile-analysis` module which has the correct formula for
the :ref:`point difference quotient <point-difference-quotient>`.

.. _siemens_protocol:

Siemens
Expand Down
2 changes: 2 additions & 0 deletions docs/source/topics/profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ Example usage:
.. [#] `Gao et al Eqn 1 <https://aapm.onlinelibrary.wiley.com/doi/epdf/10.1002/acm2.12315>`__
.. [#] Doselab and SNC call this the "CAX point difference" however Doselab does not multiply by 100. Yet, at least in the case of Doselab, the example assumes the values are ~100. In Pylinac, we often assume values are ~1. In such a scenario, the resulting value is the same.
.. _point-difference-quotient:

Symmetry (Point Difference Quotient)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 5412b3f

Please sign in to comment.