Home
last modified time | relevance | path

Searched refs:histogram2d (Results 1 – 25 of 104) sorted by relevance

12345

/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dhistogram2d.h17 struct histogram2d { struct
25 typedef struct histogram2d histogram2d; typedef
27 histogram2d* histogram2d_new_nbins(double minX, double maxX, int NbinsX,
30 void histogram2d_set_x_edges(histogram2d* h, int edgepolicy);
31 void histogram2d_set_y_edges(histogram2d* h, int edgepolicy);
33 void histogram2d_free(histogram2d* h);
35 int histogram2d_add(histogram2d* h, double x, double y);
H A Dhistogram2d.c15 static histogram2d* hist_new(int nx, int ny) { in hist_new()
16 histogram2d* h = calloc(1, sizeof(histogram2d)); in hist_new()
33 histogram2d* histogram2d_new_nbins(double minX, double maxX, int NbinsX, in histogram2d_new_nbins()
37 histogram2d* h = hist_new(NbinsX, NbinsY); in histogram2d_new_nbins()
52 void histogram2d_free(histogram2d* h) { in histogram2d_free()
57 int histogram2d_add(histogram2d* h, double x, double y) { in histogram2d_add()
82 void histogram2d_set_x_edges(histogram2d* h, int edgepolicy) { in histogram2d_set_x_edges()
86 void histogram2d_set_y_edges(histogram2d* h, int edgepolicy) { in histogram2d_set_y_edges()
H A Dindex-stats.py61 (H,xe,ye) = histogram2d(dra, ddec, bins=(200,200))
111 (H,xe,ye) = histogram2d(ra, dec, bins=(100,100), range=rng)
152 (H,xe,ye) = histogram2d(cx, cy, bins=(100,100))
162 (H,xe,ye) = histogram2d(append(cx, dx), append(cy, dy), bins=(100,100))
172 (H,xe,ye) = histogram2d(cx, dx, bins=(100,100))
184 (H,xe,ye) = histogram2d(append(xx, 1.0-xx), append(yy, 1.0-yy), bins=(100,100))
208 … (H,xe,ye) = histogram2d(a2, a1, bins=(100,100), range=[[-0.3,1.3],[-0.3,1.3]])
H A Dindex-mag-range.py61 H,xe,ye = np.histogram2d(mn, mx, bins=50)
81 H,xe,ye = np.histogram2d(mn, mx-mn, bins=50)
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/util/
H A Dhistogram2d.h17 struct histogram2d { struct
25 typedef struct histogram2d histogram2d; typedef
27 histogram2d* histogram2d_new_nbins(double minX, double maxX, int NbinsX,
30 void histogram2d_set_x_edges(histogram2d* h, int edgepolicy);
31 void histogram2d_set_y_edges(histogram2d* h, int edgepolicy);
33 void histogram2d_free(histogram2d* h);
35 int histogram2d_add(histogram2d* h, double x, double y);
H A Dhistogram2d.c15 static histogram2d* hist_new(int nx, int ny) { in hist_new()
16 histogram2d* h = calloc(1, sizeof(histogram2d)); in hist_new()
33 histogram2d* histogram2d_new_nbins(double minX, double maxX, int NbinsX, in histogram2d_new_nbins()
37 histogram2d* h = hist_new(NbinsX, NbinsY); in histogram2d_new_nbins()
52 void histogram2d_free(histogram2d* h) { in histogram2d_free()
57 int histogram2d_add(histogram2d* h, double x, double y) { in histogram2d_add()
82 void histogram2d_set_x_edges(histogram2d* h, int edgepolicy) { in histogram2d_set_x_edges()
86 void histogram2d_set_y_edges(histogram2d* h, int edgepolicy) { in histogram2d_set_y_edges()
/dports/math/py-numpy/numpy-1.20.3/numpy/lib/tests/
H A Dtest_twodim_base.py189 H = histogram2d(x, y, (xedges, yedges))[0]
201 H = histogram2d(x, y, xedges)[0]
211 H, xed, yed = histogram2d(
227 H, xed, yed = histogram2d(
254 H, xe, ye = histogram2d(x, y, (edges, 4))
268 H, xe, ye = histogram2d(x, y, (4, edges))
285 r = histogram2d(s_d, xy)
288 r = histogram2d(xy, s_d)
290 r = histogram2d(xy, xy, bins=s_d)
292 r = histogram2d(xy, xy, bins=[s_d, 5])
[all …]
/dports/math/py-pygsl/pygsl-2.3.0/tests/
H A Dhistogram_test.py190 hist=pygsl.histogram.histogram2d(100,100)
195 hist2=pygsl.histogram.histogram2d(hist)
204 hist=pygsl.histogram.histogram2d(100,200)
216 hist=pygsl.histogram.histogram2d(100,100)
234 hist=pygsl.histogram.histogram2d(100,100)
257 hist=pygsl.histogram.histogram2d(100,100)
285 hist=pygsl.histogram.histogram2d(50,100)
298 hist1=pygsl.histogram.histogram2d(100,10)
299 hist2=pygsl.histogram.histogram2d(100,10)
314 hist=pygsl.histogram.histogram2d(100,10)
[all …]
/dports/misc/py-fast-histogram/fast-histogram-0.10/fast_histogram/tests/
H A Dtest_histogram.py10 from ..histogram import histogram1d, histogram2d, histogramdd
104 reference = np.histogram2d(x, y, bins=(nx, ny), weights=w,
120 fast = histogram2d(x, y, bins=(nx, ny), weights=w,
213 result_1d = histogram2d(x, y, bins=(10, 10), range=[(0, 1), (0, 1)])
214 result_3d = histogram2d(x.reshape((10, 10, 10)), y.reshape((10, 10, 10)),
310 result_1 = histogram2d(x, y, bins=(10, 10), range=[(0, 1), (0, 1)])
311 result_2 = histogram2d(x.copy(), y.copy(), bins=(10, 10),
316 result_1 = histogram2d(x, y, bins=(10, 10), range=[(0, 1), (0, 1)], weights=w)
317 result_2 = histogram2d(x.copy(), y.copy(), bins=(10, 10),
345 histogram2d([1, 2, 3], [1, 2 ,3], bins=[edges, edges],
[all …]
/dports/graphics/py-mpl-scatter-density/mpl-scatter-density-0.7/mpl_scatter_density/
H A Dfixed_data_density_helper.py5 from fast_histogram import histogram2d
116 array = histogram2d(y, x, bins=bins,
119 array = histogram2d(y, x, bins=bins, weights=weights,
121 count = histogram2d(y, x, bins=bins,
/dports/misc/py-fast-histogram/fast-histogram-0.10/fast_histogram.egg-info/
H A DPKG-INFO30 that is **20-25x faster** than ``numpy.histogram2d``.
41 ``histogram1d`` and ``histogram2d``:
45 from fast_histogram import histogram1d, histogram2d
61 In [4]: %timeit _ = np.histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
64 In [5]: from fast_histogram import histogram2d
66 In [6]: %timeit _ = histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
110 numpy.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
116 fast_histogram.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
/dports/misc/py-fast-histogram/fast-histogram-0.10/
H A DPKG-INFO30 that is **20-25x faster** than ``numpy.histogram2d``.
41 ``histogram1d`` and ``histogram2d``:
45 from fast_histogram import histogram1d, histogram2d
61 In [4]: %timeit _ = np.histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
64 In [5]: from fast_histogram import histogram2d
66 In [6]: %timeit _ = histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
110 numpy.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
116 fast_histogram.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
H A DREADME.rst17 that is **20-25x faster** than ``numpy.histogram2d``.
28 ``histogram1d`` and ``histogram2d``:
32 from fast_histogram import histogram1d, histogram2d
48 In [4]: %timeit _ = np.histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
51 In [5]: from fast_histogram import histogram2d
53 In [6]: %timeit _ = histogram2d(x, y, range=[[-1, 2], [-2, 4]], bins=30)
97 numpy.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
103 fast_histogram.histogram2d(x, y, range=[[xmin, xmax], [ymin, ymax]], bins=[nx, ny])
/dports/math/p5-Math-GSL/Math-GSL-0.43/t/
H A DHistogram2D.t20 unlink 'histogram2d' if -f 'histogram2d';
123 my $stream = gsl_fopen("histogram2d", 'w');
130 $stream = gsl_fopen("histogram2d", 'r');
276 my $stream = gsl_fopen("histogram2d", 'w');
283 $stream = gsl_fopen("histogram2d", 'r');
/dports/math/py-pygsl/pygsl-2.3.0/doc/ref-obsolete/
H A Dhistogram.tex4 This chapter is about the \class{histogram} and \class{histogram2d} type that
125 \section{\protect\class{histogram2d} --- 2-dimensional histograms}
127 \begin{classdesc}{histogram2d}{\texttt{long} size x, \texttt{long} size y
128 \code{|} \class{histogram2d} h}
227 \begin{methoddesc}{add}{\class{histogram2d} h}
230 \begin{methoddesc}{sub}{\class{histogram2d} h}
233 \begin{methoddesc}{mul}{\class{histogram2d} h}
236 \begin{methoddesc}{div}{\class{histogram2d} h}
240 returns a copy instance of \hfill\class{histogram2d}
242 \begin{methoddesc}{copy}{\class{histogram2d} h}
/dports/graphics/py-plotly/plotly-4.14.3/plotly/graph_objs/layout/template/
H A D_data.py455 def histogram2d(self): member in Data
471 @histogram2d.setter
472 def histogram2d(self, val): member in Data
1312 histogram2d=None, argument
1599 _v = histogram2d if histogram2d is not None else _v
/dports/math/gsl/gsl-2.7/doc/examples/
H A DMakefile.am3 …itting fitting2 fitting3 fitreg fitreg2 gaussfilt gaussfilt2 histogram histogram2d ieee ieeeround …
5 …2.c fitting3.c fitreg.c fitreg2.c gaussfilt.c gaussfilt2.c histogram.c histogram2d.c ieee.c ieeero…
7 …xt filt_edge.txt fitting2.txt fitting.txt gaussfilt.txt gaussfilt2.txt histogram2d.txt ieeeround.t…
/dports/misc/mxnet/incubator-mxnet-1.9.0/python/mxnet/numpy/
H A Dfallback.py131 histogram2d = onp.histogram2d variable
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/python/mxnet/numpy/
H A Dfallback.py131 histogram2d = onp.histogram2d variable
/dports/science/py-paida/paida-3.2.1_2.10.1/paida/paida_core/
H A DITreeElementTree.py250 self.histogram2d._annotation = self.annotation
254 histogram = self.histogram2d
584 histogram2d = _histogram2dHandler(element.find('histogram2d')).histogram2d
586 cloud2d._histogram = histogram2d
588 cloud2d._sumOfWeights = histogram2d.sumAllBinHeights()
589 cloud2d._lowerEdges[0] = histogram2d.xAxis().lowerEdge()
590 cloud2d._lowerEdges[1] = histogram2d.yAxis().lowerEdge()
591 cloud2d._upperEdges[0] = histogram2d.xAxis().upperEdge()
592 cloud2d._upperEdges[1] = histogram2d.yAxis().upperEdge()
596 …cloud2d._sumOfInertials[0] = (histogram2d.rmsX()*histogram2d.rmsX() + histogram2d.meanX()*histogra…
[all …]
H A DITreeOld.py93 self.histogram2d = _handler_histogram2d(self)
94 self.setHandler(self.histogram2d)
95 self.histogram2d.startElement(name, attributes)
165 tree.cd(self.histogram2d.path, update = False)
166 tree._mkObject(self.histogram2d.name, self.histogram2d.histogram2d, update = True, block = False)
583 histogram = self.parent.parent.histogram2d
1219 self.setHandler(self.histogram2d)
1237 histogram2d = self.histogram2d.histogram2d
1239 cloud2d._histogram = histogram2d
1250 cloud2d._sumOfInertials[0] = (histogram2d.rmsX()**2 + histogram2d.meanX()**2) * sumOfWeights
[all …]
/dports/astro/gnuastro/gnuastro-0.16/bin/statistics/
H A Dui.c405 if( p->asciihist || p->asciicfp || p->histogram || p->histogram2d in ui_read_check_only_options()
517 if( (p->histogram || p->histogram2d || p->cumulative || !isnan(p->mirror)) in ui_read_check_only_options()
522 if( p->histogram2d ) in ui_read_check_only_options()
528 if( strcmp(p->histogram2d,"table") && strcmp(p->histogram2d,"image") ) in ui_read_check_only_options()
1003 if(p->histogram2d==0 && p->input->next!=NULL) in ui_preparations()
/dports/math/py-numpy/numpy-1.20.3/doc/source/reference/
H A Droutines.statistics.rst56 histogram2d
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/mplot3d/
H A Dhist3d.py19 hist, xedges, yedges = np.histogram2d(x, y, bins=4, range=[[0, 4], [0, 4]])
/dports/math/py-matplotlib2/matplotlib-2.2.4/examples/mplot3d/
H A Dhist3d.py20 hist, xedges, yedges = np.histogram2d(x, y, bins=4, range=[[0, 4], [0, 4]])

12345