File tree Expand file tree Collapse file tree 7 files changed +20
-10
lines changed Expand file tree Collapse file tree 7 files changed +20
-10
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1717
1818class sweeping_phase (Operator ):
1919 r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
20- given angle (in 3) of a unit (in 4).
20+ given angle (in 3) of a unit (in 4). The resulting field is computed as
21+ field_out = real_field\ ``*``\ cos(angle) -
22+ imaginary_field\ ``*``\ sin(angle).
2123
2224
2325 Parameters
@@ -102,7 +104,9 @@ def __init__(
102104 @staticmethod
103105 def _spec () -> Specification :
104106 description = r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
105- given angle (in 3) of a unit (in 4).
107+ given angle (in 3) of a unit (in 4). The resulting field is computed as
108+ field_out = real_field\ ``*``\ cos(angle) -
109+ imaginary_field\ ``*``\ sin(angle).
106110"""
107111 spec = Specification (
108112 description = description ,
Original file line number Diff line number Diff line change 1717
1818class sweeping_phase_fc (Operator ):
1919 r"""Shifts the phase of all the corresponding real and imaginary fields of a
20- fields container for a given angle (in 2) of a unit (in 4).
20+ fields container for a given angle (in 2) of a unit (in 4). An output
21+ field is computed for each pair of real and imaginary fields in the
22+ input fields_container as field_out = real_field\ ``*``\ cos(angle) -
23+ imaginary_field\ ``*``\ sin(angle).
2124
2225
2326 Parameters
@@ -85,7 +88,10 @@ def __init__(
8588 @staticmethod
8689 def _spec () -> Specification :
8790 description = r"""Shifts the phase of all the corresponding real and imaginary fields of a
88- fields container for a given angle (in 2) of a unit (in 4).
91+ fields container for a given angle (in 2) of a unit (in 4). An output
92+ field is computed for each pair of real and imaginary fields in the
93+ input fields_container as field_out = real_field\ ``*``\ cos(angle) -
94+ imaginary_field\ ``*``\ sin(angle).
8995"""
9096 spec = Specification (
9197 description = description ,
You can’t perform that action at this time.
0 commit comments