Skip to content

Commit ab4e179

Browse files
authored
Fix two harmless warnings (#587)
1 parent e6c588f commit ab4e179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/toast/ops/sim_tod_atm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def _exec(self, data, detectors=None, **kwargs):
320320
observe_atm = ObserveAtmosphere(
321321
times=self.times,
322322
det_data=self.det_data,
323-
quats=self.detector_pointing.quats,
323+
quats_azel=self.detector_pointing.quats,
324324
view=temporary_view,
325325
shared_flags=shared_flags,
326326
shared_flag_mask=shared_flag_mask,

src/toast/templates/offset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _initialize(self, new_data):
207207
# based on the noise weight of the detector and the number of flagged samples.
208208

209209
# Boolean flags
210-
self._amp_flags = np.zeros(self._n_local, dtype=np.bool)
210+
self._amp_flags = np.zeros(self._n_local, dtype=bool)
211211

212212
# Here we track the variance of the offsets based on the detector noise weights
213213
# and the number of unflagged / good samples per offset.

0 commit comments

Comments
 (0)