/dports/math/py-matplotlib2/matplotlib-2.2.4/examples/images_contours_and_fields/ |
H A D | custom_cmap.py | 86 n_bins = [3, 6, 10, 100] # Discretizes the interpolation into bins variable 90 for n_bin, ax in zip(n_bins, axs.ravel()):
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_examples/images_contours_and_fields/ |
H A D | custom_cmap.py | 86 n_bins = [3, 6, 10, 100] # Discretizes the interpolation into bins variable 90 for n_bin, ax in zip(n_bins, axs.ravel()):
|
/dports/graphics/gimp-app/gimp-2.10.30/app/operations/ |
H A D | gimplevelsconfig.c | 510 gint n_bins; in gimp_levels_config_stretch_channel() local 522 n_bins = gimp_histogram_n_bins (histogram); in gimp_levels_config_stretch_channel() 523 count = gimp_histogram_get_count (histogram, channel, 0, n_bins - 1); in gimp_levels_config_stretch_channel() 539 for (i = 0; i < (n_bins - 1); i++) in gimp_levels_config_stretch_channel() 550 config->low_input[channel] = (gdouble) (i + 1) / (n_bins - 1); in gimp_levels_config_stretch_channel() 558 for (i = (n_bins - 1); i > 0; i--) in gimp_levels_config_stretch_channel() 569 config->high_input[channel] = (gdouble) (i - 1) / (n_bins - 1); in gimp_levels_config_stretch_channel()
|
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/feature/ |
H A D | sift.py | 223 c_dog=0.04 / 3, c_edge=10, n_bins=36, lambda_ori=1.5, argument 235 self.n_bins = n_bins 464 hist = np.empty(self.n_bins, dtype=self.float_dtype) 493 bins = np.floor((theta / (2 * np.pi) * self.n_bins + 0.5) 494 % self.n_bins).astype(int) 516 * 2 * np.pi / self.n_bins)
|
/dports/cad/sumo/sumo-1.2.0/tools/contributed/sumopy/plugins/mapmatching/ |
H A D | results_mpl-01-mono.py | 788 bins = np.linspace(x_min, x_max, self.n_bins) 825 bins = np.linspace(x_min, x_max, self.n_bins) 862 bins = np.linspace(x_min, x_max, self.n_bins) 899 bins = np.linspace(x_min, x_max, self.n_bins) 936 bins = np.linspace(x_min, x_max, self.n_bins) 973 bins = np.linspace(x_min, x_max, self.n_bins) 1105 bins = np.linspace(x_min, x_max, self.n_bins) 1139 bins = np.linspace(x_min, x_max, self.n_bins) 1176 bins = np.linspace(0.0, 1.0, self.n_bins) 1208 bins = np.linspace(0.0, 1.0, self.n_bins) [all …]
|
H A D | results_mpl.py | 1109 bins = np.linspace(x_min, x_max, self.n_bins) 1147 bins = np.linspace(x_min, x_max, self.n_bins) 1184 bins = np.linspace(x_min, x_max, self.n_bins) 1221 bins = np.linspace(x_min, x_max, self.n_bins) 1258 bins = np.linspace(x_min, x_max, self.n_bins) 1295 bins = np.linspace(x_min, x_max, self.n_bins) 1428 bins = np.linspace(x_min, x_max, self.n_bins) 1475 bins = np.linspace(x_min, x_max, self.n_bins) 1548 bins = np.linspace(0.0, 1.0, self.n_bins) 1580 bins = np.linspace(0.0, 1.0, self.n_bins) [all …]
|
H A D | results_mpl-02-iddesaster.py | 1061 bins = np.linspace(x_min, x_max, self.n_bins) 1098 bins = np.linspace(x_min, x_max, self.n_bins) 1135 bins = np.linspace(x_min, x_max, self.n_bins) 1172 bins = np.linspace(x_min, x_max, self.n_bins) 1209 bins = np.linspace(x_min, x_max, self.n_bins) 1246 bins = np.linspace(x_min, x_max, self.n_bins) 1378 bins = np.linspace(x_min, x_max, self.n_bins) 1412 bins = np.linspace(x_min, x_max, self.n_bins) 1449 bins = np.linspace(0.0, 1.0, self.n_bins) 1481 bins = np.linspace(0.0, 1.0, self.n_bins) [all …]
|
/dports/math/py-yt/yt-4.0.1/yt/utilities/ |
H A D | cosmology.py | 466 n_bins = int((la_f - la_i) * bins_per_dex + 1) 467 la_bins = np.linspace(la_i, la_f, n_bins) 531 n_bins = int((la_f - la_i) * bins_per_dex + 1) 532 la_bins = np.linspace(la_i, la_f, n_bins)
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/stats/ |
H A D | power.py | 1075 def power(self, effect_size, nobs, alpha, n_bins, ddof=0):#alternative='two-sided'): argument 1102 return chisquare_power(effect_size, nobs, n_bins, alpha, ddof=0) 1106 power=None, n_bins=2): argument 1153 n_bins=n_bins,
|
/dports/science/py-OpenMC/openmc-0.12.2/src/ |
H A D | mesh.cpp | 277 int StructuredMesh::n_bins() const in n_bins() function in openmc::StructuredMesh 291 std::size_t m = this->n_bins(); in count_sites() 995 std::size_t m = this->n_bins(); in count_sites() 1897 if (idx >= n_bins()) { in get_bin_from_index() 1928 if (bin >= n_bins()) { in get_bin_from_ent_handle() 1937 if (bin >= n_bins()) { in get_ent_handle_from_bin() 1943 int MOABMesh::n_bins() const in n_bins() function in openmc::MOABMesh 2190 int LibMesh::n_bins() const in n_bins() function in openmc::LibMesh 2197 int n_bins = 0; in n_surface_bins() local 2200 n_bins += e.n_faces(); in n_surface_bins() [all …]
|
/dports/science/openmc/openmc-0.12.2/src/ |
H A D | mesh.cpp | 277 int StructuredMesh::n_bins() const in n_bins() function in openmc::StructuredMesh 291 std::size_t m = this->n_bins(); in count_sites() 995 std::size_t m = this->n_bins(); in count_sites() 1897 if (idx >= n_bins()) { in get_bin_from_index() 1928 if (bin >= n_bins()) { in get_bin_from_ent_handle() 1937 if (bin >= n_bins()) { in get_ent_handle_from_bin() 1943 int MOABMesh::n_bins() const in n_bins() function in openmc::MOABMesh 2190 int LibMesh::n_bins() const in n_bins() function in openmc::LibMesh 2197 int n_bins = 0; in n_surface_bins() local 2200 n_bins += e.n_faces(); in n_surface_bins() [all …]
|
/dports/misc/py-xgboost/xgboost-1.5.1/src/common/ |
H A D | quantile.cc | 26 auto n_bins = std::min(static_cast<size_t>(max_bins_), columns_size_[i]); in __anon444c51ab0102() local 27 n_bins = std::max(n_bins, static_cast<decltype(n_bins)>(1)); in __anon444c51ab0102() 28 auto eps = 1.0 / (static_cast<float>(n_bins) * WQSketch::kFactor); in __anon444c51ab0102()
|
/dports/misc/xgboost/xgboost-1.5.1/src/common/ |
H A D | quantile.cc | 26 auto n_bins = std::min(static_cast<size_t>(max_bins_), columns_size_[i]); in __anonefeeca950102() local 27 n_bins = std::max(n_bins, static_cast<decltype(n_bins)>(1)); in __anonefeeca950102() 28 auto eps = 1.0 / (static_cast<float>(n_bins) * WQSketch::kFactor); in __anonefeeca950102()
|
/dports/math/armadillo/armadillo-10.7.1/include/armadillo_bits/ |
H A D | op_hist_bones.hpp | 31 …inline static void apply_noalias(Mat<uword>& out, const Mat<eT>& A, const uword n_bins, const uwor…
|
/dports/math/R-cran-RcppArmadillo/RcppArmadillo/inst/include/armadillo_bits/ |
H A D | op_hist_bones.hpp | 31 …inline static void apply_noalias(Mat<uword>& out, const Mat<eT>& A, const uword n_bins, const uwor…
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/tests/ |
H A D | test_calibration.py | 393 prob_true, prob_pred = calibration_curve(y_true, y_pred, n_bins=2) 395 y_true, y_pred * 2, n_bins=2, normalize=True 413 y_true2, y_pred2, n_bins=2, strategy="quantile" 675 def test_calibration_display_compute(pyplot, iris_data_binary, n_bins, strategy): argument 684 lr, X, y, n_bins=n_bins, strategy=strategy, alpha=0.8 689 y, y_prob, n_bins=n_bins, strategy=strategy
|
/dports/graphics/gimp-app/gimp-2.10.30/app/pdb/ |
H A D | color-cmds.c | 640 gint n_bins; in histogram_invoker() local 654 n_bins = gimp_histogram_n_bins (histogram); in histogram_invoker() 656 if (n_bins != 256) in histogram_invoker() 658 start = ROUND ((gdouble) start * (n_bins - 1) / 255); in histogram_invoker() 659 end = ROUND ((gdouble) end * (n_bins - 1) / 255); in histogram_invoker() 668 pixels = gimp_histogram_get_count (histogram, channel, 0, n_bins - 1); in histogram_invoker() 675 if (n_bins == 256 || ! precision_enabled) in histogram_invoker()
|
/dports/science/py-OpenMC/openmc-0.12.2/tests/unit_tests/ |
H A D | test_deplete_fission_yields.py | 61 n_bins = 1 68 n_bins *= max(this_bins, 1) 69 data = np.empty((n_bins, n_nucs * n_scores))
|
/dports/science/openmc/openmc-0.12.2/tests/unit_tests/ |
H A D | test_deplete_fission_yields.py | 61 n_bins = 1 68 n_bins *= max(this_bins, 1) 69 data = np.empty((n_bins, n_nucs * n_scores))
|
/dports/graphics/colmap/colmap-3.6/lib/LSD/ |
H A D | lsd.h | 142 int n_bins,
|
/dports/math/unuran/unuran-1.8.1/src/distr/ |
H A D | cemp.h | 147 int unur_distr_cemp_set_hist_bins( UNUR_DISTR *distribution, const double *bins, int n_bins );
|
/dports/science/py-OpenMC/openmc-0.12.2/src/tallies/ |
H A D | tally_scoring.cpp | 73 for (auto i = 0; i < model::tally_filters[i_filt]->n_bins(); ++i) { 377 g_out = eo_filt.n_bins() - g_out - 1; in score_fission_eout() 434 for (auto d_bin = 0; d_bin < dg_filt.n_bins(); ++d_bin) { in score_fission_eout() 891 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 929 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 953 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1033 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1115 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1888 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_mg() 1919 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_mg() [all …]
|
/dports/science/openmc/openmc-0.12.2/src/tallies/ |
H A D | tally_scoring.cpp | 73 for (auto i = 0; i < model::tally_filters[i_filt]->n_bins(); ++i) { 377 g_out = eo_filt.n_bins() - g_out - 1; in score_fission_eout() 434 for (auto d_bin = 0; d_bin < dg_filt.n_bins(); ++d_bin) { in score_fission_eout() 891 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 929 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 953 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1033 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1115 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_ce() 1888 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_mg() 1919 for (auto d_bin = 0; d_bin < filt.n_bins(); ++d_bin) { in score_general_mg() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/src/ |
H A D | psrose.c | 590 sum = gmt_M_memory (GMT, NULL, n_bins, double); in GMT_psrose() 591 xx = gmt_M_memory (GMT, NULL, n_bins+2, double); in GMT_psrose() 592 yy = gmt_M_memory (GMT, NULL, n_bins+2, double); in GMT_psrose() 679 if (bin == n_bins) { in GMT_psrose() 682 assert (bin < n_bins); in GMT_psrose() 704 for (bin = 0; bin < n_bins; bin++) area += sum[bin]; in GMT_psrose() 952 for (bin = 0; bin < n_bins; bin++) { in GMT_psrose() 970 for (i = bin = 0; bin < n_bins; bin++, i++) { in GMT_psrose() 993 x2 = (sum[n_bins-1] * Ctrl->S.scale) * c; in GMT_psrose() 994 y2 = (sum[n_bins-1] * Ctrl->S.scale) * s; in GMT_psrose() [all …]
|
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Gui/Plugins/Engine/ |
H A D | VisualColorStyleChooser.h | 48 void insertColorOfRect(int bin, int n_bins, const ColorList& colors, QHash<int, QColor>& map);
|