/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/filters/rank/ |
H A D | _percentile.py | 38 image, footprint, out, mask, n_bins = _preprocess_input( 43 out=out, n_bins=n_bins, p0=p0, p1=p1)
|
/dports/emulators/qemu-utils/qemu-4.2.1/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu42/qemu-4.2.1/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu5/qemu-5.2.0/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu/qemu-6.2.0/tests/unit/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/unit/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/tests/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/emulators/qemu60/qemu-6.0.0/tests/unit/ |
H A D | test-qdist.c | 54 size_t n, size_t n_bins) in histogram_check() argument 56 char *pr = qdist_pr_plain(dist, n_bins); in histogram_check() 64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full() argument 68 histogram_check(dist, &desc, 1, n_bins); in histogram_check_single_full()
|
/dports/math/py-spvcm/spvcm-0.3.0/spvcm/ |
H A D | diagnostics.py | 257 drop_frac=.1, hold_frac=.5, n_bins=50, argument 306 stats = [_geweke_vector(datum, drop_frac, hold_frac, n_bins=n_bins, 318 drop_frac=.1, hold_frac=.5, n_bins=50, argument 321 stats = trace.map(_geweke_vector, drop=drop_frac, hold=hold_frac, n_bins=n_bins, 325 def _geweke_vector(data, drop, hold, n_bins, **kw): argument 330 to_drop = _np.linspace(0, in_play, num=n_bins).astype(int)
|
/dports/math/xtensor/xtensor-0.24.0/include/xtensor/ |
H A D | xhistogram.hpp | 62 size_t n_bins = bin_edges.size() - 1; in histogram_imp() local 63 xt::xtensor<value_type, 1> count = xt::zeros<value_type>({ n_bins }); in histogram_imp() 77 … auto i_bin = static_cast<size_t>(static_cast<double>(n_bins) * (v - left) * norm); in histogram_imp() 82 count(n_bins - 1) += weights(i); in histogram_imp() 101 if (item > bin_edges[n_bins]) in histogram_imp() 106 while (item >= bin_edges[ibin + 1] && ibin < n_bins - 1) in histogram_imp()
|
/dports/math/py-yt/yt-4.0.1/yt/visualization/tests/ |
H A D | test_profile_plots.py | 136 p2d = create_profile(reg, [x_field, y_field], z_field, n_bins=[16, 16]) 167 sphere, [("index", "radius")], fields=[("gas", "density")], n_bins=32 172 sphere, [("index", "radius")], fields=[("gas", "density")], n_bins=64 180 n_bins=64,
|
/dports/math/py-yt/yt-4.0.1/yt/data_objects/tests/ |
H A D | test_profiles.py | 65 n_bins=nb, 75 n_bins=nb, 270 n_bins=128, 281 n_bins=128, 673 n_bins=32, 705 n_bins=32,
|
H A D | test_spheres.py | 66 n_bins=8, 77 n_bins=8,
|
/dports/graphics/darktable38/darktable-3.8.0/src/iop/ |
H A D | ashift_lsd.c | 809 if( n_bins == 0 ) error("ll_angle: 'n_bins' must be positive."); in ll_angle() 824 range_l_s = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 826 range_l_e = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 830 for(i=0;i<n_bins;i++) range_l_s[i] = range_l_e[i] = NULL; in ll_angle() 882 i = (unsigned int) (norm * (double) n_bins / max_grad); in ll_angle() 883 if( i >= n_bins ) i = n_bins-1; in ll_angle() 901 for(i=n_bins-1; i>0 && range_l_s[i]==NULL; i--); in ll_angle() 2084 int n_bins, in LineSegmentDetection() argument 2112 if( n_bins <= 0 ) error("'n_bins' value must be positive."); in LineSegmentDetection() 2127 &modgrad, (unsigned int) n_bins ); in LineSegmentDetection() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/LSD/ |
H A D | lsd.c | 776 if( n_bins == 0 ) error("ll_angle: 'n_bins' must be positive."); in ll_angle() 791 range_l_s = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 793 range_l_e = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 797 for(i=0;i<n_bins;i++) range_l_s[i] = range_l_e[i] = NULL; in ll_angle() 849 i = (unsigned int) (norm * (double) n_bins / max_grad); in ll_angle() 850 if( i >= n_bins ) i = n_bins-1; in ll_angle() 868 for(i=n_bins-1; i>0 && range_l_s[i]==NULL; i--); in ll_angle() 2029 int n_bins, in LineSegmentDetection() argument 2057 if( n_bins <= 0 ) error("'n_bins' value must be positive."); in LineSegmentDetection() 2072 &modgrad, (unsigned int) n_bins ); in LineSegmentDetection() [all …]
|
/dports/graphics/darktable/darktable-3.6.1/src/iop/ |
H A D | ashift_lsd.c | 809 if( n_bins == 0 ) error("ll_angle: 'n_bins' must be positive."); in ll_angle() 824 range_l_s = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 826 range_l_e = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 830 for(i=0;i<n_bins;i++) range_l_s[i] = range_l_e[i] = NULL; in ll_angle() 882 i = (unsigned int) (norm * (double) n_bins / max_grad); in ll_angle() 883 if( i >= n_bins ) i = n_bins-1; in ll_angle() 901 for(i=n_bins-1; i>0 && range_l_s[i]==NULL; i--); in ll_angle() 2084 int n_bins, in LineSegmentDetection() argument 2112 if( n_bins <= 0 ) error("'n_bins' value must be positive."); in LineSegmentDetection() 2127 &modgrad, (unsigned int) n_bins ); in LineSegmentDetection() [all …]
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | ashift_lsd.c | 820 if( n_bins == 0 ) error("ll_angle: 'n_bins' must be positive."); in ll_angle() 835 range_l_s = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 837 range_l_e = (struct coorlist **) calloc( (size_t) n_bins, in ll_angle() 841 for(i=0;i<n_bins;i++) range_l_s[i] = range_l_e[i] = NULL; in ll_angle() 893 i = (unsigned int) (norm * (double) n_bins / max_grad); in ll_angle() 894 if( i >= n_bins ) i = n_bins-1; in ll_angle() 912 for(i=n_bins-1; i>0 && range_l_s[i]==NULL; i--); in ll_angle() 2095 int n_bins, in LineSegmentDetection() argument 2123 if( n_bins <= 0 ) error("'n_bins' value must be positive."); in LineSegmentDetection() 2138 &modgrad, (unsigned int) n_bins ); in LineSegmentDetection() [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/color/ |
H A D | custom_cmap.py | 87 n_bins = [3, 6, 10, 100] # Discretizes the interpolation into bins variable 91 for n_bin, ax in zip(n_bins, axs.ravel()):
|
/dports/math/libmesh/libmesh-1.6.2/include/parallel/ |
H A D | parallel_histogram.h | 88 IdxType n_bins () const; 134 IdxType Histogram<KeyType,IdxType>::n_bins () const in n_bins() function
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/ensemble/_hist_gradient_boosting/tests/ |
H A D | test_monotonic_contraints.py | 291 n_bins = n_samples = 5 301 X_binned, n_bins, all_gradients, all_hessians, hessians_are_constant, n_threads 303 n_bins_non_missing = np.array([n_bins - 1] * X_binned.shape[1], dtype=np.uint32) 309 missing_values_bin_idx = n_bins - 1
|
H A D | test_compare_lightgbm.py | 58 X = _BinMapper(n_bins=max_bins + 1).fit_transform(X).astype(np.float32) 122 X = _BinMapper(n_bins=max_bins + 1).fit_transform(X).astype(np.float32) 196 X = _BinMapper(n_bins=max_bins + 1).fit_transform(X).astype(np.float32)
|
/dports/science/py-OpenMC/openmc-0.12.2/include/openmc/ |
H A D | mesh.h | 104 virtual int n_bins() const = 0; 146 int n_bins() const override; 381 int n_bins() const override; 531 int n_bins() const override;
|
/dports/science/openmc/openmc-0.12.2/include/openmc/ |
H A D | mesh.h | 104 virtual int n_bins() const = 0; 146 int n_bins() const override; 381 int n_bins() const override; 531 int n_bins() const override;
|