Skip to content

Commit

Permalink
Add in previously forgotten references to pydocs to ImageStack bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Sep 25, 2023
1 parent c38b9fb commit 7fcc259
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/kbmod/search/image_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,23 @@ namespace search {
py::class_<is>(m, "ImageStack", pydocs::DOC_ImageStack)
.def(py::init<std::vector<std::string>, std::vector<pf>>())
.def(py::init<std::vector<li>>())
.def("get_images", &is::get_images)
.def("get_single_image", &is::get_single_image)
.def("set_single_image", &is::set_single_image)
.def("get_times", &is::get_times)
.def("set_times", &is::set_times)
.def("img_count", &is::img_count)
.def("apply_mask_flags", &is::apply_mask_flags)
.def("apply_mask_threshold", &is::apply_mask_threshold)
.def("apply_global_mask", &is::apply_global_mask)
.def("grow_mask", &is::grow_mask)
.def("save_global_mask", &is::save_global_mask)
.def("save_images", &is::save_images)
.def("get_global_mask", &is::get_global_mask)
.def("convolve_psf", &is::convolve_psf)
.def("get_width", &is::get_width)
.def("get_height", &is::get_height)
.def("get_npixels", &is::get_npixels);
.def("get_images", &is::get_images, pydocs::DOC_ImageStack_get_images)
.def("get_single_image", &is::get_single_image, pydocs::DOC_ImageStack_get_single_image)
.def("set_single_image", &is::set_single_image, pydocs::DOC_ImageStack_set_single_image)
.def("get_times", &is::get_times, pydocs::DOC_ImageStack_get_times)
.def("set_times", &is::set_times, pydocs::DOC_ImageStack_set_times )
.def("img_count", &is::img_count, pydocs::DOC_ImageStack_img_count)
.def("apply_mask_flags", &is::apply_mask_flags, pydocs::DOC_ImageStack_apply_mask_flags)
.def("apply_mask_threshold", &is::apply_mask_threshold, pydocs::DOC_ImageStack_apply_mask_threshold)
.def("apply_global_mask", &is::apply_global_mask, pydocs::DOC_ImageStack_apply_global_mask)
.def("grow_mask", &is::grow_mask, pydocs::DOC_ImageStack_grow_mask)
.def("save_global_mask", &is::save_global_mask, pydocs::DOC_ImageStack_save_global_mask)
.def("save_images", &is::save_images, pydocs::DOC_ImageStack_save_images)
.def("get_global_mask", &is::get_global_mask, pydocs::DOC_ImageStack_get_global_mask)
.def("convolve_psf", &is::convolve_psf, pydocs::DOC_ImageStack_convolve_psf)
.def("get_width", &is::get_width, pydocs::DOC_ImageStack_get_width)
.def("get_height", &is::get_height, pydocs::DOC_ImageStack_get_height)
.def("get_npixels", &is::get_npixels, pydocs::DOC_ImageStack_get_npixels);
}
#endif /* Py_PYTHON_H */
} /* namespace search */

0 comments on commit 7fcc259

Please sign in to comment.