Skip to content

Commit 2d5803f

Browse files
committed
Fix more typos from recent rebase
1 parent cd27c3b commit 2d5803f

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src/array_ops.cxx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace py = pybind11;
3939
// * iD[nbin,ndet] the inverse uncorrelated variance for each detector per bin
4040
// * iV[nbin,ndet,nvec] matrix representing the scaled eivenvectors per bin
4141
// * dct_binning(bool) If true, does not apply double `bins`. This works wth Discrete Cosine Transform.
42-
void nmat_detvecs_apply(const py::object & ft, const py::object & bins, const ;py::object & iD, const py::object & iV, float s, float norm, bool dct_binning = false) {
42+
void nmat_detvecs_apply(const py::object & ft, const py::object & bins, const py::object & iD, const py::object & iV, float s, float norm, bool dct_binning = false) {
4343
// Should pass in this too
4444
BufferWrapper<float> ft_buf ("ft", ft, false, std::vector<int>{-1,-1});
4545
BufferWrapper<int32_t> bins_buf("bins", bins, false, std::vector<int>{-1, 2});
@@ -1272,7 +1272,15 @@ void detrend(py::object & tod, const std::string & method, const int linear_ncou
12721272

12731273

12741274
void register_array_ops(py::module_ & m) {
1275-
m.def("nmat_detvecs_apply", &nmat_detvecs_apply, py::arg("dct_binning") = false);
1275+
m.def("nmat_detvecs_apply", &nmat_detvecs_apply,
1276+
py::arg("ft"),
1277+
py::arg("bins"),
1278+
py::arg("iD"),
1279+
py::arg("iV"),
1280+
py::arg("s"),
1281+
py::arg("norm"),
1282+
py::arg("dct_binning") = false
1283+
);
12761284
m.def("process_cuts", &process_cuts);
12771285
m.def("translate_cuts", &translate_cuts);
12781286
m.def("get_gap_fill_poly", &get_gap_fill_poly<float>,

0 commit comments

Comments
 (0)