Skip to content

volume fractions similar to STRIPSTAR #17

Answered by marcoalopez
DVangelis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, sorry it took me so long to reply. I had missed this. Saltykov's method does not return the fraction per class directly, however, you have the following options:

  • 1st option: Use the text_file option, e.g. Saltykov(diameters, text_file='foo.csv'). This will save a table in CSV format in which one of the columns is the accumulated volumes per class. If you subtract the cumulative of the smaller classes for each row, you will get what you are looking for.
  • 2nd option: Once you have obtained the midpoints of the classes and the frequencies with the Saltykov function you can do:
mid_points, frequencies = stereology.Saltykov(diameters, return_data=True)

# Calculate the volume for each bin
b…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by marcoalopez
Comment options

You must be logged in to vote
1 reply
@marcoalopez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants