1 """Compiled routines for sampled data.
2
3 Copyright 2008-2011 Research Foundation State University of New York
4 This file is part of QUB Express.
5
6 QUB Express is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 QUB Express is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License,
17 named LICENSE.txt, in the QUB Express program directory. If not, see
18 <http://www.gnu.org/licenses/>.
19
20 """
21 from qubx.fast.fast_utils import *
22
23 qubfast.qub_dotmap_create.argtypes = (c_int, c_float_p, c_float_p)
24 qubfast.qub_dotmap_create.restype = c_void_p
25 qubfast.qub_dotmap_free.argtypes = (c_void_p,)
26 qubfast.qub_dotmap_free.restype = None
27 qubfast.qub_dotmap_reset.argtypes = (c_void_p,)
28 qubfast.qub_dotmap_reset.restype = None
29 qubfast.qub_dotmap_find.argtypes = (c_void_p, c_float, c_float, c_float)
30 qubfast.qub_dotmap_find.restype = c_int
31 qubfast.qub_dotmap_in_rect.argtypes = (c_void_p, c_float, c_float, c_float, c_float, c_int_p)
32 qubfast.qub_dotmap_in_rect.restype = c_int
33
47 - def find(self, x, y, rad):
53