@@ -118,7 +118,7 @@ def set_band_params_for_one_detector(
118118
119119def fill_tod_with_hwp_harmonics (
120120 hwp : NonIdealHWP ,
121- observation : Observation | list [ Observation ] ,
121+ observation : Observation ,
122122 tod : np .ndarray ,
123123 maps : (
124124 HealpixMap
@@ -165,20 +165,14 @@ def fill_tod_with_hwp_harmonics(
165165 on the fly (generated by :func:`lbs.get_pointings` per
166166 detector), or read from ``observations.pointing_matrix``
167167 (if present).
168- If ``observations`` is not a list, ``pointings`` must be a
169- np.array of shape ``(N_det, N_samples, 3)``. If ``observations``
170- is a list, ``pointings`` must be a list of same length.
168+ ``pointings`` must be a np.array of shape ``(N_det, N_samples, 3)``.
171169
172170 hwp_angle (optional) : `2ωt`, hwp rotation angles
173171 (radians). If ``pointings`` is passed, ``hwp_angle``
174172 must be passed as well, otherwise both must be
175173 ``None``. If not passed, it is computed on the fly
176174 (generated by :func:`lbs.get_pointings` per detector).
177- If ``observations`` is not a list, ``hwp_angle`` must
178- be a np.array of dimensions (N_samples).
179-
180- If ``observations`` is a list, ``hwp_angle`` must be a
181- list with the same length.
175+ ``hwp_angle`` must be a np.array of dimensions (N_samples).
182176
183177 save_tod (bool) : if True, ``obs.tod`` is saved in
184178 ``observations.tod`` and locally as a .npy file;
0 commit comments