Published January 22, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.02784

kalepy: a Python package for kernel density estimation, sampling and plotting

Authors/Creators

Files

joss.02784.pdf

Files (26.8 MB)

Name Size Download all
md5:51bb610bf4a2bb4e19de3ca11478a4ba
334.5 kB Preview Download
md5:f5a045d748a4432906b39ea2248e3971
26.4 MB Preview Download

Additional details

Dates

Issued
January 22, 2021

References

  1. Kelley, L. Z. (2021). kalepy: a python package for kernel density estimation and sampling (Version v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.4456130
  2. Epanechnikov, V. A. (1969). Non-Parametric Estimation of a Multivariate Probability Density. Theory of Probability & Its Applications, 14(1), 153–158. https://doi.org/10.1137/1114019
  3. Parzen, E. (1962). On Estimation of a Probability Density Function and Mode. The Annals of Mathematical Statistics, 33(3), 1065–1076. https://doi.org/10.1214/aoms/1177704472
  4. Rosenblatt, M. (1956). Remarks on Some Nonparametric Estimates of a Density Function. The Annals of Mathematical Statistics, 27(3), 832–837. https://doi.org/10.1214/aoms/1177728190
  5. SILVERMAN, B. W. (1978). Choosing the window width when estimating a density. Biometrika, 65(1), 1–11. https://doi.org/10.1093/biomet/65.1.1
  6. SCOTT, D. W. (1979). On optimal and data-based histograms. Biometrika, 66(3), 605–610. https://doi.org/10.1093/biomet/66.3.605
  7. Multivariate density estimation: theory, practice, and visualization, Scott, David W, 2015, John Wiley & Sons
  8. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  9. Waskom, M., Gelbart, M., Botvinnik, O., Ostblom, J., Hobson, P., Lukauskas, S., Gemperline, D. C., Augspurger, T., Halchenko, Y., Warmenhoven, J., Cole, J. B., Hoeven, E. T., De Ruiter, J., Vanderplas, J., Hoyer, S., Pye, C., Miles, A., Swain, C., Meyer, K., … Williams, M. L. (2023). mwaskom/seaborn: v0.13.0 (September 2023) (Version v0.13.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.592845
  10. Odland, T. (2018). tommyod/KDEpy: Kernel Density Estimation in Python (Version v0.9.10) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.2392268
  11. Hunter, J. D. (2007). Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering, 9(3), 90–95. https://doi.org/10.1109/mcse.2007.55
  12. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  13. Kluyver, Thomas and Ragan-Kelley, Benjamin and Pérez, Fernando and Granger, Brian and Bussonnier, Matthias and Frederic, Jonathan and Kelley, Kyle and Hamrick, Jessica and Grout, Jason and Corlay, Sylvain and Ivanov, Paul and Avila, Damián and Abdalla, Safia and Willing, Carol, Positioning and Power in Academic Publishing: Players, Agents and Agendas, Loizides, F. and Schmidt, B., IOS Press, 87 - 90, Jupyter Notebooks – a publishing format for reproducible computational workflows, 2016
  14. Kelley, Luke Zoltan, Considerations for the Observability of Kinematically Offset Binary AGN, arXiv e-prints, Astrophysics - High Energy Astrophysical Phenomena, Astrophysics - Astrophysics of Galaxies, 2020, may, arXiv:2005.10255, arXiv:2005.10255, arXiv, 2005.10255, astro-ph.HE, https://ui.adsabs.harvard.edu/abs/2020arXiv200510255K, Provided by the SAO/NASA Astrophysics Data System, 5
  15. Siwek, M. S., Kelley, L. Z., & Hernquist, L. (2020). The effect of differential accretion on the gravitational wave background and the present-day MBH binary population. Monthly Notices of the Royal Astronomical Society, 498(1), 537–547. https://doi.org/10.1093/mnras/staa2361
  16. Andrews, J. J. (2020). Mass Ratios of Merging Double Neutron Stars as Implied by the Milky Way Population. The Astrophysical Journal Letters, 900(2), L41. https://doi.org/10.3847/2041-8213/abb1bf
  17. Foreman-Mackey, D. (2016). corner.py: Scatterplot matrices in Python. The Journal of Open Source Software, 1(2), 24. https://doi.org/10.21105/joss.00024
  18. Lewis, Antony, GetDist: a Python package for analysing Monte Carlo samples, 2019, 1910.13970, arXiv, astro-ph.IM, %%CITATION = ARXIV:1910.13970;%%, https://getdist.readthedocs.io

Citations

  1. Aaij, R., Abdelmotteleb, A. S. W., Abellan Beteta, C., Abudinén, F., Ackernley, T., Adefisoye, A. A., Adeva, B., Adinolfi, M., Adlarson, P., Agapopoulou, C., Aidala, C. A., Ajaltouni, Z., Akar, S., Akiba, K., Albicocco, P., Albrecht, J., Aleksiejunas, R., Alessio, F., Alvarez Cartelle, P., … Collaboration, L. (2026). Measurement of the branching fractions and longitudinal polarizations of B ( s ) 0 → K * 0 K ¯ * 0 decays. Physical Review D, 113(9), Article 092002. https://doi.org/10.1103/cd57-xr8f
  2. https://doi.org/10.3847/1538-3881/ae76cd
  3. Matt, C., Gültekin, K., Kelley, L. Z., Blecha, L., Simon, J., Agazie, G., Anumarlapudi, A., Archibald, A. M., Arzoumanian, Z., Baier, J. G., Baker, P. T., Bécsy, B., Brazier, A., Brook, P. R., Burke-Spolaor, S., Burnette, R., Case, R., Casey-Clyde, J. A., Charisi, M., … Young, O. (2026). Inferring M BH – M bulge Evolution from the Gravitational-wave Background. The Astrophysical Journal, 997(2), 188. https://doi.org/10.3847/1538-4357/ae2480
  4. van Willigen, B. G., van Osta, N., van der Hout-van der Jagt, M. B., van de Vosse, F. N., & Huberts, W. (2025). A virtual population cohort approach for fetal cardiac valve modeling. Journal of Computational Science, 88, 102606. https://doi.org/10.1016/j.jocs.2025.102606
  5. Rutherford, N., Prescod-Weinstein, C., & Watts, A. (2025). Probing fermionic asymmetric dark matter cores using global neutron star properties. Physical Review D, 111(12), Article 123034. https://doi.org/10.1103/physrevd.111.123034
  6. Gardiner, E. C., Bécsy, B., Kelley, L. Z., & Cornish, N. J. (2025). Characterizing Continuous Gravitational Waves from Supermassive Black Hole Binaries in Realistic Pulsar Timing Array Data. The Astrophysical Journal, 988(2), 222. https://doi.org/10.3847/1538-4357/ade4c2
  7. Cella, K., Taylor, S. R., & Zoltan Kelley, L. (2024). Host galaxy demographics of individually detectable supermassive black-hole binaries with pulsar timing arrays. Classical and Quantum Gravity, 42(2), 025021. https://doi.org/10.1088/1361-6382/ad9131
  8. Hafen, Z., Sameer, Hummels, C., Charlton, J., Mandelker, N., Wijers, N., Bullock, J., Faerman, Y., Lehner, N., & Stern, J. (2024). The Halo21 absorption modelling challenge: lessons from ‘observing’ synthetic circumgalactic absorption spectra. Monthly Notices of the Royal Astronomical Society, 528(1), 39–60. https://doi.org/10.1093/mnras/stad3889
  9. Dhanush, S. R., Subramaniam, A., Nayak, P. K., & Subramanian, S. (2024). Spatiotemporal map of star clusters in the Magellanic Clouds using Gaia: synchronized peaks and radial shrinkage of cluster formation. Monthly Notices of the Royal Astronomical Society, 528(2), 2274–2298. https://doi.org/10.1093/mnras/stae096
  10. Gardiner, E. C., Kelley, L. Z., Lemke, A.-M., & Mitridate, A. (2024). Beyond the Background: Gravitational-wave Anisotropy and Continuous Waves from Supermassive Black Hole Binaries. The Astrophysical Journal, 965(2), 164. https://doi.org/10.3847/1538-4357/ad2be8
  11. Kuo, S.-W., Zhang, T., Esteller, R., & Grill, W. M. (2023). In Vivo Measurements Reveal that Both Low- and High-frequency Spinal Cord Stimulation Heterogeneously Modulate Superficial Dorsal Horn Neurons. Neuroscience, 520, 119–131. https://doi.org/10.1016/j.neuroscience.2023.04.010
  12. Yu, S., Bullock, J. S., Gurvich, A. B., Hafen, Z., Stern, J., Boylan-Kolchin, M., Faucher-Giguère, C.-A., Wetzel, A., Hopkins, P. F., & Moreno, J. (2023). Born this way: thin disc, thick disc, and isotropic spheroid formation in FIRE-2 Milky Way–mass galaxy simulations. Monthly Notices of the Royal Astronomical Society, 523(4), 6220–6238. https://doi.org/10.1093/mnras/stad1806
  13. De Renzis, V., Gerosa, D., Mould, M., Buscicchio, R., & Zanga, L. (2023). Parameter estimation of binary black holes in the endpoint of the up-down instability. Physical Review D, 108(2), Article 024024. https://doi.org/10.1103/physrevd.108.024024
  14. Mielke, D. M., Becker, D., & Walter, M. (2023). Path-Based Statistical Modeling of Multipath Components in Propagation Channels for Wireless Communications in Unmanned Aviation. 2023 Integrated Communication, Navigation and Surveillance Conference (ICNS), 1–8. https://doi.org/10.1109/icns58246.2023.10124256
  15. Götz, P., Tuna, C., Walther, A., & Habets, E. A. P. (2023). Online reverberation time and clarity estimation in dynamic acoustic conditions. The Journal of the Acoustical Society of America, 153(6), 3532–3542. https://doi.org/10.1121/10.0019804
  16. Kassie, B. A., & Tegenaw, G. S. (2023). Developing a patient flow visualization and prediction model using aggregated data for a healthcare network cluster in Southwest Ethiopia. PLOS Digital Health, 2(11), e0000376. https://doi.org/10.1371/journal.pdig.0000376
  17. Shiralilou, B., Raaiijmakers, G., Duboeuf, B., Nissanke, S., Foucart, F., Hinderer, T., & Williamson, A. R. (2023). Measuring the Hubble Constant with Dark Neutron Star–Black Hole Mergers. The Astrophysical Journal, 955(2), 149. https://doi.org/10.3847/1538-4357/acf3dc
  18. Agazie, G., Anumarlapudi, A., Archibald, A. M., Baker, P. T., Bécsy, B., Blecha, L., Bonilla, A., Brazier, A., Brook, P. R., Burke-Spolaor, S., Burnette, R., Case, R., Casey-Clyde, J. A., Charisi, M., Chatterjee, S., Chatziioannou, K., Cheeseboro, B. D., Chen, S., Cohen, T., … Collaboration, T. N. (2023). The NANOGrav 15 yr Data Set: Constraints on Supermassive Black Hole Binaries from the Gravitational-wave Background. The Astrophysical Journal Letters, 952(2), L37. https://doi.org/10.3847/2041-8213/ace18b
  19. Zhai, J., Miganakallu Narasimhamurthy, N., Naber, J., & Lee, S.-Y. (2023). Experimental and Numerical Study of Water Injection under Gasoline Direct Injection Engine Relevant Conditions. SAE Technical Paper Series, 1, Article 2023-01-0313. https://doi.org/10.4271/2023-01-0313
  20. Zhang, X., Wang, J., & Strager, M. P. (2022). Industrial Development and Economic Impacts of Forest Biomass for Bioenergy: A Data-Driven Holistic Analysis Framework. Resources, Conservation and Recycling, 182, 106296. https://doi.org/10.1016/j.resconrec.2022.106296
  21. Boersma, O. M., & van Leeuwen, J. (2022). Investigating the detection rates and inference of gravitational-wave and radio emission from black hole neutron star mergers. Astronomy & Astrophysics, 664, A160. https://doi.org/10.1051/0004-6361/202243267
  22. Katz, M. L., Danielski, C., Karnesis, N., Korol, V., Tamanini, N., Cornish, N. J., & Littenberg, T. B. (2022). Bayesian characterization of circumbinary sub-stellar objects with LISA. Monthly Notices of the Royal Astronomical Society, 517(1), 697–711. https://doi.org/10.1093/mnras/stac2555
  23. Saptono, R., & Mine, T. (2022). Best Approximate Distribution-based Model for Helpful Vote of Customer Review Prediction. 2022 IEEE International Conference on Systems, Man, and Cybernetics (SMC), 3427–3434. https://doi.org/10.1109/smc53654.2022.9945190
  24. Bergner, J. B., Burkhardt, A. M., Öberg, K. I., Rice, T. S., & Bergin, E. A. (2022). First Images of Phosphorus Molecules toward a Protosolar Analog. The Astrophysical Journal, 927(1), 7. https://doi.org/10.3847/1538-4357/ac47a2
  25. Zhang, H., Cheng, L., Zhang, J., Huang, W., Liu, X., & Yu, J. (2021). Structural pixel-wise target attention for robust object tracking. Digital Signal Processing, 117, 103139. https://doi.org/10.1016/j.dsp.2021.103139

1–25 of 29