Searched refs:np_outweight (Results 1 – 2 of 2) sorted by relevance
/dports/astro/astrometry/astrometry.net-0.85/util/ |
H A D | util.i | 743 PyArrayObject *np_img=NULL, *np_weight=NULL, *np_outimg=NULL, *np_outweight=NULL; in lanczos_shift_image_c() local 775 … np_outweight = (PyArrayObject*)PyArray_CheckFromAny(py_outweight, dtype, 2, 2, reqout, NULL); in lanczos_shift_image_c() 781 ((py_outweight != Py_None) && !np_outweight)) { in lanczos_shift_image_c() 783 np_img, np_outimg, np_outweight); in lanczos_shift_image_c() 803 if (np_outweight) { in lanczos_shift_image_c() 804 if ((PyArray_DIM(np_outweight, 0) != H) || in lanczos_shift_image_c() 805 (PyArray_DIM(np_outweight, 1) != W)) { in lanczos_shift_image_c() 809 outweight = PyArray_DATA(np_outweight); in lanczos_shift_image_c()
|
H A D | util_wrap.c | 3681 PyArrayObject *np_img=NULL, *np_weight=NULL, *np_outimg=NULL, *np_outweight=NULL; in lanczos_shift_image_c() local 3713 … np_outweight = (PyArrayObject*)PyArray_CheckFromAny(py_outweight, dtype, 2, 2, reqout, NULL); in lanczos_shift_image_c() 3719 ((py_outweight != Py_None) && !np_outweight)) { in lanczos_shift_image_c() 3721 np_img, np_outimg, np_outweight); in lanczos_shift_image_c() 3741 if (np_outweight) { in lanczos_shift_image_c() 3742 if ((PyArray_DIM(np_outweight, 0) != H) || in lanczos_shift_image_c() 3743 (PyArray_DIM(np_outweight, 1) != W)) { in lanczos_shift_image_c() 3747 outweight = PyArray_DATA(np_outweight); in lanczos_shift_image_c()
|