# How to get the number of bins in pyradiomics?

**URL:** <https://discourse.slicer.org/t/how-to-get-the-number-of-bins-in-pyradiomics/25783>\
**Category:** Radiomics\
**Tags:** python, pyradiomics\
**Created:** [October 19, 2022, 9:18pm UTC](https://discourse.slicer.org/t/how-to-get-the-number-of-bins-in-pyradiomics/25783 "2022-10-19T21:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martha](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Martha](https://discourse.slicer.org/u/Martha)\
**Post date:** [October 19, 2022, 9:18pm UTC](https://discourse.slicer.org/t/how-to-get-the-number-of-bins-in-pyradiomics/25783/1 "2022-10-19T21:18:42Z")

</div>

Hello, I‘m using pyradiomics and a constant binwith of default 25. How can I get the number of resulting bins?  
Thank you for your help.
